For a single host with dual IPv4/v6, it get's it's IPv4 address from the vyos dhcp server, and it's IPv6 address from slaac.
show service dhcp-server shared-network-name LAN subnet 192.168.10.0/24 static-mapping myhost ip-address 192.168.10.4 mac xx:xx:xx:xx:xx:xx show system static-host-mapping host-name myhost.mydomain inet yyyy:yyyy:yyyy:10:xxxx:xxxx:xxxx:xxxx
I can then resolve the IPv4 address from the powerdns server, but given vyos doesn't know about it's IPv6 address, I add a manual DNS entry with set system static-host-mapping.
Whilst the IPv6 address does make it into the /etc/hosts file, it still will not resolve with powerdns.
This appears to be because the host entries from the dhcp server and /etc/hosts are not merged into a single line within /run/pdns-recursor/recursor.vyos-hostsd.conf.lua
grep myhost /run/pdns-recursor/recursor.vyos-hostsd.conf.lua
addNTA("myhost.mydomain.", "dhcp-server-192.168.10.4")
addNTA("myhost.mydomain.", "system")