why does /etc/namedb link to /var?
    Jamie Paul Griffin 
    jamie at kode5.net
       
    Thu Aug 23 07:04:17 UTC 2012
    
    
  
[ 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. 
    
    
More information about the freebsd-questions
mailing list