Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

NSLookup appending parent suffixes in Active Directory

Posted on 2008-09-29
5
Medium Priority
?
4,483 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 2000 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
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 …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

688 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