[Pdns-users] Duplicate SOA while using dig and zone2sql

bert hubert bert.hubert at netherlabs.nl
Tue Apr 22 17:50:24 UTC 2008


On Tue, Apr 22, 2008 at 10:36:40AM -0700, Eugene Pefti wrote:
> Hi folks,
> 
> I've just discovered one peculiar bug with dig utility while doing domains
> migration with zone2sql.
> If you run dig this way:
> # dig @nameserver domain.zone AXFR > zone.file 
> It produces two SOA records. Why is that ? Am I doing something wrong? Can
> anybody advise please?

'dig' emits two SOA records, which is an artefact of the AXFR protocol,
which terminates an AXFR with a final duplicate SOA record.

Not a lot can be done about this.

	Bert

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services


More information about the Pdns-users mailing list