How does a child domain point back to parent?

Barry Margolin barmar at bbnplanet.com
Fri Oct 8 17:59:06 UTC 1999


In article <7tjvl1$v2m$1 at nnrp1.deja.com>,  <mkrieger at readersdigest.com> wrote:
>Let's say that my DNS is authoritative for mycompany.com (internal
>corporate domain).  I create NS and A records to delegate the
>us.mycompany.com to another name server.  No problem so far.
>
>If the us.mycompany.com server receives queries from clients that want
>to resolve hosts in mycompany.com, what needs to be done on the server
>that's authoritative for us.mycompany.com?  I don't want it going to
>the root name servers because they'll return the mycompany.com Internet
>address (mycompany.com is both internal and external).

You can either configure it as a secondary server for the mycompany.com
domain, or configure it as a forwarding zone:

zone "mycompany.com" {
  type forward;
  forwarders { <address of mycompany.com server>; }
}

This latter configuration requires BIND 8.2 or newer.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list