Why ntpd is not updating DNS resolution after initial start

Solution Verified - Updated -

Issue

  • The ntpd (NTP Daemon) is configured to connect to servers via a DNS alias (CNAME). There was a change of time server and the CNAME was updated to point to the new server, but ntpd is not resolving the new IP at runtime it keeps its association to the original IP despite it is no longer reachable, until the ntpd is restarted.

  • It appears that ntp development branch 4.2.7 has implemented an async DNS resolver which can be called any time, instead of calling getaddrinfo() only once at start up.

  • Is there any workaround for ntp4.2.6 ?

Environment

  • Red Hat Enterprise Linux 6.4
  • ntp4.2.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.