Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

DNS Servers with sam name sapce

I have 2 domains with the same name:Mydomain.com but in 2 different locations: site1 and site2

there is no trust between the 2 domains, but there is network connectivity.
the Domain at site1 has some subdomains,ex: Sub.mydomain.com.

I wonder if  I can set up forwarder from DNS server at site2 to forward any request for any subdomain in site1 to the DNS server in site1????

Since the parent domain name in both sites is the same, I am not sure if a request from site2 to sub.mydomain.com in site1 will be forwarded to DNS in site1 or it will look just there in DNS of site2 inside the Mydomain.com and it doesn't find the subdomain name and will not resolve the name.


Thanks


Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image


You would have to create a conditional forwarder for each sub-domain.

Otherwise you could always create a delegation for each sub-domain at site 2.

It won't forward without you giving it explicit instructions on how though.

Chris
Avatar of jskfan

ASKER

Conditional forwarder is just clicking on New Button under forwarder tab and type the domain name in site1 and add its IP address?

Yep, that's right :)

Chris
Avatar of jskfan

ASKER

would that be the same if I need to forward to a DNS that has the same root domain name instead of sub domain name.

For instance if I have in one domain a DNS server with a zone MYDOMAIN.com and I have another domain with no trust and the DNS there has a zone MYDIMAIN.com too, I should be able to set up conditional forwarding too. correct?

Afraid not.

DNS will never forward requests for zones it's authoritative for because by giving it the zone you tell DNS that it knows everything about that domain.

There's no good way around that, you'd have to duplicate records from one domain into the other (and vice versa).

Chris
Avatar of jskfan

ASKER

so if I understand well:
IF my current DNS zone is MyDomain.com I can forward any request to a zone Sub.Mydomain.com that resides in a different DNS server which is in a Different domain with no trust with my current domai.

BUT

IF my current DNS zone is MyDomain.com I can  NOT forward any request to a zone Mydomain.com that resides in a different DNS server which is in a Different domain with no trust with my current domai.

CORRECT?
in addition if my current DNS has a zone Sub.Mydomain.com , I can't either forward request to the other DNS if that DNS has also a zone named Sub.Mydomain.com.  Correct?

ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

Excellent