Windows Server - Internally managing only certain DNS records for a domain

Asked By Sam
16-Nov-09 01:39 PM
Hi,

This might be a bit of a strange one but I'd be really grateful if
someone was able to help me out on it...

We are hosting a sub-domain for another company on our internal web
servers, lets call this sub.other.com.  I need the PCs on our LAN to
be able to resolve its internal IP address rather than the external
one.  However, if I add other.com into my local Active Directory DNS,
it will mean that our LAN PCs will not be able to resolve other
subdomains of other.com, like www.other.com, as the server will say
the name does not exist.

I tried asking them to add a CNAME to sub-other.ourdomain.com so that
I could put in my own A record to this in our local DNS but it appears
that DNS does not work in the way that I thought it does i.e. it
does not make a separate request via our internal server for each alias
when each CNAME record is resolved, instead it just resolves the whole
chain on the first server that is able to answer the question.  This
is much more efficient of course, but does not help me to do what I
need to do.

Temporarily I have resorted to adding local records into the HOSTS
file of computers that need it but this is not very managable.

Anyone got any better ideas of how to do this?

Sam
Active Directory
(1)
Subdomains
(1)
Forwarders
(1)
Firewall
(1)
Fellow
(1)
CNAME
(1)
DNS
(1)
  Chris Dent replied to Sam
16-Nov-09 10:46 AM
Hi Sam,

There is nothing stopping you from creating a Forward Lookup Zone called
internal IP (that will appear as "(same as parent folder)" in the console).

Flush the DNS cache on a client and you should find that a lookup for
sub.other.com resolves to the internal IP, while all other hosts under
other.com continue to resolve to public addressing.

HTH

Chris
  Chris Dent replied to Sam
16-Nov-09 10:51 AM
Incidentally, this is something best configured on the firewall /
router, sometimes referred to as DNS Loopback or NAT Loopback.

If that is not an option, the zone as described in my previous post will
work without compromising name resolution for everything else in that
domain.

Chris
  Sam replied to Chris Dent
16-Nov-09 01:39 PM
Of course, that makes total sense now I think about it!  The DNS zone
is now working fine, I will look for firewall settings tomorrow.  Thanks
very much for both ideas Chris.

Sam
  Chris Dent replied to Sam
16-Nov-09 02:07 PM
You're welcome :)

Chris
  Grant Taylor replied to Chris Dent
19-Nov-09 11:56 PM
Very, VERY, *VERY* nice (if not nasty) trick.  I think I will add that to
my tool box.



Grant. . . .
  Ace Fekay [MCT] replied to Grant Taylor
20-Nov-09 12:44 AM
Grant, this is a common trick, err, configuration, so to speak. The reason
it works is that sub.other.com is a specific namespace. If any queries come
in with that namespace or zone, DNS will respond to it with what is in the
zone, otherwise, any queries to "anythingelse.com" will be recursed out
(either forwarders or Roots) because it does not host that zone. It looks
locally first for an exact match before it looks elswhere.

Ace
  Grant Taylor replied to Ace Fekay [MCT]
20-Nov-09 12:50 AM
I understand completely why it work.  I had just never thought of using
it that way.  I love the idea.  I have also shared it with a couple of
groups of fellow administrators already.

it is one of those things that is so simple and obvious it gets missed.
You know, "...cannot see the forest for the trees...".



Grant. . . .
  Ace Fekay [MCT] replied to Grant Taylor
20-Nov-09 08:36 AM
Good analogy. :-)

Ace
Create New Account
help
Active Directory DNS Zone Question (Child Domain zones) Windows Server Our forest consists of the root "home We now have one DNS zone "home.com" and inside that domain we have two subdomains "us" and "eu". Question: How did our production active directory end up having "us" and "eu" as separate dns zones compared to a new AD install with Windows 2003 having those domains as subdomains within the forest domain? Is that because the domain when it was first created was that is how AD would create the zones for child domains? Thanks Amy Windows Server Active Directory Discussions Active Directory DNS Zone Question Child Domain zones (1) Active Directory (1) Bit (1
Active Directory Replication Monitor can't open domaincontroller Windows Server Hi everyone, Hope someone knows what's going on. . . Our setup: 1 root domain with 2 DC's incl. Global Catalog 4 Subdomains with every one of them one single DC+Global Catalog. Forestlevel : 2003 navtive Domanilevel: 2003 my root domaincontrollers, everything looks okay. Once i open a domaincontroller in one of my subdomains, i receive an error message indicating that "the server could not be found or your status of that server". I do have transitive trusts between the root domain and the subdomains, for example: i can login with my root domain administrator account on all subdomain servers here that can tell me what my problem is? Many Regards, Joris Kemperman Windows 2000 Active Directory Discussions Active Directory (1) DNS (1) MVP (1) NewsGroup (1) MCSA (1) MCSE (1) MCT (1) MSFTNGP
Domains / subdomains Windows Server I've inherited a small active directory where all domain administration has been done at the subdomain level. For example, my domain something that should be accessible to network administrators? Does it make sense that when this active directory was set up, no accounts or work was ever done at the top level? Thoughts? Thanks! Windows Server Active Directory Discussions CSci (1) Policelli (1) Achiever (1) Admins (1) Years (1) Companyname (1) Company’s what you have but it is just one more domain to manage. - - Paul Bergson MVP - Directory Services MCTS, MCT, MCSE, MCSA, Security+, BS CSci 2008, 2003, 2000 (Early Achiever), NT4 http
Integrating Active Directory (and Exchange) into existing Linux BIND infrastructure Windows Server Hi, I am trying to setup or pointers out there? Thanks in advance, - K - - Kamal Jain Auraria Networks Inc. Windows Server Active Directory Discussions Active Directory (1) Windows Server (1) Linux (1) BIND (1) AD (1) DNS (1) KamalJain (1) NETLOGON What approach exactly did you take? A delegated subdomain (such as ad.bind.org), delegated subdomains just for the AD-specific stuff (such as _msdcs, _sites, etc.), or enabling dynamic updates updating of BIND from AD to work without success. Just now I have delegate the subdomains to the AD domain controller and things seem much happier now. I realize this is
Subdomains & dns question Windows Server Hi, My company will soon be adding subdomains because this is necessary for different domain security requirements per region. Current we have one so on. But my question is will this current dns setup work when we create subdomains? Because then we will have 20 or so dns zones and about 3 subdomains called na.company.local etc. . .so our dns and AD namespaces will not be the as it's confusing, and it's kind of urgent aswell. Thanks, Taz Windows Server Active Directory Discussions Active Directory (1) DNSEach (1) DCPromo (1) Subdomains (1) Taz (1) Company.local (1) There isn't