forwarding on zone base does'nt work; again
Thomas Stalder
tom at coco.ch
Wed Jan 12 18:01:14 UTC 2000
Hello
I'm running Bind 8.2.2-P5 on a Sun Ultra 5, with Solaris 7.
Configured as master for a few 'internal' domains and slave for
a few more 'internal' domains. This works fine so far.
I tried to set up a forwarder for another internal domain,
which does not allow zone transfers.
This does not work. I get following:
Jan 12 15:49:12 dns001 named[164]: reloading nameserver
Jan 12 15:49:12 dns001 named[164]: /etc/named.conf:59: syntax error near forward
Jan 12 15:49:12 dns001 named[164]: no type specified for zone 'firm-internal.com'
Jan 12 15:49:12 dns001 named[164]: zone 'firm-internal.com' did not
validate, skipping
Jan 12 15:49:12 dns001 named[164]: /etc/named.conf:64: syntax error near '}'
Jan 12 15:49:12 dns001 named[164]: Ready to answer queries.
That's how the it looks in the named.conf file:
zone "firm-internal.com" in { // <- line 58 (my comments)
type forward;
forward only;
forwarders {
10.41.8.91; // <- Intranet Name Server
};
};
And the global options on top of the named.conf file:
options {
....
//
forward only;
forwarders { 164.128.36.34; }; // <- ISP Name Server
//
directory "/var/named";
};
What am I missing? Thanks for any hints.
Thomas
More information about the bind-users
mailing list