Now open the /etc/dnsmasq.conf file using your favorite text-based editor and make the following suggested configuration settings. The listen-address directive tells Dnsmasq which interface or interfaces to listen on. #no-resolv # Specify IP address(es) of other DNS . It is designed to provide DNS and, optionally, DHCP, to a small network. Setting this flag forces dnsmasq to send all queries to all available servers. Get upstream servers only from the command # line or the dnsmasq configuration file (see the "server" directive below). #no-poll # Don't read /etc/resolv.conf. . # vi /etc/dnsmasq.conf. networking - How to configure DNSmasq to resolve an address always ... #local-service # Don't poll /etc/resolv.conf for changes. 1. It is intended to provide coupled DNS and DHCP service to a LAN. It can serve the names of local machines which are not in the global DNS. DHCP Server Defaults and Enabling Dnsmasq Back to Top The EdgeRouter will be configured to issue DHCP assigned IP addresses in the 192.168.1./24 range using the Dnsmasq DHCP Server. This options does answer your problematic. This is the easiest way to setup DNSMasq as DHCP Server Go to your Web-Interface and log in Go to Setup->Basic Setup Make sure that DHCP Type = DHCP Server DHCP Server = Enable Use DNSMasq for DHCP = Checked (only present if running a build < 39350) These rules may seem odd at first sight . Encoding DNS URI records for DNSMASQ. Another way is to set your dnsmasq server to be the DNS server for DHCP, and use /etc/resolv.conf on the dnsmasq server to specify your list of DNS servers. It is designed to be lightweight and have a small footprint, suitable for resource constrained routers and firewalls. It loads the contents of /etc/hosts so that local . Dnsmasq accepts DNS queries and either answers them from a small, local, cache or forwards them to a real, recursive, DNS server. At least one server directive is redundant and point to the dnsmasq instance itself. It is intended to provide cou†pled DNS and DHCP service to a LAN. When receiving answers from upstream only with a smaller maximum DNS packet size, `dnsmasq` warns about this and remembers this decision per server for some time (defaulting to 60 seconds). Does that sound like a good flow? You need to tell Dnsmasq where to forward Internet DNS requests. It is good to use at least two completely different services. Encoding DNS URI records for DNSMASQ - sigmaris.info . You can alternatively fix . To use your CentOS/RHEL server to listen for DHCP and DNS requests on the LAN, set the listen . How do you get dnsmasq to specify alternate DNS servers? - Server Fault It should be an address belonging to the machine on which dnsmasq is running otherwise this server line will be logged and then ignored. dnsmasq, serve different ip addresses based on interface used Dnsmasq is a lightweight, easy to configure, DNS forwarder and DHCP server.