DNS and /etc/resolv.conf

The default mode of operation is:

  • DNSMASQ acts as a local caching nameserver.
  • DNSMASQ is instructed to use the nameservers configured at /etc/network, or received by the DHCP client; but DNSMASQ does not use /etc/resolv.conf.
  • /etc/resolv.conf points to the local DNSMASQ, so the software running on the router uses the local cache.
  • DNSMASQ also acts as a DHCP server.
  • DNSMASQ is configured to announce itself as a nameserver to the clients.
1 Like