I m trying to address a container with public ipv4 and ipv6. Badly I ve currently a single ipv4, but an ipv6 network. I want to expose services like webserver and ssh in theses containers. And will certainly have an issue to proxy the mails but that’s not the point.
I want lxd’s dnsmasq able to respond a public ipv4 and the public ipv6.
I succedded to address my containers with ipv6 and getting dns record. But I stuck on ipv4. So, currently, I’ve host nic eth0 (ipv4, ipv6) and host bridge lxdbr0 for lxd c1 (ipv6):
- host nic eth0 is listen interface for a host dnsmasq, set to handle dns ipv4 and query lxd dnsmasq about ipv6.
- lxdbr0 is listen interface for lxd dnsmasq.
I tryed somes dnsmasq directives:
- address, but it overrides all the records and I dont get AAAA.
- host-record, but lxd is overriding it.
Host-record is the way to go, in my opnion, but If I set host-record=non-c,126.96.36.199, then non-c A is correct but I miss non-c AAAA moreover, the non-c container doesnt exists.
At the moment, my issue is: why lxd is overriding host-record A, when I set ipv4.address: none ? How could I tell dnsmasq “complet your answer AAAA with this A” ?