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:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 2:35 AM To: [email protected] 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 _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
