/etc/rc.d/ntpdate ignore -4/-6 option and pool keyword

Issue #137 resolved
Takehiko NOZAKI repo owner created an issue

-4/-6 option problem

following server definition in ntp.conf

server -4 ntp.nict.jp

ntpdate script ignores -4 option, so if DNS returns AAAA records, ntpdate(1) send query via IPv6 and fail to connection IPv4 only network.

pool keyword problem

following mutiple line same server definiton(for DNS round robin) is obsolete.

server ntp.nict.jp
server ntp.nict.jp
server ntp.nict.jp
...

now we can use pool keyword instead.

pool ntp.nict.jp

but ntpdate script doesn’t recognize pool keyword.

Comments (1)

  1. Log in to comment