`
ihuashao
  • 浏览: 4545284 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

DNS Bind9 错误排除(TroubleShooting)

阅读更多

查看错误日志:
# tail -n 20 /var/log/syslog
# tail -n 20 /var/log/messages

命令行工具:
# /usr/sbin/named-checkconf
# /usr/sbin/named-checkzone

/etc/host.conf文件:
“order hosts bind”语句,用于指定对主机名的解析顺序是先到hosts中查找,然后到dns服务器的记录里查找。“multi on”则是允许一个主机名对应多个ip地址。内容:
order hosts, bind
multi on
nospoof on

/etc/hosts文件:定义主机名称
/etc/resolv.conf:定义本机dns客户端使用的dns主机地址
/etc/hostname:定义主机名称

推荐文章:

【BIND 常见的错误信息】http://blog.chinaunix.net/u/12066/showart_60690.html
【Bind安装与配置】http://www.bleur.org/blog/archives/31
【Bind 9 DNS服务器的安装配置记录】http://spire.spaces.live.com/blog/cns!8CE483F458A23E32!506.entry
【请高手帮忙看下DNS配置那出错】http://linux.chinaunix.net/bbs/thread-911214-1-1.html

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics