Click to See Complete Forum and Search --> : anyone know how to forward in NAMED?


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

PLBlaze
08-26-2001, 04:35 PM
Try forward first; instead of forward only;.Hope this helps.

[ 26 August 2001: Message edited by: Diffie ]

foxhound
08-26-2001, 06:49 PM
I've tried both, still don't work, any ideas guys?

omicron
08-27-2001, 08:34 AM
can someone take a look? i thought most ppl would be familiar with named? thanks again :( :( :(

PLBlaze
08-27-2001, 11:50 AM
Be patient :D ...it will not happen in a second.DNS or for this matter bind needs to run for a while to build the cache.How long does it take? it depends how are TTL's are setup.Hope this helps again.