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

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

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

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

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

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