[Pdns-users] Getting started with pdns

Gerald Britton gerald.britton at gmail.com
Thu Jan 18 18:02:15 UTC 2007


I found this in dhclient.conf:

#prepend domain-name-servers 127.0.0.1;

I uncommented it, then restarted my ethernet interface and now
resolv.conf looks like this:

$ cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 10.18.11.68
nameserver 10.18.11.69

and my cache hits are going up.

On 1/18/07, Christian Hofstädtler <ch at nessus.at> wrote:
>
> --On 18/1/2007 12:38 -0500 Gerald Britton <gerald.britton at gmail.com> wrote:
> > Ah -- so I should modify resolv.conf to point to localhost, right?  If
> > so, that leads to an interesting problem, since resolv.conf is updated
> > by dhcp.  Also, I've seen the nameservers in resolv.conf change from
> > time to time.  Any idea how to get around this?
>
> If you are running Ubuntu's dhcp3-client package, you can put something
> like this in your /etc/dhcp3/dhclient.conf:
>
> supersede domain-name-servers 127.0.0.1;
>
> dhclient.conf should also contain other useful examples.
>
> --
> Christian Hofstaedtler
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>


More information about the Pdns-users mailing list