jwoolard asked:
I have a domain internal.example.com
and a second domain foo.bar.com
. Each of these domains has their own bind9 instance.
I would like to be able to access records in foo.bar.com
using the subdomain foo.internal.example.com
. ie I want the lookup xx.foo.internal.example.com
to forward to the foo.bar.com
DNS server as xx.foo.bar.com
.
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 internal.example.com
zone:
foo IN DNAME foo.bar.com.
A query for xx.foo.internal.example.com
would then return a synthesized CNAME pointing to xx.foo.bar.com
.
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.