26: Configuring DHCP server and DNS (Dnsmasq)
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 261 of 463
26.2.1
Dnsmasq: general settings
Web Field/UCI/Package Option
Description
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.
1
Enabled.
0
Disabled.
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.
1
Enabled.
0
Disabled.
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.
Lan
Serve only on LAN interface.
Range
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.
/lan/
Range
Web: Local Domain
UCI: dhcp.@dnsmasq[0].domain
Opt: domain
Specifies local domain suffix appended to DHCP names and
hosts file entries.
lan
Range
Web: Log Queries
UCI: dhcp.@dnsmasq[0].logqueries
Opt: logqueries
Writes received DNS requests to syslog.
0
Disabled.
1
Enabled.
Web: DNS Forwardings
UCI: dhcp.@dnsmasq[0].server
Opt: list server
List of DNS servers 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.
Range
Web: Rebind Protection
UCI:
dhcp.@dnsmasq[0].rebind_protection
Opt: rebind_protection
Enables DNS rebind attack protection by discarding upstream
RFC1918 responses.
0
Disabled.
1
Enabled.
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.
0
Disabled.
1
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, enter the domains with a space between
them.
No list configured.
Range
Table 82: Information table for general server settings