Hi Jack, On Thu, 2005-04-07 at 14:06 -0700, [EMAIL PROTECTED] wrote: > Hi Matthijs - thanks for the fast response! > > On Apr 7, 2005, at 11:15 AM, Matthijs Mohlmann wrote: > > > Hi Jack, > > > > On Thu, 2005-04-07 at 09:45 -0700, [EMAIL PROTECTED] wrote: > >> Package: pdns > >> Version: 2.9.17-9 > >> Severity: wishlist > >> Tags: patch > >> > >> It'd be wizard if, like bind, pdns updated resolvconf's list of > >> available nameservers - > >> > > The patch you provided will add "nameserver 127.0.0.1" to the > > resolv.conf configuration ? In the patch you provide you do a: > > resolvconf -d lo (Why not -a ? that adds the interface to the existing > > set of nameservers) > > The patches are stolen from the bind init script - they should add > "nameserver 127.0.0.1" to /etc/resolv.conf - if managed by Thomas > Hood's resolvconf package - when pdns starts, & remove it when pdns > stops - hence "-a" in start & "-d" in stop. > I need to read better the manpages
> The order of nameservers in /etc/reslov.conf is configurable in > resolvconf, but by default, local nameservers are queried before > nameservers on ethernet interfaces, then ppp interfaces etc. I'm no > resolvconf sage, but it's really handy - I use pdns when it's running, > but dns doesn't break when it's not & I'm not always viming > /etc/resolv.conf > > > Probably better is to add the interface where pdns-server is listening > > on but that's side note > > Totally - I thought about this, specially since you probably run > pdns_recursor on another port - but getting 127.0.0.1 into resolvconf > is a useful start. > > pdns_recursor prints the local port when it starts, so one could sed & > pass it to resolvconf - but not so for the local address or pdns_server > at all. > > Alternatively, one could sed /etc/powerdns/{pdns.conf,recursor.conf}, > but this'd require more intelligence from the init script - & if you're > not using 127.0.0.1, you probably want to configure /etc/resolv.conf > manually anyway. > > > What if someone doesn't want that? > > Don't install resolvconf - or configure resolvconf appropriately. > That sounds ok > > (Probably i can add a configuration > > parameter to /etc/default/pdns-server) > >> > >> Many thanks for maintaining this awesome alternative dns server! > >> > > It's a nice one eh :) > > Totally : ) The geobackend has me pretty revved - too bad pdns doesn't > support dynamic dns updates yet : \ > Feature request on the pdns list ;) About your mail to the pdns list, i've splitted the config of pdns and have made a patch that adds a directive to the pdns config, to add a directory with files which contains configuration items. So you could split out the ldap config from the main pdns config. Problem is that i made a little fault in doing the configuration automatically and it seems there are people using unstable stuff on production machines ;) Regards, Matthijs Mohlmann
signature.asc
Description: This is a digitally signed message part