Which order for bind,host in /etc/hosts.conf?

Which order for bind,host in /etc/hosts.conf?

Post by Steve Snyde » Sat, 15 Jan 2000 04:00:00



I've read conflicting suggestions on the best ordering of the
parameters to the "order" directive in /etc/host.conf.  Given that I'm
running BIND and have a hosts file, which of the following would give
me better performance in name resolution?

Should I have

        order hosts,bind

or

        order bind,hosts

Thank you.

***** Steve Snyder *****

 
 
 

Which order for bind,host in /etc/hosts.conf?

Post by Bit Twist » Sun, 16 Jan 2000 04:00:00


This works for me
        order hosts,bind
        multi on

I have 5 lines in my /etc/hosts file, which would keep time down.

Just swap and time them, you do not have to reboot to test, unless
you have arp/proxy cashing.


>I've read conflicting suggestions on the best ordering of the
>parameters to the "order" directive in /etc/host.conf.  Given that I'm
>running BIND and have a hosts file, which of the following would give
>me better performance in name resolution?

>Should I have

>    order hosts,bind

>or

>    order bind,hosts

>Thank you.

>***** Steve Snyder *****

--
The warrenty and liability expired as you read the message.
If the above breaks your system, it's yours and you keep both pieces.
Do a,  man every_command_here, before doing anything else.
Backup every file before you change it.

 
 
 

1. Looking for sample /etc/named.conf and etc/resolv.conf and /etc/hosts

Can someone send me some sample files for the latest version of the named
program?

/etc/named.conf

and

/etc/resolv.conf
/etc/hosts

I am having some trouble understanding how to configure my new RH 6.2
server.

My setup is as follows:

I have a DSL modem connected to a hardware router.  I have an external IP
number and 192.168.1.X as ip's for my LAN running TCP/IP.  The linux server
is at local ip 192.168.1.10.

I want to run my own mail server and name server for HTTP and FTP access.

If I run NSLOOKUP, it reports that it cannot find a server name address for
192.168.1.10 (non-existent host/domain)
and for my external IP (no response from server)

I think if I can see some sample files set up correctly, that I can
reconfigure my system to work correctly.

Or - better yet, if someone can walk me throught this setup I would be
forever greatful!!!

Thanks!!!


www.pdsvs.com
949-367-1212

2. PS/2 mouse does not cut/paste in Xterm. What to do?

3. /etc/host.conf and /etc/nsswitch.conf

4. Jews Shoot Christians In The Back

5. /etc/hosts (or NIS host map): official-host-name vs nicknames

6. Can I handle really huge files in ReiserFS efficiently?

7. /etc/hosts.deny & /etc/hosts.allow ??

8. netscape

9. /etc/hosts.deny and /etc/hosts.allow

10. Resolver and /etc/host.conf and nsswitch.conf

11. Help with /etc/hosts and /etc/resolv.conf

12. getaddrinfo acts very strangely (ignores /etc/hosts.conf)

13. /etc/rc.net, /etc/host.conf and ps problems