[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] need simple answer to Simple Question



on 4/24/00 7:05 PM, Will DeHaan at will@xxxxxxxxxx wrote:

> PyschoCotic@xxxxxxx wrote:
>> 
>> I'm editing DNS manually, and I can't seem to get the DNS to refresh (update
>> the changes)...  Like in the web control panel if you edit it in their you
>> just click save....  I'm trying to write my own in /etc/named and once its
>> saved it doesn't update the changes to the net... yes I incremented that
>> number each time.... I just can't get it to refresh.  Any suggestions besides
>> restarting the server?
>> 
>> ~Randy
>> 
> 
> /usr/admserv/cgi-bin/.cobalt/dns/index.cgi
> 
> without arguments, as root.  Regenerates all bind db and conf files and
> restarts named.

This might not be what you want to do.  If you are building your own pri.
files you're going to find that this will overwrite any changes you have
made.  This script parses the /etc/records file and builds all the
neccessary records for Bind.  Then restarts named.

So if you want to continue to use the web interface, manually edit the
records file to look the way you want, THEN run that script.

If you are bailing on the web management interface for DNS, the command
would be the one that other people have posted:
/sbin/ndc reload
Just make sure that you don't ever go to the web interface and hit save, or
it will cause some major problems.

-k