Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 08:04:15 +0100
From:      Jamie Paul Griffin <jamie@kode5.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: why does /etc/namedb link to /var?
Message-ID:  <20120823070415.GB3410@kontrol.kode5.net>
In-Reply-To: <5035C204.1060009@dreamchaser.org>
References:  <5035C204.1060009@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[ Gary Aitken wrote on Wed 22.Aug'12 at 23:39:16 -0600 ]

> Can anyone shed light on why /etc/namedb is a symlink to /var/named/etc/namedb?
> 
> It seems to me this is general configuration stuff which should be in /etc/namedb on the root partition, not on /var.  I thought /var was used for things like logs, process ids of running processes, etc.
> 
> Gary

If you read this http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html thoroughly it explains why. It's a security feature and therefore chroot's in /var/namedb/etc/namedb. 

You will probably need to adjust your zone files to provide the full path name in the file statement within them. That's what I needed to do when I set up named earlier this week. 



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