✘"server -4 hostname -6" does not IPv6
Gary E. Miller
gem at rellim.com
Tue Apr 2 23:43:56 UTC 2019
Yo Hal!
On Tue, 2 Apr 2019 16:40:24 -0700
"Gary E. Miller via devel" <devel at ntpsec.org> wrote:
> The -6 after server name is not working for me.
>
> This config:
>
> server -4 pi3.rellim.com -6 nts maxpoll 5 # pi3
>
> Still makes an ntpd coonection to the IPv4 address: 204.17.205.23.
>
>
> 2019-04-02T16:31:54 ntpd[3591]: DNS: dns_probe: pi3.rellim.com,
> cast_flags:1, fl ags:20801
> 2019-04-02T16:31:54 ntpd[3591]: DNS: dns_check: processing
> pi3.rellim.com, 1, 20 801
> 2019-04-02T16:31:54 ntpd[3591]: DNS: Server taking: 204.17.205.23
> 2019-04-02T16:31:54 ntpd[3591]: PROTO: 204.17.205.23 unlink local
> addr 127.0.0.1 -> 204.17.205.27
> 2019-04-02T16:31:54 ntpd[3591]: DNS: dns_take_status:
> pi3.rellim.com=>good, 0 2019-04-02T16:31:54 ntpd[3591]: PROTO:
> 204.17.205.23 a014 84 reachable
Oh, the parser decided to ignore the "nts" again. I got a plain
ntpd connection:
Apr 2 16:32:46 kong ntpd[5106]: INIT: ntpd ntpsec-1.1.3+ 2019-04-02T22:27:28Z (
git rev 8808e1d75): Starting
Apr 2 16:32:46 kong ntpd[5106]: INIT: Command line: ntpd -N
Apr 2 16:32:46 kong ntpd[5107]: INIT: precision = 0.117 usec (-23)
Apr 2 16:32:46 kong ntpd[5107]: INIT: successfully locked into RAM
Apr 2 16:32:46 kong ntpd[5107]: CONFIG: readconfig: parsing file: /etc/ntp.conf
Apr 2 16:32:46 kong ntpd[5107]: CONFIG: line 47 column 19 syntax error, unexpec
ted T_Ipv6_flag, expecting T_EOC
Apr 2 16:32:46 kong ntpd[5107]: CONFIG: syntax error in /etc/ntp.conf line 47,
column 19
Line 47, column 19, is the "-6".
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190402/84548ac6/attachment.bin>
More information about the devel
mailing list