On Sun, Mar 08, 2009 at 01:15:31PM +0000, Alexander Gattin wrote:
> I do not understand why did you introduce the
> AUTO_MODE at all? Probably, you wanted to help
> users configuring pdnsd by making it
> accomplishable through dpkg-reconfigure pdnsd?
> 
> If so, then amount of behavoiur which is exposed
> to dpkg-reconfigure pdnsd is obviously
> insufficient (server_ip? proxy_only?).

Oh boy, you absolutely don't get it. I give the two most used
configurations for free, namely:
  * local cache, slave to your ISP or dhcp servers, through the
    resolvconf facilities ;
  * local recursive cache server.

If you're not in those cases that probably match 95% of the pdnsd uses
cases, then you chose "Manual" during the install and you're done. Again
the debconf templates _TELLS YOU_ to chose Manual when you have to
change server_ip.

> On the other end, having the four configuration
> files:
> * /etc/default/pdnsd
> * /etc/pdnsd.conf
> * /usr/share/pdnsd/pdnsd-recurse.conf
> * /usr/share/pdnsd/pdnsd-resolvconf.conf
> instead of just one is very confusing.

No there are two configuration files:
* /etc/default/pdnsd
* /etc/pdnsd.conf

If you use another dns server e.g., installing pdnsd miserably fails
since it will want to bind on port 53 as well. So /etc/default/pdnsd is
required to deal with that, and have pdnsd disabled by default.

/etc/pdnsd.conf is the default configuration file.

When you're lucky enough so that the two possible builtin configuration
I did suit your needs, debconf allow you to simplify that work and do
all by itself, touching only /etc/default/pdnsd.

It's dead simple, not confusing at all. Many pdnsd users don't know
about DNS at all, they just know their ISP DNS suck, and they want an
easy install. That's what I provide. If you're using kvm or needing
server_ip/proxy_only settings, then you should know about DNS, and are
an advanced user, you should do it all by yourself and chose Manual.
Full stop.

-- 
·O·  Pierre Habouzit
··O                                                madco...@debian.org
OOO                                                http://www.madism.org

Attachment: pgp3ayd7xxhHj.pgp
Description: PGP signature

Reply via email to