Greetings!
I would like to use my /etc/hosts file to force name resolution to certain hosts. But when I look at how dnsmasq is set up I see that it has a parameter set to ignore the /etc/hosts file via the "--no-hosts" switch:
Where is this parameter set so I can disable it? I think this would allow me to use the /etc/hosts file for name resolutions.
Any thoughts?
I would like to use my /etc/hosts file to force name resolution to certain hosts. But when I look at how dnsmasq is set up I see that it has a parameter set to ignore the /etc/hosts file via the "--no-hosts" switch:
Code:
/usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.0.1 --conf-file=/var/run/nm-dns-dnsmasq.conf --cache-size=0 --proxy-dnssec
Any thoughts?
Comment