Package: dnsmasq
Version: 2.91-1+deb13u1
Severity: important
X-Debbugs-Cc: [email protected],[email protected]

I have the following in dnsmasq.conf to test dhcpcd's ability to receive all 3 
NTP options:

dhcp-option=option:ntp-servers,162.159.200.1,162.159.200.123
dhcp-option=option6:sntp-servers,[2606:4700:f1::1],[2606:4700:f1::123]
dhcp-option=option6:ntp-server,time.cloudflare.com

dnsmasq complains of a bad dhcp-option at those lines.

There also seems to be discrepancies between what dhcpcd and dnsmasq expect as 
variable names (singular or plural):

sudo dhcpcd --variables| grep ntp
unknown option: sntp_servers
unknown option: ntp_server
042 ntp_servers                                  array ipaddress
071 nntp_server                                  array ipaddress
00031 sntp_servers                               array ip6address
00056 ntp_server                                 encap

Given this I'm also including Roy (dhcpcd upstream) in CC. It would of course 
be desirable for both software to use RFC-compliant names.

Cheers!
Martin-Éric

-- System Information:
Debian Release: 13.6
  APT prefers stable-security-debug
  APT policy: (500, 'stable-security-debug'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.95+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dnsmasq depends on:
ii  dnsmasq-base [dnsmasq-base]  2.91-1+deb13u1
ii  init-system-helpers          1.69~deb13u1
ii  netbase                      6.5
ii  runit-helper                 2.16.4

dnsmasq recommends no packages.

Versions of packages dnsmasq suggests:
pn  resolvconf  <none>

-- no debconf information

Reply via email to