On 04.01.24 09:46, Masin wrote:
Hi Buck,
thanks for your hints. Sadly, they don't work.
3. Januar 2024 18:48, "Buck Horn via Dnsmasq-discuss"
<dnsmasq-discuss@lists.thekelleys.org.uk>
schrieb:
> (...)
> Regarding your configuration: Did you try a configuration with just
listen-address and bind-interfaces, without interface, no-dhcp-interface, and
except-interface options?
I try to avoid that because I want dnsmasq to bin to whatevet IPv6 address the
container receives.
I'm still new to IPv6 but I want to make it work in my local network. And as
DHCPv6 seems to work
quite different I don't know what address to expect for the container.
But it's worth a try.
root@lan-basics:~# systemctl start dnsmasq.service
Job for dnsmasq.service failed because the control process exited with error
code.
See "systemctl status dnsmasq.service" and "journalctl -xeu dnsmasq.service"
for details.
root@lan-basics:~# cat /etc/dnsmasq.d/dns.conf
domain-needed
bogus-priv
listen-address=10.23.40.53,fd00::2e2:69ff:fe61:fe9f
log-queries=extra
cache-size=1000
dnssec
no-resolv
#domain=wiedner.berlin
expand-hosts
no-negcache
servers-file=/etc/dnsmasq.d/google.dns
#servers-file=/etc/dnsmasq.d/quad9.dns
conf-file=/usr/share/dnsmasq-base/trust-anchors.conf
That config is missing the suggested bind-interfaces option. ;)
As for DHCPv6:
It's probably a good idea to concern yourself with IPv6 only once IPv4
is working.
Most clients won't use DHCPv6 anyway.
IPv6 clients may join a network via SLAAC or Stateless or Stateful DHCPv6.
MacOS and Linux could do all three early on.
Windows preferred DHCPv6 for a long time, I believe supporting SLAAC
started with the introduction of Win8.1 or 10.
Android only does and only ever did SLAAC.
It's a client's OS (and its configuration, of course, as well as the
router configuration) that decides which mechanism is employed, but
there's a strong preference for SLAAC as a default.
You may even find out that you do not need DHCPv6 at all.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss