++ 23/04/08 23:20 +0200 - Ton van Rosmalen:
> I've been brushing up my skills using sed and came to the following:
> dig @$DNSSERVER $DOMAIN AXFR | sed -e '/;/d;/SOA/{h; d;};$g'
>
> This strips out comments and pastes one SOA record at the end after
> deleting all occurrences from the dig-o
On Wed, Apr 23, 2008 at 2:52 PM, Mick Pollard <[EMAIL PROTECTED]> wrote:
> To migrate from bind to pdns-mysql I plan on just adding all my domains into
> pdns as slaves with the existing bind as master and let it do axfr's and
> populate the db for me.
> Then when it is complete I will just upd
On Tue, 22 Apr 2008 10:36:40 -0700
"Eugene Pefti" <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I've just discovered one peculiar bug with dig utility while doing domains
> migration with zone2sql.
>snip<
> I guess dnswalk is a better alternative to dig but just in case is there
> anything that coul
Hi Eugene,
Eugene Pefti schreef:
Hi
Ton,
This
is almost exactly what I do with shell and utilities. My
script looks like this:
#!/bin/bash
DNSSERVER=xxx.xxx.xxx.xxx
On Wednesday 23 April 2008 18:26:17 Eugene Pefti wrote:
> I would say "host -l blabla.tld" doesn't produce any SOA at all. Just
> statement like this:
The correct calls are:
host -Z -t SOA 1>domain.tld
host -Z -l 1>>domain.tld
zone2sql --zone-name= --zone=domain.tld
Norbert
--
OpenPGP publ
com
Subject: Re: [Pdns-users] Duplicate SOA while using dig and zone2sql
Eugene,
I'd suggest some shell-scripting to do the trick
Create a file containing the zones the check. One zone per line, in the
sample below I've used the name 'zonelist'. Then execute the following
sc
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 " command to fetch the zone via AXFR. It doesn't
print the SOA record
Hi Norbert,
That's right but zone2sql doesn't seem to understand the output of
"host -l".
Ton
Norbert Sendetzky schreef:
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 "
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 " 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/nor
ednesday, April 23, 2008 12:08 AM
To: Eugene Pefti
Cc: pdns-users@mailman.powerdns.com
Subject: Re: [Pdns-users] Duplicate SOA while using dig and zone2sql
Hi Eugene,
Eugene Pefti schreef:
Can anybody tell me why this doesn't work:
#dig axfr domain.tld @xxx.xxx.xxx.xxx | zone2sq
: [Pdns-users] Duplicate SOA while using dig and zone2sql
Hi Eugene,
Eugene Pefti schreef:
> Can anybody tell me why this doesn't work:
>
> #dig axfr domain.tld @xxx.xxx.xxx.xxx | zone2sql --gmysql --zone=- | mysql
> -u root -D pdns
>
> I do exactly what is said in pdns docum
Hi Eugene,
Eugene Pefti schreef:
Can anybody tell me why this doesn't work:
#dig axfr domain.tld @xxx.xxx.xxx.xxx | zone2sql --gmysql --zone=- | mysql
-u root -D pdns
I do exactly what is said in pdns documentation, my problem is --zone=- is
not understood just because "-" option doesn't work.
to:[EMAIL PROTECTED] On Behalf Of Eugene Pefti
Sent: Tuesday, April 22, 2008 10:59 AM
To: pdns-users@mailman.powerdns.com
Subject: RE: [Pdns-users] Duplicate SOA while using dig and zone2sql
Well, I don't have anything against artifacts of AXFR protocol but what
about improvements that were ann
ubject: Re: [Pdns-users] Duplicate SOA while using dig and zone2sql
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:
> #
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 tha
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?
I guess dnswalk i
16 matches
Mail list logo