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

Eugene Pefti eugenep at w3media.net
Wed Apr 23 16:26:17 UTC 2008


I would say "host -l blabla.tld" doesn't produce any SOA at all. Just
statement like this:

Blabla.tld has address xxx.xxx.xxx.xxx

Blabla.tld name server ns1.domain.tld.                                      
Blabla.tld name server ns2.domain.tld.                                      
mail.blabla.tld has address xxx.xxx.xxx.xxx

www.blabla.tld has address xxx.xxx.xxx.xxx

Eugene

-----Original Message-----
From: Norbert Sendetzky [mailto:norbert at linuxnetworks.de] 
Sent: Wednesday, April 23, 2008 2:35 AM
To: pdns-users at mailman.powerdns.com
Cc: Ton van Rosmalen; Eugene Pefti
Subject: Re: [Pdns-users] Duplicate SOA while using dig and zone2sql

On Wednesday 23 April 2008 09:38:39 Ton van Rosmalen wrote:
>  I'd suggest some shell-scripting to do the trick

Even better way:
Use the "host -l <domain>" command to fetch the zone via AXFR. It doesn't
print the SOA record twice to stdout.


Norbert
-- 
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc




More information about the Pdns-users mailing list