Michael skrev den 2023-02-01 10:50:

[1]: i don't like this solution. instead i'd like to configure dnsmasq
to return the fully qualified hostname of the DNS server host, but
that's OT here...

127.0.0.1 fqdn.example.com fqdn
::1 fqdn.example.com fqdn

add nore data in this file for external ips, same syntax

in dnsmasq make sure /etc/hosts is readed, imho this is sometimes not the case

order in /etc/hosts is important

pdns-recursor can do it very simple, is another try maybe

Reply via email to