Solved

If a server name is registered in 2 domains in DNS which one will answer first?

Posted on 2011-02-12
10
451 Views
Last Modified: 2012-05-11
If a server name is registered in 2 differnets domains in DNS which one will answer first if use nslookup or ping cmd?
0
Comment
Question by:SAM2009
  • 4
  • 4
  • 2
10 Comments
 
LVL 82

Accepted Solution

by:
oBdA earned 300 total points
Comment Utility
Unless you specify the FQDN in the query, it depends only on the primary DNS suffix and the order of the suffix search list on the client.
The primary domain suffix is used first, if the name can't be found there, the suffix search list is processed.
0
 
LVL 1

Author Comment

by:SAM2009
Comment Utility
How the suffix search work? It starts to seach in alphabetic order?
0
 
LVL 82

Expert Comment

by:oBdA
Comment Utility
No, in the order in which you've specified it.
0
 
LVL 1

Author Comment

by:SAM2009
Comment Utility
Ok but if I never specify anything how it works?
0
 
LVL 82

Assisted Solution

by:oBdA
oBdA earned 300 total points
Comment Utility
Then only the primary domain suffix will be searched.
To check the suffixes, open a command prompt and enter
ipconfig /all
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Comment

by:SAM2009
Comment Utility
I mean if in my ddns server I have for exemple:

The pc name I ping or send NSLOOKUP: PC1

In DNS server I have:

PC1.DOMAIN1.COM  A  192.168.1.100
PC1.DOMAIN2.CA     A  192.168.1.200

Which one will respond first?
0
 
LVL 82

Assisted Solution

by:oBdA
oBdA earned 300 total points
Comment Utility
Again: it depends only on the client's DNS configuration.
First the client's primary domain suffix will be attached to "pc1", and if that can't be found, then the DNS suffix search list will be processed.
0
 
LVL 12

Assisted Solution

by:Amit Bhatnagar
Amit Bhatnagar earned 200 total points
Comment Utility
Hi SAM2009,

oBdA is correct.

It depends on the Domain Suffix. Domain Suffix is derived from the Domain, the client machine is part of which means if your PC1 is part of Domain1.com then in the background, when you type PC1 on command prompt and ping it will automatically add Domain1.com and give you the result. it will NOT give you result from Domain2.ca.

Although, the same rule applies if the machine is part of Domain2.Ca then the response would contain information which is available in Domain2.Ca and not the other DNS Zone.

Also, if the machine is not a part of any Domain, then simply setting up DNS would not work. You specifically need to specify the DNS Suffix (Domain1.com or Domain2.CA) in the Client's TCP\IP properties under DNS tab.

You can manually add the DNS Suffix Search List and add One of the Domain from which you are looking for the response or else you can add both, and the machine will use the Search List in the Order they have been added.
0
 
LVL 12

Assisted Solution

by:Amit Bhatnagar
Amit Bhatnagar earned 200 total points
Comment Utility
You can use Suffix Search List for adding multiple Domains or the Second Option, Connection Specific DNS Suffix for a single Domain Name.
Capture.JPG
0
 
LVL 1

Author Closing Comment

by:SAM2009
Comment Utility
Thanks a lot for all your explanations!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now