zone transfer with DIG: SOA duplicate

Michael Sinatra michael at rancid.berkeley.edu
Mon Mar 19 17:41:22 UTC 2012


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



More information about the bind-users mailing list