[Pdns-users] 3.0-RC2 state of auto serial?

bert hubert bert.hubert at netherlabs.nl
Tue May 31 12:09:04 UTC 2011


It may be best to consider 'autoserial' to be dead for 3.0, and that it
might return in 3.1. It has not been functional for quite some time now, I'm
afraid.

The documentation is not honest about that.

Sorry!

	Bert


On Sun, May 29, 2011 at 11:23:11PM -0400, Charles Sprickman wrote:
> Hello all,
> 
> I am just becoming a daily poster here, aren't I?
> 
> I'm having some issues with the auto serial generation.  The docs
> say that if I have a serial of "0" specified in the SOA record, PDNS
> will look at the most recent "change_date" entry in the records
> table and auto-generate a serial for the zone based on that.
> 
> I'm currently not seeing that happen.  Here's my pgsql records
> structure and an example SOA record:
> 
>  id | domain_id |      name       | type | content
> | ttl  | prio | change_date | ordername | auth
> ----+-----------+-----------------+------+-----------------------------------------------------------------+------+------+-------------+-----------+------
>   1 |         1 | pdnsexample.com | SOA  | pdns1.pdnsexample.com
> hostmaster.foo.com 0 3600 3600 10800 3600 | 3600 |    0 |
> 1306724744 |           |
> (1 row)
> 
> "change_date" is an integer with a default of "EXTRACT(EPOCH FROM
> CURRENT_TIMESTAMP);" and it's currently populated with unix
> timestamp values as shown above.
> 
> Even after purging the cache, I still get this:
> 
> [root at pdns1 /home/spork]# dig @x.x.x.38 -t soa pdnsexample.com
> 
> ;; QUESTION SECTION:
> ;pdnsexample.com.		IN	SOA
> 
> ;; ANSWER SECTION:
> pdnsexample.com.	3600	IN	SOA	pdns1.pdnsexample.com.
> hostmaster.pdnsexample.com. 0 3600 3600 10800 3600
> 
> Note the "zero" for the serial line.
> 
> Am I doing something wrong?  Is "change_date" supposed to be a
> different type?
> 
> Thanks,
> 
> Charles
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 
-------------- next part --------------
-- 
PowerDNS Website: http://www.powerdns.com/
PowerDNS Community Website: http://wiki.powerdns.com/


More information about the Pdns-users mailing list