Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 13:26:07 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Alastair Hogge <agh@fastmail.fm>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: [CURRENT] unbound: zonefiles?
Message-ID:  <20130926132607.50cc4752@thor.walstatt.dyndns.org>
In-Reply-To: <20130926110645.GE39898@direwolf.aux.io>
References:  <20130926112648.00422d7a@thor.walstatt.dyndns.org> <20130926110645.GE39898@direwolf.aux.io>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/QRxoahc7nC7L+.Ki/jrjWXd
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On Thu, 26 Sep 2013 19:06:47 +0800
Alastair Hogge <agh@fastmail.fm> wrote:

> On 2013-09-26 Thu 11:26:48 +0200, O. Hartmann wrote:
>=20
> Hi,
>=20
> > I try my first steps with "unbound" on most recent current and
> > snealing through the web I find interesting things and howto's. But
> > I realise if I'd like to replace my office's DNS server (based on
> > BIND as it was part of the FreeBSD world) I run into a serious
> > problem regarding the zone- and authorative files keeping all the
> > PTR and A records. As I can see in the unbound.conf, the statements
> > of those files (address to name resolution, name to address
> > resolution) is now somehow hard coded into unbound.conf via those
> > appropriate config tags like local-zone and local-data. Since I
> > have some larger files defining a local domain, I'd expect having a
> > data file to be loaded.
>=20
> Are you after include?

YES!!!!

Somehow I must be blind! I'm studying the manpage all the morning ...
And I missed the include part.

Thanks.

>=20
> $ man unbound.conf
>=20
> #  Files  can be included using the include: directive. It can appear
> any=E2=80=90 #  where, it accepts a single file name as argument.  Proces=
sing
> continues #  as  if  the text from the included file was copied into
> the config file #  at that point.  If also using chroot, using full
> path  names  for  the #  included files works, relative pathnames for
> the included names work if #  the directory where the daemon is
> started  equals  its  chroot/working #  directory.   Wildcards  can
> be  used  to  include  multiple files, see #  glob(7).
>=20
> I use include to configure my network at home:
>=20
> $ cat /usr/local/etc/unbound/local.hosts
> local-data: "kropotkin.local.host. IN A 10.0.0.1
> local-data-ptr: "10.0.0.10 kropotkin.local.host.
>=20
> local-data: "berkman.local.host. IN A 10.0.0.11"
> local-data-ptr: "10.0.0.11 berkman.local.host."
>=20
> local-data: "bakunin.local.host. IN A 10.0.0.12"
> local-data-ptr: "10.0.0.12 bakunin.local.host."
>=20
> Salud,
> alastair
> --
> Drug, n.:
> 	A substance that, when injected into a rat, produces a
> scientific paper.



--Sig_/QRxoahc7nC7L+.Ki/jrjWXd
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQEcBAEBAgAGBQJSRBnTAAoJEOgBcD7A/5N8+rEH/jbwJ9ZgEoBgfgP+FEaYarkC
Ixno8f65u1+K0SATEz6OJUtSejWjcm5Clv/8J6UuiGy70pHCII3PlF+5Owi0usd8
ErRB6r6Z+nxbzuEfk0jHE/JhnsaSLUTJsvWAPGvqs2yZvuMR2Tjo6GDlG2iTWL9l
nTKXIayk+bw5tFSiKE8NTYfmcqP0ySl/aBWvsFkBUAd1o9MviO+vII6qfD1OqA/H
4xshTPpCCwCjLLhjgvfdCZu7wwqHCF/ykVZBmT9E8KkQy8XO00FYZozXZgjxc8lE
yVHRq7i6XB+5tw2oSqfskg9WaYAp7cN2bzL/6FQ5GsRUPejZikQtnl7TtjpRtZc=
=Eqzj
-----END PGP SIGNATURE-----

--Sig_/QRxoahc7nC7L+.Ki/jrjWXd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130926132607.50cc4752>