Remap domain onto subdomain using bind

jwoolard asked:

I have a domain and a second domain Each of these domains has their own bind9 instance.

I would like to be able to access records in using the subdomain ie I want the lookup to forward to the DNS server as

Is there a way to do this in bind9?

My answer:

Sounds like you might be able to use the (otherwise rarely seen) DNAME record.

For instance, in the zone:

foo     IN      DNAME

A query for would then return a synthesized CNAME pointing to

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.