Subject: Re: DNS Blacklist feature
To: None <tech-net@netbsd.org>
From: Paperino Fusilli <goparty.it@gmail.com>
List: tech-net
Date: 11/07/2007 10:01:44
John Nemeth <jnemeth <at> victoria.tc.ca> writes:


>      As a home user, you can generally easily deal with this yourself.
> Just add 'named=YES' to /etc/rc.conf and put 'nameserver 127.0.0.1' in
> /etc/resolv.conf.  You don't need to do any custom configuring of
> named.  If you're running dhclient, then put this in
> /etc/dhclient-enter-hooks and make it executable:
> 
> make_resolv_conf() {
> }

or add to your /etc/dhclient.conf
interface "YOUR_dhclient_IF" {
#   prepend domain-name " your.own.domain";
    prepend domain-name-servers 127.0.0.1;
}