Re: zone files in bind-9.9

2013-01-06 Thread Carsten Strotmann

Hello Feng,

Feng He fen...@nsbeta.info writes:

 I upgraded my BIND from 9.7 to 9.9.
 For BIND 9.7 all zone files under /var/cache/bind are clear textes.
 But under BIND 9.9 it seems the zone files are binary format.
 So how can we check the content of zone files now?

you can use named-compilezone to convert from RAW-Format to Text-Format.

Or you can use dig with axfr to get a zone-transfer from the server
(dig @server axfr zone.tld).

You can change the format for writing zone files in the named.conf if
you prefer the text format files.

-- Carsten

___
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 files in bind-9.9

2013-01-06 Thread Feng He
于 2013-1-6 21:53, Carsten Strotmann 写道:
 you can use named-compilezone to convert from RAW-Format to Text-Format.
 
 Or you can use dig with axfr to get a zone-transfer from the server
 (dig @server axfr zone.tld).
 
 You can change the format for writing zone files in the named.conf if
 you prefer the text format files.

Thanks for the kind info Carsten.
___
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 files in bind-9.9

2013-01-06 Thread Matus UHLAR - fantomas

On 06.01.13 21:23, Feng He wrote:

I upgraded my BIND from 9.7 to 9.9.
For BIND 9.7 all zone files under /var/cache/bind are clear textes.
But under BIND 9.9 it seems the zone files are binary format.
So how can we check the content of zone files now?


named-compilezone -j -F text zonefile should do 
--

Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Support bacteria - they're the only culture some people have. 
___

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 files in bind-9.9

2013-01-06 Thread Feng He
Another question, since the zone files are raw format now, how can we
edit the zones? I use nsupdate only so it's not a problem, but for
editting by hand, how to?

Thanks.

于 2013-1-6 21:53, Carsten Strotmann 写道:
 you can use named-compilezone to convert from RAW-Format to Text-Format.
 
 Or you can use dig with axfr to get a zone-transfer from the server
 (dig @server axfr zone.tld).

___
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 files in bind-9.9

2013-01-06 Thread Mark Andrews

In message 50ea2724.2090...@nsbeta.info, Feng He writes:
 Another question, since the zone files are raw format now, how can we
 edit the zones? I use nsupdate only so it's not a problem, but for
 editting by hand, how to?
 
 Thanks.

Master zones still use text format by default.

Slave zones use raw format by default.  You are not expected to
edit slave zones.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
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 files in bind-9.9

2013-01-06 Thread Feng He
于 2013-1-7 10:44, Mark Andrews 写道:
 Master zones still use text format by default.
 
 Slave zones use raw format by default.  You are not expected to
 edit slave zones.

OK I see. that's right.
___
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