Maintained by: NLnet Labs

[Unbound-users] 2 config files?!

Gabriel Petrescu
Mon May 18 09:20:51 CEST 2009


i did it, here are the results:

root at unbound5:~# unbound -h
usage:  unbound [options]
        start unbound daemon DNS resolver.
-h      this help
-c file config file to read instead of /etc/unbound/unbound.conf
        file format is described in unbound.conf(5).
-d      do not fork into the background.
-v      verbose (more times to increase verbosity)
Version 1.2.1
libevent mini-event-1.2.1, libldns 1.4.0, OpenSSL 0.9.8g 19 Oct 2007
BSD licensed, see LICENSE in source package for details.
Report bugs to unbound-bugs at nlnetlabs.nl


if you install it manually from sources use the:
/var/lib/unbound/etc/unbound/unbound.conf

i will try to make it work and generate statistics.. I hope it will work

unbound it's a bit confusing... i am trying to make also a tutorial / rule
how to install it on ubuntu for production servers, but at this momment:
- from sources it generates errors;
- from packages, we should use not standard repositories; i hope this will
work..

Gabi

On Mon, May 18, 2009 at 10:08 AM, W.C.A. Wijngaards <wouter at nlnetlabs.nl>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Gabriel,
>
> unbound -h  print the config file it wants to use by default.
> You can select a config file with -c.
>
> Best regards,
>   Wouter
>
> Gabriel Petrescu wrote:
> > hi!
> >
> > i managed to install unbound using apt-get
> >
> > i changed the source list. I am using 8.04 and for newer version there
> > is a package available.
> >
> > is still an issue i couldn;t install using the sources.
> > changing the source list in apt could be an issue because I am not sure
> > it will be aproved as a solution for production servers.
> >
> > so, fresh install in a vm machine, updatem upgrade, change the source
> > list, update, apt-get install unbound
> >
> > it started, than i've noticed:
> >
> > locate unbound.conf
> > /etc/unbound/unbound.conf
> > /usr/share/man/man5/unbound.conf.5.gz
> > /var/lib/dpkg/info/unbound.conffiles
> > /var/lib/unbound/etc/unbound/unbound.conf
> >
> >
> > som, there are 2 unbound.conf files.
> >
> > which one is used?
> > from my point of view it's not ok. it's easy to make a mistake and edit
> > the wrong file...
> >
> > Gabi
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Unbound-users mailing list
> > Unbound-users at unbound.net
> > http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkoRCVwACgkQkDLqNwOhpPjIyACfWScPBdp19zc1dWAEKQ0seCvM
> Kd4An2BpugCC/yRm+U9m7seE2h89oeHr
> =DTso
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20090518/c4ca1aea/attachment.htm>