On Fri, Nov 15, 2002 at 12:16:30PM -0600 or thereabouts, [EMAIL PROTECTED] wrote:
> I really don't get why when the computer is looking for an address
> it tries the nameservers in resolv.conf before it tries hosts. However

Double check your host.conf file to make sure "order hosts" are listed first,
then bind.  Then, double check the hosts file, and make sure all your
machines are listed.  This needs to be done on each machine. This is in
lieu of setting up DNS.

> 1. I have the book The Linux Network that tells you how to setup DNS 
> but it is several years old copyright 1998 has the basic structure 
> stayed the same or do I need to find a more recent source for a howto.?

Personally, I would not use BIND, but rather tinydns, part of the djbdns
package.  It is much more secure, especially when out on the net, and
given the newest exploits in BIND as recent as a few days ago. Tinydns also
can handle 5000 quires a second. Its caching server, called dnscache,
defaults to 1MB, and smoothly discards the older cache, while adding in
new ones.  If you must use BIND which has its own built in cache, there are
several good tutorials on the net for setting it up. www.google.com/linux/
can help you there.

> 3. Can you forward requests to more than one name server ?
>   (My ISP gives you 3 )

yes, this is done automatically.  If you run your own authoritative
server, you do not have to have any of your ISPs servers, as you
run your own.  If you decide not to run your own server, you certainly do
not need all three ISP caching servers listed in resolv.conf.  You can
have just one, or two, as the second and third are just backups. If you
run your own DNS server, you must list the IP address of that server in
your resolv.conf file, on all machines, preferably first, so it will look
there first.
-- 
Best regards,
Gary

    sed '/^[when][coders]/!d
        /^...[discover].$/d
       /^..[real].[code]$/!d
    ' /usr/share/dict/words



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to