rndc is not reloading the zones

Mark_Andrews at isc.org Mark_Andrews at isc.org
Thu Oct 4 06:59:17 UTC 2001


	Do you want help or not?

	If you do post EXACTLY what named is seeing.  No hiding of names
	or IP addresses.  It's amazing how many errors are "fixed" when
	people try to anonymize data.

	Mark


> (Michael -- I apologize for emailing this to you personally, I hit the wrong
> button. I would email you an apology, but that would be even more annoying,
> so I'm postnig it here.)
> 
> yes, I am incrementing the serial number by one every time a new host is
> added. i think what i may be missing is the "allow-update" line in the zone
> statement.
> 
> named.conf:
> 
> // generated by named-bootconf.pl
> 
> options {
>         directory "/shared/dns1";
>         /*
>          * If there is a firewall between you and nameservers you want
>          * to talk to, you might need to uncomment the query-source
>          * directive below.  Previous versions of BIND always asked
>          * questions using port 53, but BIND 8.1 uses an unprivileged
>          * port by default.
>          */
>         query-source address * port 53;
> };
> 
> controls {
>  inet * allow { any; } keys { "rndc-key"; };
> };
> 
> key "rndc-key" {
>  algorithm hmac-md5;
>  secret "<changed>";
> };
> 
> //
> // a caching only nameserver config
> //
> zone "." {
>         type hint;
>         file "named.ca";
> };
> 
> zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "named.local";
> };
> 
> zone "<ress.add.ip>.in-addr.arpa" {
>         type master;
>         file "ip.add.ress";
>         };
> 
> 
> zone "hostname.com" {
>         type master;
>         file "hostame.com";
> };
> 
> 
> rndc.conf:
> 
> options {
>  default-server localhost;
>  default-key "rndc-key";
> };
> 
> key "rndc-key" {
>  algorithm hmac-md5;
>  secret "<changed>";
> };
> 
> 
> zone file:
> 
> $TTL 86400
> @       IN      SOA     ns1.hostname.com root.hostname.com.  (
>                                       0116200112 ; Serial
>                                       28800      ; Refresh
>                                       14400      ; Retry
>                                       3600000    ; Expire
>                                       86400 )    ; Minimum
> @                       IN NS      dns1
> @   IN MX  1 mail.hostame.com.
> mail   IN A 192.168.0.0
> @   IN A 192.168.0.0
> hostame.com.  IN A 192.168.0.0
> webserv1                IN      A       192.168.0.0
> www   IN A 192.168.0.0
> 
> 
> i've changed the ip addresses to protect the innocent.
> 
> am i missing something vital, or am i looking at a bug in bind? it seems
> like a pretty big bug to slip through
> 
> 
> thanks,
> John Stotler
> 
> "Michael Münz" <mase at astalavista.com> wrote in message
> news:9p6gb8$fk1 at pub3.rc.vix.com...
> > give an example of your config files
> >
> >
> > "Brian Salomaki" <brian at gambitdesign.com> schrieb im Newsbeitrag
> > news:9p2kaa$4va at pub3.rc.vix.com...
> > >
> > > Have you made sure to update the serial in the SOA record?
> > >
> > > On Friday 28 September 2001 10:34 am, you wrote:
> > > > I'm running bind 9.1.3 and i've gotten rndc to reload, but it doesn't
> > > > reload the zone files, even if I explicitly tell it to reload a
> specific
> > > > zone.
> > > >
> > > > Is there something that I need in rndc.conf or named.conf to allow for
> > > > this? I didn't have to worry about it in bind 8....
> > >
> > > --
> > > Brian Salomaki
> > > Gambit Design Internet Services
> > > 110 E. State St., Suite 18, Kennett Square, PA 19348
> > > DNSbox: http://gambitdesign.com
> > >
> > >
> >
> >
> >
> >
> >
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list