> Even on FreeBSD or Linux, I don't configure named to use
> data files stored under /usr/local. Only applications
> that live under /usr/local should have data files under
> /usr/local.

Okay, good point.

> I usually put named configuration files in /etc/named
> on other platforms, just like mail related bits go in
> /etc/mail.

So using /var/named/ is just some odd solaris tradition?  You probably knew 
this, but /var/ is usually reserved for things that are changed a lot by the 
system, rather than configuration files: 
http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE31

Thanks.

By the way, you can even get your forwarding file out of /etc/ by using this 
formula from Sun's man page for named:

     The following sequence of commands lists the  current  named
     configuration file and sets an alternative file.


       # svcprop -p options/configuration_file dns/server:default
       /etc/named.conf
       # svccfg -s dns/server:default setprop \
       > options/configuration_file=/var/named/named.conf
       # svcadm refresh dns/server:default
       # svcprop -p options/configuration_file dns/server:default
       /var/named/named.conf

There's other good material in there too.
-- 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to