15: Configuring DHCP server and DNS (Dnsmasq) 
_______________________________________________________________________________________________________ 
_____________________________________________________________________________________________________ 
© Virtual Access 2017 
GW1000 Series User Manual 
Issue: 1.9    Page 115 of 350 
15.2.1  Dnsmasq: general settings 
Web Field/UCI/Package Option 
Web: Domain required 
UCI: dhcp.@dnsmasq[0].domainneeded 
Opt: domainneeded 
Defines whether to forward DNS requests without a DNS name. 
Dnsmasq will never forward queries for plain names, without 
dots or domain parts, to upstream nameservers. If the name is 
not known from /etc/hosts or DHCP then a "not found" answer 
is returned. 
Web: Authoritative 
UCI: dhcp.@dnsmasq[0]. authoritative 
Opt: authoritative 
Forces authoritative mode, this speeds up DHCP leasing. Used 
if this is the only server in the network. 
Web: Interfaces 
UCI: dhcp.@dnsmasq[0].interface 
Opt: list interface 
Defines the list of interfaces to be served by dnsmasq. If you 
do not select a specific interface, dnsmasq will serve on all 
interfaces. Configured interfaces are shown via the web GUI.  
Serve only on LAN interface 
Web: Local Server 
UCI: dhcp.@dnsmasq[0].local 
Opt: local 
Specifies the local domain. Names matching this domain are 
never forwarded and are resolved from DHCP or host files only.  
Web: Local Domain 
UCI: dhcp.@dnsmasq[0].domain 
Opt: domain 
Specifies local domain suffix appended to DHCP names and 
hosts file entries.  
Web: Log Queries 
UCI: dhcp.@dnsmasq[0].logqueries 
Opt: logqueries 
Writes received DNS requests to syslog. 
Web: DNS Forwardings 
UCI: dhcp.@dnsmasq[0].server 
Opt: list server 
List of DNS server to forward requests to. To forward specific 
domain requests only, use // syntax. When using UCI, enter 
multiple servers with a space between them. 
No DNS server configured. 
Web: Rebind Protection 
UCI: 
dhcp.@dnsmasq[0].rebind_protection 
Opt: rebind_protection 
Enables DNS rebind attack protection by discarding upstream 
RFC1918 responses. 
Web: Allow Localhost 
UCI: dhcp.@dnsmasq[0].rebind_localhost 
Opt: rebind_localhost 
Defines whether to allow upstream responses in the 
127.0.0.0/8 range. This is required for DNS based blacklist 
services. Only takes effect if rebind protection is enabled. 
Web: Domain Whitelist 
UCI: dhcp.@dnsmasq[0].rebind_domain 
Opt: list rebind_domain 
Defines the list of domains to allow RFC1918 responses to. Only 
takes effect if rebind protection is enabled. When using UCI 
multiple servers should be entered with a space between them. 
Table 33: Information table for general server settings