大网数据广告活动
服务器运维问答

Slave DNS server (bind) zone files transffered but data is unreadable

· 52CE 我爱测

I've set up a slave DNS server on Linux using bind. On starting the named service the zone files transffered to slaves/ but the information in the files looks like its in strange computer symbols (i'm not sure what the correct te…

问题原文

原帖链接 · neilH · CC BY-SA 3.0

I've set up a slave DNS server on Linux using bind. On starting the named service the zone files transffered to slaves/ but the information in the files looks like its in strange computer symbols (i'm not sure what the correct term is for this) where there are symbols and squares like the snippet below.

Does anyone know what may have caused this? Have I missed an important step?

已采纳解答

原帖链接 · Paul Haldane · CC BY-SA 3.0

This is default behaviour for Bind 9.10 (at least). See ftp://ftp.isc.org/isc/bind9/cur/9.10/doc/arm/Bv9ARM.ch06.html#zone_statement

masterfile-format
Specifies the file format of zone files (see the section called

“Additional File Formats”). The default value is text, which is the standard textual representation, except for slave zones, in which the default value is raw.

If you need to examine the contents of the zone files on the slave you can either change this setting (to "text") in your config file or use named-compilezone to dump the contents.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-09-12)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。