Article ID: 119924, created on Jan 31, 2014, last review on May 8, 2014

  • Applies to:
  • H-Sphere 3.6.3

Symptoms

After H-sphere upgrade from 3.6.2 to 3.6.3 zone files of domains on the slave server are in the binary format.

[root@ns2 ~]# vim /hsphere/local/var/named/zones1/1/example.com

^@^@^@^B^@^@^@^ARÃ5v^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@g^@^A^@^F^@^@^@^AQ<80>^@^@^@^A^@^S
superpaisa^Ccom^Bmx^@^@>^Cns1^Hsiteness^Cnet^@  webmaster^Hsiteness^Cnet^@wÃGÃ
^@^@^@^AQ<80>^@^@^@^A^@^S^AQ<80>^@^@^@:^@^A^@^PP
superpaisa^Ccom^Bmx^@^@^Q^Pv=spf1 a mx -all^@^@^@@^@^A^@^O^@^@^@^AQ<80>^@^@^@^A^@^S
superpaisa^Ccom^Bmx^@^@^W^@
^Email3 gohsphere^Ccom^@^@^@^@-^@^A^@^A^@^@^@^AQ<80>^@^@^@^A^@^S
superpaisa^Ccom^Bmx^@^@^D­^@<89>õ^@^@^@O^@^A^@^B^@^@^@^AQ<80>^@^@^@^B^@^S
superpaisa^Ccom^Bmx^@^@^R^Cns1^Hsiteness^Cnet^@^@^R^Cns2^Hsiteness^Cnet^@^@^@^@/^@^A^@^A^@^@^@^AQ<80>^@^@^@^A^@^U^A*
superpaisa^Ccom^Bmx^@^@^D­^@<89>õ^@^@^@C^@^A^@^E^@^@^@^AQ<80>^@^@^@^A^@^X^Dmail
superpaisa^Ccom^Bmx^@^@^U^Email3        gohsphere^Ccom^@

Cause

According to our release notes ISC BIND upgraded to 9.9 branch

Slave zone data files in BIND 9.9 are in "raw" format by default.

Resolution

You can convert "raw" format zone files to "text" format using the named-compilezone utility that comes with BIND.

raw to text:

# convert raw zone file "example.net.raw", containing data for zone example.net,
# to text-format zone file "example.net.text"
#
#   (command)     (format options)   (output file)  (zone origin) (input file)
named-compilezone -f raw -F text -o example.net.text example.net example.net.raw

text to raw:

# convert text format zone file "example.net.text", containing data for zone
# example.net, to raw zone file "example.net.raw"
#
#   (command)     (format options)   (output file) (zone origin)  (input file)
named-compilezone -f text -F raw -o example.net.raw example.net example.net.text

Search Words

named-compilezone

zone files of domains on the slave server are in the binary format

BIND 9.9

H-sphere upgrade 3.6.3

raw

6b908665c0d1eca5bdd0141a32fd712a 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF