Solved

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

Posted on 2011-02-12
10
455 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 83

Accepted Solution

by:
oBdA earned 300 total points
ID: 34879748
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
ID: 34879838
How the suffix search work? It starts to seach in alphabetic order?
0
 
LVL 83

Expert Comment

by:oBdA
ID: 34879846
No, in the order in which you've specified it.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 1

Author Comment

by:SAM2009
ID: 34879925
Ok but if I never specify anything how it works?
0
 
LVL 83

Assisted Solution

by:oBdA
oBdA earned 300 total points
ID: 34880127
Then only the primary domain suffix will be searched.
To check the suffixes, open a command prompt and enter
ipconfig /all
0
 
LVL 1

Author Comment

by:SAM2009
ID: 34880340
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 83

Assisted Solution

by:oBdA
oBdA earned 300 total points
ID: 34880431
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
ID: 34885211
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
ID: 34885218
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
ID: 34903816
Thanks a lot for all your explanations!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JRNL_WRAP_ERROR issue in sysvol 20 30
moving away from .local domain 5 25
Additional DC vs Child Domain 12 17
Changing passwords 3 21
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
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 transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

776 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