foxhound
08-26-2001, 01:44 PM
I am having a RH7.1 gateway to share internet for windoze clients. I want to set up the gateway with named. I want the named to forward request to my ISP DNS servers while caching on its own. any ideas how to do this? i've tried and tried, but no luck. here's what i've done so far
// generated by named-bootconf.pl
options {
directory "/var/named";
forward only;
forwarders { 204.101.251.1; 204.101.251.2; };
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.cache";
};
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; };
};
thanks a lot
// generated by named-bootconf.pl
options {
directory "/var/named";
forward only;
forwarders { 204.101.251.1; 204.101.251.2; };
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.cache";
};
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; };
};
thanks a lot