[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] DNS doesn't reload from Web interface
- Subject: [cobalt-users] DNS doesn't reload from Web interface
- From: "Filip Sneppe (Cronos)" <filip.sneppe@xxxxxxxxx>
- Date: Wed Jul 23 16:54:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
I recently migrated some sites to a RaQ550 and created two DNS zones
using the web interface. All this went just fine.
Last friday I installed all remaining security updates (quite a few)
in what I believe to be the correct order.
I now realize that, when I make a change to the DNS configuration,
and click on the "apply changes now" button, I get no error
from the webinterface, but named doesn't get reloaded.
If I run "/etc/init.d/named reload" from the commandline, the
DNS changes take effect.
Obviously I'd like to know how to make sure that DNS changes
can get activated from the web interface again.
Here's what I get in /var/log/messages after adding a PTR
record (192.168.2.11 pointing to dummy.dummy.com) and
applying the changes via the web interface:
Jul 24 01:28:01 kobe cced(smd)[3444]: client 6:[15:1591]: CREATE
"DnsRecord" "network" "=" "192.168.2.0/24" "netmask" "=" "255.255.255.0"
"type" "=" "PTR" "domainname" "=" "dummy.com" "ipaddr" "="
"192.168.2.11" "hostname" "=" "dummy"
Jul 24 01:28:01 kobe cced(smd)[3444]: client
6:handlers/base/dns/setdirty.pl: SET 1 . DNS dirty = 1059002881
Jul 24 01:28:01 kobe cced(smd)[3444]: client
6:handlers/base/dns/setdirty.pl: SET succeeded
Jul 24 01:28:01 kobe cced(smd)[3444]: client
6:handlers/base/dns/fixnetwork.pl: SET 898 network = "192.168.2.0/24"
Jul 24 01:28:01 kobe cced(smd)[3444]: client
6:handlers/base/dns/fixnetwork.pl: SET succeeded
Jul 24 01:28:01 kobe cced(smd)[3444]: client 6:[15:1591]: CREATE
succeeded
Jul 24 01:28:17 kobe cced(smd)[3460]: client 6:[15:1588]: SET 1 . DNS
"commit" "=" "1059002883"
Jul 24 01:28:17 kobe cced(smd)[3460]: client
6:handlers/base/dns/dns_generate.pl: SET 1 . DNS dirty = 0
Jul 24 01:28:17 kobe cced(smd)[3460]: client
6:handlers/base/dns/dns_generate.pl: SET succeeded
Jul 24 01:28:18 kobe cced(smd)[3460]: client 6:[15:1588]: SET succeeded
Jul 24 01:28:32 kobe cced(smd)[3517]: client 6:[15:1566]: SET 1 . DNS
"zone_format_24" "=" "%4/%n.%3.%2.%1.in-addr.arpa" "caching" "=" "1"
"zone_format" "=" "RFC2317" "zone_format_8" "=" "%2/%n.%1.in-addr.arpa"
"default_ttl" "=" "86400" "commit" "=" "1059002898" "default_expire" "="
"604800" "zone_xfer_ipaddr" "=" "" "zone_format_16" "="
"%3/%n.%2.%1.in-addr.arpa" "default_retry" "=" "3600" "zone_format_0"
"=" "%1/%n.in-addr.arpa" "admin_email" "=" "" "default_refresh" "="
"10800" "forwarders" "=" "" "enabled" "=" "1"
Jul 24 01:28:32 kobe cced(smd)[3517]: client
6:handlers/base/dns/dns_generate.pl: SET 1 . DNS dirty = 0
Jul 24 01:28:32 kobe cced(smd)[3517]: client
6:handlers/base/dns/dns_generate.pl: SET succeeded
Jul 24 01:28:34 kobe cced(smd)[3517]: client 6:[15:1566]: SET succeeded
Jul 24 01:28:34 kobe cced(smd)[3517]: client 6:[15:1566]: SET 1 . DNS
"commit" "=" "1059002883"
Jul 24 01:28:34 kobe cced(smd)[3517]: client
6:handlers/base/dns/dns_generate.pl: SET 1 . DNS dirty = 0
Jul 24 01:28:34 kobe cced(smd)[3517]: client
6:handlers/base/dns/dns_generate.pl: SET succeeded
Jul 24 01:28:35 kobe cced(smd)[3517]: client 6:[15:1566]: SET succeeded
I suspect it's got something to do with the file
/usr/sausalito/handlers/base/dns/dns_generate.pl
and dns_restart.pl in that same directory...
I am not sure how I can trigger that dns_restart.pl
gets run after I hit the "apply all changes" button.
Also, there's a file /usr/sausalito/conf/base/dns/base-dns.conf
that's probably relevant to my problem too. It contains
the following (not all lines are shown):
Network.ipaddr perl:base/dns/dns_restart.pl CLEANUP
Network.netmask perl:base/dns/dns_restart.pl CLEANUP
System.dns perl:base/dns/dns_auto_enable.pl CLEANUP
System.hostname perl:base/dns/dns_generate.pl CONFIGURE
System.domainname perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.enabled perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.caching perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.commit perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.zone_format perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.zone_format_24 perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.zone_format_16 perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.zone_format_8 perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.zone_format_0 perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.zone_xfer_ipaddr perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.forwarders perl:base/dns/dns_generate.pl CONFIGURE
System.DNS.enabled perl:base/dns/dns_restart.pl CLEANUP
System.DNS.caching perl:base/dns/dns_restart.pl CLEANUP
System.DNS.commit perl:base/dns/dns_restart.pl CLEANUP
System.DNS.zone_format perl:base/dns/dns_restart.pl CLEANUP
System.DNS.zone_format_24 perl:base/dns/dns_restart.pl CLEANUP
System.DNS.zone_format_16 perl:base/dns/dns_restart.pl CLEANUP
System.DNS.zone_format_8 perl:base/dns/dns_restart.pl CLEANUP
System.DNS.zone_format_0 perl:base/dns/dns_restart.pl CLEANUP
System.DNS.zone_xfer_ipaddr perl:base/dns/dns_restart.pl CLEANUP
System.DNS.forwarders perl:base/dns/dns_restart.pl CLEANUP
But I don't know how this file fits into the whole
picture of named reloads from the web interface.
Any pointers as to what may be going wrong here are
appreciated!
Regards,
Filip