The manual page states:
"A single --dhcp-host may contain an IPv4 address or one or more IPv6 addresses, or both."
Yet <https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blob;f=dnsmasq.conf.example;hb=HEAD> doesn't include any example of a host with both type of addresses.
Martin-Éric
- -- System Information:
Debian Release: 11.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-16-amd64 (SMP w/4 CPU threads)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dnsmasq depends on:
ii dnsmasq-base [dnsmasq-base] 2.85-1
ii init-system-helpers 1.60
ii lsb-base 11.1.0
ii netbase 6.3
ii runit-helper 2.10.3
dnsmasq recommends no packages.
Versions of packages dnsmasq suggests:
pn resolvconf <none>
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmLSwuYACgkQrh+Cd8S0
17a6gg/9F8vCNGJG1H1JLs5SkUyCSKBFxVCSVXB07TC7VNgDUVbohHYOBIOeF9KK
YT/gS5jAmO9Ee8b0XstjZlZbqk8u4Zn6QgptIHlek2P842jZ5XyufAWAlRk8Bawc
yV172+3NlvGUGurRcSTR1Ec2ZOUCKafvwL2FCdOhkJf8F0bjfFTomiJxNmQh5W+4
q5N+srsS2LxIUT7f6DeokaipWTsF8EKKVAKqNDIcnUcDLXo+3k3RfRL0nKyB6ExA
As1+mmPswjB+u21dZfX561umQ+cgUpqlF6kGakvcqxg+01eIGjTklhXvf54FU2Hc
qCvG/n3ZtPc+alGu7NHWeB9Qq8/8h7TbW7dxbifYslJVfuLKo1ZHcFBq1uh1QeRF
4M8v128SumVPjHjELek89+uWUt/LfzO9ciE58YL+Zhz7h8UfzYixyO9a47TMb956
W16lWjbvvNK89W2CTg7ccdyARp6tInsxnC7jtUAIin4dVZF8EtxXOPAO+Gewl9A/
Wk8rvP3BXpbjD+g8libLoEJCGnS8qBtWB35Q3P3op+pPFNKzbI9btYBrqh2Sp/I/
+0f8xh8FcTA/8xuWpy8N6CFBOgtjvoUkOiGqKBFt/V66SvG8AfWw1Kku2wvEFjpN
7h+3hNU1oALHWi581HuxeWBZjID4moGSq4Fss7Us0A5rZjnoGl4=
=6g88
-----END PGP SIGNATURE-----