[Pdns-users] Auto SOA record serial
Nick Douma
n.douma at nekoconeko.nl
Tue Dec 6 15:30:33 UTC 2011
Hi,
According to the docs, if I use the value 0 in place of the serial value
in the content of a SOA record, PowerDNS should retrieve the highest
change_date of all the records in that zone and use that as serial. My
record looks as follows:
example.com SOA ns1.example.net webmaster.example.net 0 16384 2048
1048576 900
When I retrieve the record using dig, I see:
$ host -t SOA example.com
oppai.nl has SOA record ns1.example.net webmaster.example.net 0 16384
2048 1048576 900
$ dig -t SOA example.com
; <<>> DiG 9.7.3 <<>> -t SOA example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39399
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;example.com. IN SOA
;; ANSWER SECTION:
example.com. 2557 IN SOA ns1.example.net. webmaster.example.net. 0
16384 2048 1048576 900
;; ADDITIONAL SECTION:
ns1.example.net. 896 IN A ...
;; Query time: 12 msec
;; SERVER: 172.16.20.3#53(172.16.20.3)
;; WHEN: Tue Dec 6 16:28:20 2011
;; MSG SIZE rcvd: 100
I'm not sure what I'm doing wrong, am I missing a configuration option
somewhere?
Kind regards,
Nick Douma
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20111206/e2de5ad4/attachment.sig>
More information about the Pdns-users
mailing list