Why does rndc reconfig sometimes resolve recursive server problems with some domains?
- Updated on 11 Jan 2017
- 1 minute to read
There are many poorly-configured DNS servers that provide records that break the the DNS protocols. Depending on how poorly these servers comply, name resolution may work most of the the time. Factors influencing this include the relative TTLs of parent and in-zone NS and glue records and what has been queried for the zone already (thus what is in cache when the next query is received). Improper use of CNAME records can also cause unpredictability (for example having an NS record that points to a CNAME instead of a hostname).
Whilst the onus is on the zone administrator to fix their DNS servers, sometimes it's necessary for operators of recursive servers to clear a problem for their clients - even though this is not addressing the root cause. The problem may most likely recur again too.
Typically, they will use rndc flush or rndc flushname to clear the cache of all related names.
Sometimes an rndc reconfig is more effective.
The reason for this is that as well as re-reading the configuration file and re-initializing various internal settings from it, rndc reconfig also clears the ADB section of cache.
© 2001-2018 Internet Systems Consortium For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership. ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.