Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed a small Linux server; the server is in a different subnet as the internet hosts. I added a route to my nat router to create a connection between both subnets. In both subnets I use an extra dhcp Server.

Subnet A:
Subnet B:

Router:, Server in A:, Server in B:

internet ____ nat router ___ (Sub A)___ internet hosts
                        |____(Sub B)___ other hosts

I could ping every host. Also the hosts which are connected to the subnet b, has internet connection.

But sadly I have a problem with the dns server. I use the dns server from my nat router, I set the dns Server for subnet b to the ip, but every dns entries are similar with the hostname from my linux server. I miss the correct hostname.

Example if the hostname from the server is servername

dns entry           ip-address      true hostname

servername    servername
servername-2    servername
servername-2-2     hosta       //PC a in subnet b
servername-2-2-2     hostb       //PC b in subnet b

Any idea what went wrong? The internet dns resolution works fine.

share|improve this question
Is subnet B a typo?, it doesn't fit in with subnet A –  Bryan Dec 3 '12 at 21:19
Oh. Yea it is, sorry. It is subnet b –  hofmeister Dec 3 '12 at 21:44
I can't figure out what exactly you are asking. I've read this a few times and I still have no idea what your actual problem is. –  David Schwartz Dec 4 '12 at 3:50
I edit my question a little bit. Now better? The main problem is, that the dns entry from the hosts from subnet b are not their own names, it is the name from the server with added "-2". Please see the table. If I do nslookup hosta i get no result. Greetz. –  hofmeister Dec 4 '12 at 5:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.