dnsmasq
This is an old revision of the document!
In /etc/dnsmasq.conf, ensure conf-dir is set to /etc/dnsmasq.d
Then, in dnsmasq.d, create a new config file:
no-dhcp-interface=ens5 # Disable DHCP bogus-priv # Rev lookup for IP is not sent upstream domain=test.dev # My domain name expand-hosts # Host names will have domain name added local=/test.dev$/ # Queries for this domain are only answered by dnsmasq; dont resolve externally domain-needed # dont forward plain names without dots to upstream no-resolv # Dont use /etc/resolv.conf as upstream no-poll # Similar to above server=8.8.8.8 server=8.8.4.4 #no-hosts # To skip /etc/hosts #addn-hosts= # To use a different file than /etc/hosts
dnsmasq.1788781676.txt.gz · Last modified: by reddy
