Koozali.org: home of the SME Server

4.1 Templates for etc/named.conf (DNS Service)

Robert

4.1 Templates for etc/named.conf (DNS Service)
« on: March 09, 2001, 10:19:43 PM »
In E-smith 4.0 I could run the command: /sbin/e-smith/expand-template /etc/named.conf
to regenerated the named.conf file from the templates.

Now in E-Smith 4.1 the /etc/named.conf file reads:
# named chroot()ed to /home/dns

and the file that named process uses is /home/dns/etc/named.conf

When I run the expand-template command it rebuilts the named.conf, but stores it at /etc/named.conf which doesn't do any good since the named process is reading the copy that is stored at the /home/dns/etc/named.conf file.

Is there another way to run the expand-template command to have it expanded to /home/dns/etc?

Charlie Brady

Re: 4.1 Templates for etc/named.conf (DNS Service)
« Reply #1 on: March 10, 2001, 02:48:17 AM »
Robert wrote:

> Is there another way to run the expand-template command to
> have it expanded to /home/dns/etc?

/sbin/e-smith/signal-event console-save

Does a whole bunch of stuff, including re-expanding that template and restarting named.

Charlie