Hi,

I have the debian package pdns-server version 2.9.22-8 installed.

The zone2sql man page refers to an option  --startid=<id>
This appears to be invalid though, because using it I get this error:

# zone2sql --zone=foo.zone --startid=2
Fatal error: Trying to set unexisting parameter 'startid'

If I use 'start-id' instead, it accepts it, but still doesn't work:

# zone2sql --zone=foo.zone --start-id=2
Second SOA in zone, raised domain_id
insert into records (domain_id, name,type,content,ttl,prio) values (0, 'foo.tld.', 'SOA', 'ns.foo.tld admin.foo.tld 1 86400 7200 2419200 3600', 3600, 0);
1 domains were fully parsed, containing 1 records

In the above I was expecting 'values(2, foo.tld...) instead of 'values(0, foo.tld...)

This is what the file foo.zone contains (just one line):

# cat foo.zone
foo.tld IN  SOA  ns.foo.tld admin.foo.tld ( 1 1d 2h 4w 1h )


What am I missing here? Is this a bug?

Many thanks,
Thomas
_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to