19.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 daemon to other nameservers, the recommended best practice is to change the firewall settings whenever possible. For important security information regarding fixed UDP source ports, refer to Section 19.4.1.1, “Firewall Blocking Communication”
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.