Re: zone transfer with DIG: SOA duplicate

2012-03-19 Thread michoski
On 3/19/12 10:49 AM, "hugo hugoo"  wrote:
> thanks for this quick answer.
> I am a liitle bit lost...
>  
> What is the starting and ending SOA record?
>  
> In the original zone, there is ony one SOA record...

FWIW,

When transferring it is normal to get the SOA as first and last record.  Use
+onesoa to avoid this with dig.  Lots of info on Google about this.  Also in
dig's man page, depending on your BIND/dig version.

-- 
Don't worry about avoiding temptation -- as you grow older, it starts
avoiding you.  -- The Old Farmer's Almanac


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: zone transfer with DIG: SOA duplicate

2012-03-19 Thread Jan-Piet Mens
> What is the starting and ending SOA record?
>  
> In the original zone, there is ony one SOA record...

The "starting" SOA is the SOA in your zone. The final SOA is used to
indicate end-of-transfer and is a copy of the first; you can safely
ignore it or, as Michael pointed out, supress it.

-JP
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: zone transfer with DIG: SOA duplicate

2012-03-19 Thread Anand Buddhdev
On 19/03/2012 18:49, hugo hugoo wrote:

> thanks for this quick answer.
> I am a liitle bit lost...
>  
> What is the starting and ending SOA record?
>  
> In the original zone, there is ony one SOA record...

The SOA record at the end signals the end of the zone transfer.

Regards,

Anand
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


RE: zone transfer with DIG: SOA duplicate

2012-03-19 Thread hugo hugoo

Hello,
 
thanks for this quick answer.
I am a liitle bit lost...
 
What is the starting and ending SOA record?
 
In the original zone, there is ony one SOA record...
 
Hugo,
 

 

> Date: Mon, 19 Mar 2012 10:41:22 -0700
> From: mich...@rancid.berkeley.edu
> To: hugo...@hotmail.com
> CC: bind-users@lists.isc.org
> Subject: Re: zone transfer with DIG: SOA duplicate
> 
> On 03/19/12 10:33, hugo hugoo wrote:
> > Dear all,
> >
> > I have this strange behaviour when I do a zone transfer with the
> > following commande:
> >
> > dig @name_server zone_name AXFR
> >
> >
> > ==> I received 2 SOA records (duplicates).
> >
> > One SOA record is at the end of the received information.
> >
> >
> > Is this normal?
> 
> Yes.
> 
> In recent versions of dig, you can use the following option, as 
> documented in the man page:
> 
> +[no]onesoa
> Print only one (starting) SOA record when performing an 
> AXFR. The
> default is to print both the starting and ending SOA records.
> 
> 
> michael
  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: zone transfer with DIG: SOA duplicate

2012-03-19 Thread Michael Sinatra

On 03/19/12 10:33, hugo hugoo wrote:

Dear all,

I have this strange behaviour when I do a zone transfer with the
following commande:

dig @name_server zone_name AXFR


==> I received 2 SOA records (duplicates).

One SOA record is at the end of the received information.


Is this normal?


Yes.

In recent versions of dig, you can use the following option, as 
documented in the man page:


   +[no]onesoa
   Print only one (starting) SOA record when performing an 
AXFR. The

   default is to print both the starting and ending SOA records.


michael
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


zone transfer with DIG: SOA duplicate

2012-03-19 Thread hugo hugoo

Dear all,
 
I have this strange behaviour when I do a zone transfer with the following 
commande:
 
dig @name_server  zone_name AXFR
 
 
==> I received 2 SOA records (duplicates).
 
One SOA record is at the end of the received  information.
 
 
Is this normal?
 
 
Thanks for any feedback,
 
Hugo,
 
 
PS I used a DIG from a BIND 9.7 on redhat.  
  ___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users