Subject: Re: telnet -4 command switches on IPv4 mode for other apps
To: None <netbsd-users@netbsd.org>
From: Gary Duzan <gary@duzan.org>
List: netbsd-users
Date: 02/11/2007 11:26:53
Matthias Scheler wrote:
>
> A work-arround would to be to run a local caching nameserver:
> 1.) Add "named=YES" and "named_chrootdir="/var/chroot/named" to
> "/etc/rc.conf".
> 2.) Start the nameserver with "/etc/rc.d/named start".
> 3.) Change the nameserver in "/etc/resolv.conf" to 127.0.0.1.
> 4.) Try whether the various applications work better now (after
> restarting them).
Since you are using dhclient, you will want to put the following in
your /etc/dhclient.conf:
prepend domain-name-servers 127.0.0.1;
You can do this instead of step 3 above, since dhclient will replace
your resolv.conf with whatever it gets from the DHCP server (probably
your router).
Good luck...
Gary Duzan