DNS Issue

Status
Not open for further replies.

JRod

Ars Tribunus Militum
1,582
Many moons ago, I inherited a poorly designed AD network...for years I haven't had any issues with it, but I suspect after recently upgrading AD from mixed 2003/2008 mode to 2008/2012R2 that I'm no longer 'getting away' with what I used to.

Lets say the AD DNS name is company.domain.com. I used to be able to resolve server1.company.domain.com to an internal IP address, say 192.168.0.2 and I still can as long as I just resolve it using the name server1. If I use the FQDN, it resolves to a server name outside our network. NSLookup will show the following:

Code:
Default Server:  dc2.company.domain.com
Address:  192.168.0.10

> server1.company.domain.com
Server:  dc2.company.domain.com
Address:  192.168.0.10

Non-authoritative answer:
Name:    server1.company.domain.com.domain.com
Address:  66.96.162.92


I know this is happening because of the use of forwarders/recursion, but I don't know how to prevent it from happening. If I can just set down *.domain.com to always resolve using an internal DNS query I'll be happy.

EDIT: Corrected part of a DNS name
 

JRod

Ars Tribunus Militum
1,582
I figured it out after rooting around for a while :facepalm: The real indicator happened when I couldn't replicate the issue in my lab environment.

One of the network adapters on each node in the cluster was configured to take its settings from DHCP, the firewall on the corresponding network was handing out public DNS server addresses, so when the names were failing to resolve using AD DNS servers, they were using the public DNS servers from the other network adapter. I've set them manually now, so DHCP isn't interfering and we're good to go. :facepalm: :facepalm: :facepalm: lol @ myself.
 
Status
Not open for further replies.