Hi, I am using dnsmasq in an environment with a dynamic IPv6 prefix. On a few of my servers I am using statically assigned IP addresses for IPv4 and static interface tokens for IPv6 (through systemd-networkd). This way the machines will always have predictable v4 and v6 addresses without DHCP or SLAAC in the following format:
v4: 192:168.1.1 v6: dead::beef:192:168:1:1 (where dead::beef if the current IPv6 prefix). Now I'd like to add AAAA records for these hostnames in dnsmasq. When defining DHCP/SLAAC ranges in dnsmasq there is the "constructor:infname" syntax which automagically uses the interface's current IPv6 prefix. Is there something like that for host records? Something like this would be super cool, but I cannot get it to work: host-record=laptop,laptop.thekelleys.org,192.168.1.1,::192.168.1.1,constructor:eth0 Is there any other way to do what I am doing? I know about the "ra-names" feature but unfortunately it's not compatible with IPv6 interface tokens other than the MAC address (a.k.a. default SLAAC). Best regards Frederik _______________________________________________ Dnsmasq-discuss mailing list [email protected] http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
