Select Page


Summary #

The DNS page is used to to set up how the device utilizes its own and other DNS servers.

This manual page provides an overview of the DNS windows in RUTX11 devices.

If you’re having trouble finding this page or some of the parameters described here on your device’s WebUI, you should turn on “Advanced WebUI” mode. You can do that by clicking the “Basic” button under “Mode”, which is located at the top-right corner of the WebUI.

Networking rutx manual webui basic advanced mode v1.gif

General Settings #

The General Settings section is used to set up the main DNS parameters. Refer to the table below for information on each configuration field.

Networking rutos manual dns general settings v1.png
Domain requiredoff | on; default: onWhen enabled, stops forwarding 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.
Local serverstring; default: /lan/Local domain specification. Names matching this domain are never forwarded and are resolved from DHCP or hosts files (/etc/hosts) only.
Local domaindomain name; default: lanLocal domain suffix appended to DHCP names and hosts file entries.
Log queriesoff | on; default: offWhen enabled, write received DNS requests to syslog.
DNS forwardingsstring; default: noneList of DNS servers to forward requests to.
Rebind protectionoff | on; default: onDiscards upstream RFC1918 responses. When enabled, the device will not resolve domain names for internal hosts.
Allow localhostoff | on; default: onAllow upstream responses in the range. For example, for RBL services.
Domain whitelistdomain name(s); default: noneList of domains to allow RFC1918 responses for.
Local Service Onlyoff | on; default: offLimit DNS service to subnets and interfaces on which this device is serving as a DNS server.
Non-wildcardoff | on; default: onBinds only to specific interfaces rather than wildcard address.
Listen Interfacesnetwork interface(s); default: noneLimits listening for DNS queries to interfaces specified in this field and loopback. Leave empty to listen on all interfaces.
Exclude Interfacesnetwork interface(s); default: nonePrevents listening for DNS queries on interfaces specified in this field. Leave empty to listen on all interfaces.

Resolve and Hosts Files #

The Resolve and Hosts Files section is used to configure the usage of these files:

  • /etc/hosts – the hosts file; contains hostname/IP address combinations for DNS hostname resolution; it is always checked first;
  • /etc/resolv.conf – the resolve file; contains instructions that state the default search domain(s) that are used to complete a received query name into a fully qualified domain name (FQDN) when no domain suffix is provide.
    Also contains a list of nameserver IP addresses for hostname resolution (DNS servers);
  • /tmp/ – alternative resolve file, used for public hostname resolutions. The path to this file can be changed from this section.

Refer to the table below for information on each configuration field.

Networking rutos manual dns resolve and hosts files v1.png
Ignore resolve fileoff | on; default: offWhen enabled, doesn’t read upstream servers from /etc/resolv.conf which is linked to the resolve file by default.
Resolve filefilepath; default: /tmp/resolv.conf.autoSpecifies an alternative DNS resolve file.
Ignore /etc/hostsoff | on; default: offLocal domain suffix appended to DHCP names and hosts file entries.
Additional Hosts filesstring; default: noneSpecifies hosts files to use in addition to /etc/hosts.

Advanced Settings #

The Advanced Settings section is used to set up some of the more specific DNS parameters. Refer to the table below for information on each configuration field.

Networking rutos manual dns advanced settings v1.png
Filter privateoff | on; default: onDo not forward reverse lookups for local networks.
Filter uselessoff | on; default: offWhen disabled, does not forward requests that cannot be answered by public name servers.
Localise queriesoff | on; default: onLocalise hostname depending on the requesting subnet if multiple IPs are available.
Expand hostsoff | on; default: onAdds local domain suffix to names served from the hosts file(s).
No negative cacheoff | on; default: offWhen disabled, does not cache negative replies, i.e., “no such domain” responses.
Additional servers filestring; default: noneThis file may contain lines like ‘server=/domain/’ or ‘server=’ for domain-specific or full upstream DNS servers.
Strict orderoff | on; default: offWhen enabled, DNS servers will be queried in the order of the resolve file.
All Serversoff | on; default: offWhen enabled, queries all available upstream DNS servers.
Bogus NX Domain Overrideip; default: noneList of hosts that supply bogus NX domain results.
DNS server portinteger [0..65535]; default: noneListening port for inbound DNS queries.
DNS query portinteger [0..65535]; default: noneFixed source port for outbound DNS queries.
Max. EDNS0 packet sizeinteger [0..9999999999999999]; default: noneMaximum allowed size of Extension Mechanisms for Domain Name System.0 UDP packets.
Max. concurrent queriesinteger [0..9999999999999999]; default: noneMaximum allowed number of concurrent DNS queries.
Size of DNS query cacheinteger [0..10000]; default: noneNumber of cached DNS entries. Set to 0 for no caching.

Submit a Comment

Your email address will not be published. Required fields are marked *