On Wed, Jun 13, 2001 at 05:52:44PM +0100, Edouard Lafargue wrote: > I just checked: the machine still tries to use the DNS even if > nsswitch.conf says "files dns" and the host in in /etc/hosts. And anyway > a reverse lookup on 192.168.6.1 cannot work as it's a private IP... Do you have a "search" or "domain" line in /etc/resolv.conf? How does your /etc/hosts look like? > In my case, if I disconnect the ethernet from my laptop, and to a > "telnet localhost", then I have to wait 30 seconds at least before > getting a prompt, and a "strace telnet localhost" shows the telnet > process trying to contact the DNS. Is this the case on your machine ? No, this should not happen. You could try to install a caching nameserver (standard bind configuration on debian), send it the SIGWINCH signal (see man named) and watch /var/log/daemon.log for the queries. Nils -- ______ (Muuuhh) Global Village Sau ==> ^..^ |/¯¯¯¯¯ (Kann Fremdsprache) ==> (oo)
Attachment:
pgpU741UwrSk3.pgp
Description: PGP signature