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:
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
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