Is it necessary to provide an ntp.ipv4.address
and ntp.ipv6.address
for Pi-hole to provide ntp services to other devices?
If they belong to these switches :
Then YES, you need to provide them to those Settings
What if your running PI-hole on a machine (not in a container)?
The same applies I guess ?!
Please describe a bit more what you are doing exactly ??
`ntp.ipv4.active` enabled `ntp.ipv4.address` undefined
`ntp.ipv6.active` enabled `ntp.ipv6.address` undefined
`ntp.sync.active` enabled `ntp.sync.server` au.pool.ntp.org
`ntp.sync.interval` 3600 `ntp.sync.count` 8
`ntp.sync.rtc.set` not enabled `ntp.sync.rtc.device` undefined
`ntp.sync.rtc.utc` enabled
Aim: Pi-hole to act as an NTP server for both IPv4 and IPv6 on local network.
If your leave it blank it will listen on all addresses. From the pihole you can run sudo ss -tupln |grep 123
and see if its actively listening ( 123 is the port for ntp ).
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
udp UNCONN 0 0 0.0.0.0:123 0.0.0.0:* users:(("pihole-FTL",pid=585,fd=44))
udp UNCONN 0 0 *:123 *:* users:(("pihole-FTL",pid=585,fd=45))
Is this output correct? Also, should it be listening for tcp requests as well?
That is correct and no, NTP is UDP only.
Thank you CallMeCurious.
Finally someone could answer my original question, in that addresses are not necessary for ntp to work (which make sense).
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.