allow-update issue

This is a discussion on allow-update issue within the Bind Users forums, part of the DNS and Related Forums category; Hi, I got the problem to reload the zone file if I set allow-update and manaully config the zone ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-14-2004
Linda
 
Posts: n/a
Default allow-update issue

Hi,
I got the problem to reload the zone file if I set allow-update and manaully config the zone file.

1.I added the following config in /etc/named.conf
zone "4567.com" {
type master;
file "4567.com.db";
allow-update {
127.0.0.1;
192.168.1.1;
};
};

2.I created a zone file
$TTL 3600 ; 1 hour
4567.com. IN SOA test.ttn.net. lindahu.noc.ttn.net. (
2004081301 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
3600 ; minimum (1 hour)
)
NS test.ttn.net.
NS test1.ttn.net.

3. rndc reload

4. dig 4567.com SOA => I can get the correct SOA

5. I modify the zone file
$TTL 3600 ; 1 hour
4567.com. IN SOA test.ttn.net. lindahu.noc.ttn.net. (
2004081302 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
3600 ; minimum (1 hour)
)
NS test.ttn.net.
NS test1.ttn.net.
www IN A 192.168.1.2

6. rndc reload

7. dig 4567.com SOA => the serial is still the old one - 2004081301
dig www.4567.com => I can't get the A record for www

However, I found if I removed allow-update from /etc/named.conf, everything will be fine.
zone "4567.com" {
type master;
file "4567.com.db";
};

This zone file doesn't have .jnl and never updates by dynamic dns.

If allow-update is setted, can't I update zone manually?



Thanks


Linda


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0