Solved

NSLookup appending parent suffixes in Active Directory

Posted on 2008-09-29
5
4,340 Views
Last Modified: 2011-09-20
In the past week we've noticed that all our NSLookups are appending the parents domain suffixes for example:
"NSLookup server.domain.net.nz" :- returns

Server: domaincontroller.domain.net.nz
Address: 10.x.x.x

Non-authoritative answer:
Name: server.domain.net.nz.net.nz
Address: 202.xx.xx.xx

The 202.xx.xx.xx.xx Address actually belongs to nz.net.nz, which is nothing to do with our company.

Now this has just started happening all the IT Admins swear they haven't changed anything and there have been no other known changes.  One of our IT Admins has an Active Directory Setup at home and he's also having the same problems.  We know we can apply a fix for this automatically via Group Policy and/or manually via TCP/IP (Advanced - DNS) Properties, by changing the "Append these DNS suffixes (in order)":.  But the question is why has it started happening all of a sudden and is it possible to change it, without going through Group Policy or TCP/IP Properties.

Cheers
0
Comment
Question by:matrixnz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:cheeselover73
ID: 22603750
A little dot at the and could help:

nslookup server.domain.net.nz.     <- end with dot
0
 
LVL 29

Author Comment

by:matrixnz
ID: 22603789
Hi cheeselover73

Thanks for the response, yes the period at the end also works, however my main objective is to figure out why all of sudden it changed, as no period was required previously.

Cheers
0
 
LVL 4

Expert Comment

by:cheeselover73
ID: 22612900
can you paste ipconfig /all
0
 
LVL 29

Author Comment

by:matrixnz
ID: 22613107
Windows IP Configuration
        Host Name . . . . . . . . . . . . : XXX-X-XXXXXX
        Primary Dns Suffix  . . . . . . . : domain.net.nz
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : domain.net.nz
                                            DOMAIN.NET.NZ
                                            net.nz
Ethernet adapter Local Area Connection:
        Connection-specific DNS Suffix  . : domain.net.nz
        Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
        Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 10.2.1.22
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . : 10.2.255.254
        DHCP Server . . . . . . . . . . . : 10.2.1.1
        DNS Servers . . . . . . . . . . . : 10.2.1.1
                                            10.1.1.1
        Primary WINS Server . . . . . . . : 10.1.1.1
        Lease Obtained. . . . . . . . . . : Tuesday, 30 September 2008 3:43:05 p.m.
        Lease Expires . . . . . . . . . . : Wednesday, 8 October 2008 3:43:05 p.m.
0
 
LVL 4

Accepted Solution

by:
cheeselover73 earned 500 total points
ID: 22613738
This could be explanation:

If you enable debug mode in nslookup ("set d2"), you will notice that nslookup always FIRST appends dns suffix. When you try "nslookup server.domain.net.nz", and the suffix is domain.net.nz, it will first check "server.domain.net.nz.domain.net.nz". If it does not resolve it (and in this case it probably doesn't), it will try with parent suffix net.nz: "server.domain.net.nz.net.nz". Only if it doesn't resolve this (and all subsequent parent suffixes, if any) it will try without suffix.
What happened probably is that DNS server admin of nz.net.nz domain has set his server to respond with default IP address if host is not found. You can check this by trying anything.anything.nz.net.nz, it should resolve as same ip address.
If you try "nslookup server.domain.net", without .nz, you will get correct result if domain net.net.nz does not exist...". Turn on debug mode and it should explain itself :)
And don't worry, when you surf the net, dns lookup does not go in that order, it will first check same as you typed so there will not be unnecessary traffic.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question