Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Corrupt zone transfer

188 views
Skip to first unread message

Danny Horne

unread,
Jun 29, 2012, 11:10:52 AM6/29/12
to bind-...@lists.isc.org
Hi all,

I currently run two Bind 9.9.* nameservers (details below), I've just added a slave zone to the Windows one, the Linux one being the master.  The zone transferred, however, seems to be corrupt in that when opened in Notepad it contains what I can only describe as gobbledegook.  The master zone file was created with Vim if that's any help.

Master server
Linux (CentOS)
Bind 9.9.0

Slave server
Windows Server 2003 64 Bit
Bind 9.9.1-P1

Thanks for looking
--
One blog to rule them all,
One blog to reach them,
One blog to bring them all,
And through the writings teach them

Lyle Giese

unread,
Jun 29, 2012, 11:22:53 AM6/29/12
to bind-...@lists.isc.org
On 06/29/12 10:10, Danny Horne wrote:
Hi all,

I currently run two Bind 9.9.* nameservers (details below), I've just added a slave zone to the Windows one, the Linux one being the master.  The zone transferred, however, seems to be corrupt in that when opened in Notepad it contains what I can only describe as gobbledegook.  The master zone file was created with Vim if that's any help.

Master server
Linux (CentOS)
Bind 9.9.0

Slave server
Windows Server 2003 64 Bit
Bind 9.9.1-P1

Try
dig @slave axfr example.com

I bet this will look right.  The slave zone is probably in raw format.

Lyle Giese
LCR Computer Services, Inc.

Danny Horne

unread,
Jun 29, 2012, 11:31:23 AM6/29/12
to Todd Snyder, bind-...@lists.isc.org
Thanks Todd,

Seeing it cleanly when doing that so I guess the zone file itself is ok

On 29 June 2012 16:24, Todd Snyder <tsn...@rim.com> wrote:

From your slave, if you do

 

dig @[master server] zonename AXFR

 

Do you get nice text, or garbage?

 

From: bind-users-bounces+tsnyder=rim...@lists.isc.org [mailto:bind-users-bounces+tsnyder=rim...@lists.isc.org] On Behalf Of Danny Horne
Sent: Friday, June 29, 2012 11:11 AM
To: bind-...@lists.isc.org
Subject: Corrupt zone transfer

 

Hi all,

I currently run two Bind 9.9.* nameservers (details below), I've just added a slave zone to the Windows one, the Linux one being the master.  The zone transferred, however, seems to be corrupt in that when opened in Notepad it contains what I can only describe as gobbledegook.  The master zone file was created with Vim if that's any help.

Master server
Linux (CentOS)
Bind 9.9.0

Slave server
Windows Server 2003 64 Bit
Bind 9.9.1-P1

Thanks for looking
--
One blog to rule them all,
One blog to reach them,
One blog to bring them all,
And through the writings teach them

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Tony Finch

unread,
Jun 29, 2012, 11:48:31 AM6/29/12
to Danny Horne, bind-...@lists.isc.org
Danny Horne <da...@thelake.me> wrote:
>
> I currently run two Bind 9.9.* nameservers (details below), I've just
> added a slave zone to the Windows one, the Linux one being the master. 
> The zone transferred, however, seems to be corrupt in that when opened
> in Notepad it contains what I can only describe as gobbledegook. 

BIND 9.9 stores slave zones in raw format by default. You can get a
standard textual version using
named-compilezone -j -f raw -o outfile zonename infile

Tony.
--
f.anthony.n.finch <d...@dotat.at> http://dotat.at/
Forties, Cromarty, Forth, Tyne, Dogger, Fisher: South or southwest 5 to 7,
decreasing 4 at times later. Moderate or rough. Showers. Good, occasionally
moderate.
0 new messages