此内容没有您所选择的语言版本。

12.6. Common Mistakes to Avoid


It is very common for beginners to make mistakes when editing BIND configuration files. Be sure to avoid the following issues:
  • Take care to increment the serial number when editing a zone file.
    If the serial number is not incremented, the master nameserver has the correct, new information, but the slave nameservers are never notified of the change and do not attempt to refresh their data of that zone.
  • Be careful to use ellipses and semi-colons correctly in the /etc/named.conf file.
    An omitted semi-colon or unclosed ellipse section can cause named to refuse to start.
  • Remember to place periods (.) in zone files after all FQDNs and omit them on hostnames.
    A period at the end of a domain name denotes a fully qualified domain name. If the period is omitted, then named appends the name of the zone or the $ORIGIN value to complete it.
  • If a firewall is blocking connections from the named program to other nameservers, edit its configuration file.
    By default, BIND version 9 uses random ports above 1024 to query other nameservers. Some firewalls, however, expect all nameservers to communicate using only port 53. To force named to use port 53, add the following line to the options statement of /etc/named.conf:
    query-source address * port 53;
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.