[CentOS] named server

Steve Huff shuff at vecna.org
Tue May 17 17:01:00 UTC 2005


On May 17, 2005, at 12:47 PM, Lee Parmeter wrote:

> Also, I thought it would be faster if I set named to use my
> ISP's named server as the first choice. Where do I set this
> up, in root.hints?

you don't set it up in root.hints, you use named.conf.

in the "options" section (should be near the top of the file), insert 
the following lines:

forwarders {
	<ip address of your ISP's nameserver>;
	<ip address of your ISP's other nameserver>;
};

then stop and restart BIND.  this tells BIND to send all queries that 
it cannot resolve locally out to the forwarders - it is unlikely that 
you should be querying root nameservers directly.

you can add as many additional nameservers as you like; they will be 
queried in order.

-steve

---
If this were played upon a stage now, I could condemn it as an 
improbable fiction. - Fabian, Twelfth Night, III,v




More information about the CentOS mailing list