Imagine the following DNS forwarding configuration:
set service dns forwarding allow-from '172.16.0.0/12' set service dns forwarding listen-address '172.16.254.30' set service dns forwarding listen-address '172.31.0.254' set service dns forwarding negative-ttl '60' set system domain-name 'mybll.net' set system host-name 'BR1.wue3'
Clients using VyOS as their DNS server and trying to resolve BR1.wue3.mybll.net will receive 127.0.1.1 as answer.
We should not render our FQDN to the /etc/hosts file
### Autogenerated by VyOS ### ### Do not edit, your changes will get overwritten ### # Local host 127.0.0.1 localhost 127.0.1.1 BR1.wue3.mybll.net BR1.wue3 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters