Login and dns lookups

Tim ignored_mailbox at yahoo.com.au
Thu Nov 2 15:53:46 UTC 2006


On Thu, 2006-11-02 at 10:40 +0000, Dan Track wrote:
> Could someone please explain why the login process is dependent on the
> dns servers? basically my query arose because one server couldn't
> reach its dns server as a consequence logging in took over 2 minutes.

Not sure if it's the "login" that is, or other processes that are,
before you get to log in.  Such as the X server uses TCP/IP networking,
so the set hostname has to be looked up for its IP address.  Sendmail's
another service that wants to resolve a name.  Then there's NTP, if
you've got named addresses, rather than numerical IP addresses, set as
your remote NTP servers to query.

The answer to that question will depend on what services you're running.

> How can remove its depedency on the dns server?

If your IP is static, you can put the details into your hosts file.  The
format is IP address, FQDN, alias(es), all separated by spaces.

e.g. 192.168.1.1  mybox.example.com  mybox  webserver  fileserver

-- 
(Currently testing FC5, but still running FC4, if that's important.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the fedora-list mailing list