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 a Windows Server machine with DNS set up in the following way:

Zone: home.local
Domain: apache
    A  (same as parent)   192.168.2.4
    A   xml               192.168.2.4

I want to be able to connect to 'apache' and 'xml.apache', and be taken to the same address - however this isn't working. On both the server and another machine, I get the following:

> nslookup apache
Server: UnKnown
Address: 192.168.2.2

Server: apache.home.local
Address: 192.168.2.4


> nslookup xml.apache
Server: UnKnown
Address: 192.168.2.2

Server: apache.home.local
Address: 192.168.2.4

The only difference being the first result is localhost & loopback address on the dns server. Pings do this:

> ping apache
Reply from 192.168.2.4

> ping xml.apache
Could not find host.

> ping xml.apache.home.local
Reply from 192.168.2.4

I have tried /flushdns and net stop dnscache but neither worked. There is nothing untoward in my hosts file.

How can I get this working?

share|improve this question
add comment

1 Answer

AFAIK, you need to use the FQDN, which would be xml.apache.home.local.

share|improve this answer
    
To add, you could change your search suffix (or add a 2nd one) as "apache.home.local" if you want to ping "xml" but pinging "xml.apache" won't work. –  TheCleaner Sep 5 '13 at 21:07
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.