Fake root with selective forwarding

Kevin Darcy kcd at daimlerchrysler.com
Thu Aug 5 21:35:55 UTC 2004


Peter wrote:

>I have a somewhat interesting problem.
>
>I want a DNS server which resolves anything to a specific IP but at
>the same time forward certain domain queries that I specify.
>
>I have this but it does not seem to do the forwarding:
>
>named.conf:
>options {
>        directory "/var/named";
>};
>zone "domainxyz.com" IN {
>  type forward;
>  forward only;
>  forwarders { my.re.al.ns; };
>};
>
>zone "." IN {
>        type master;
>        file "named.ca";
>};
>
>zone "localhost" IN {
>        type master;
>        file "localhost.zone";
>        allow-update { none; };
>};
>
>zone "0.0.127.in-addr.arpa" IN {
>        type master;
>        file "named.local";
>        allow-update { none; };
>};
>
>in named.ca:
>
>... IN SOA core.mynet.net.  root.core.mynet.net. (
>              2004073101 10800 3600 604800 86400 )
>      IN NS  core.mynet.net.
>core.mynet.net.      3600000   IN  A     192.168.100.110
>*.                     3600000   IN  A     192.168.100.110
>
>
>domainxyz.com still resolves to 192.168.100.110...doesn't seem to be
>forwarded.
>
You need to delegate the parts of the namespace that you want to 
selectively forward.

>Also notice that I have no hints...I have zone "." as master...only
>way it seems I have have the NS authoritative for the universe ?
>
What's the question?

- Kevin



More information about the bind-users mailing list