Fake root with selective forwarding

Peter PeterDangerV at netscape.net
Sun Aug 1 02:16:36 UTC 2004


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.

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 ?

TIA!


More information about the bind-users mailing list