On Wed, 2002-06-12 at 20:13, David Talkington wrote: > Gordon Messmer wrote: > > >own hostname. If you're using DHCP and it's assigning you a hostname, > >you might see a performance improvement if you set a hostname in the > >network-config tool and add a line in /etc/hosts for that name as well. > > > >The /etc/hosts file on the machine I'm on now looks like: > ># Do not remove the following line, or various programs > ># that require network functionality will fail. > >127.0.0.1 localhost.localdomain localhost > >127.0.0.1 herald.dragondsawn.net herald > > Why would you do that if your address is dynamic? It's guaranteed to > break things when your IP address changes.
Quite the opposite, it's guaranteed NOT to break under any circumstances. If you leave your hostname as localhost.localdomain, when you use DHCP, your hostname may change. If DNS is slow or badly configured, performance suffers. By setting a hostname, ANY hostname, you prevent your hostname from being changed by DHCP (and make the system a little more like home ;) By pointing both localhost.localdomain and your own hostname at the localhost address, you guarantee that both will always resolve, and resolve quickly. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list