Additional DNSMasq Options
From DD-WRT Wiki
(Difference between revisions)
Revision as of 21:40, 4 May 2020 (edit) Wrtf (Talk | contribs) (added summaries of the options, links to more info) ← Previous diff |
Revision as of 03:36, 5 May 2020 (edit) (undo) Wrtf (Talk | contribs) (add max cache size) Next diff → |
||
Line 22: | Line 22: | ||
* '''Add Requestor MAC to DNS Query''' adds the internal requestor's MAC address to the query sent to the upstream DNS server, which could be necessary if the upstream server filters requests by MAC. | * '''Add Requestor MAC to DNS Query''' adds the internal requestor's MAC address to the query sent to the upstream DNS server, which could be necessary if the upstream server filters requests by MAC. | ||
** See also: ''--add-mac'' in the [http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html man page] | ** See also: ''--add-mac'' in the [http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html man page] | ||
- | + | * '''Maximum Cache Size''' sets how many names DNSmasq stores in its cache (default 150). | |
+ | ** See also: ''--cache-size'' in the [http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html man page] | ||
Revision as of 03:36, 5 May 2020
The "Additional DNSMasq Options" is an optional setting in the tab: Services > Services.
DHCP Options
- DHCP-Authoritative should be set when DD-WRT is the only DHCP server on its network segment (the most common setup). When authoritative, the DHCP server will immediately assign new addresses to clients that try to register using IPs from another network (rather than letting their previous lease time run out).
- See also: -dhcp-authoritative in the man page, forum thread
- RFC4039 Rapid Commit support removes a round trip by returning an address lease in response to a DHCPDISCOVER from a client that also supports Rapid Commit.
DNS Options
- Forced DNS redirection redirects all DNS requests on port 53 to DD-WRT's internal DNSmasq server, even if those requests were pointed directly at an external DNS server. Note that, as discussed in the forum thread, savvy users might still be able to communicate with external DNS servers on non-53 ports.
- See also: forum thread
- Validate DNS Replies (DNSSEC) requests and validates DNSSEC records for domains that have them, if supported on your router model.
- See also: --dnssec in the man page
- Check unsigned DNS replies also checks that unsigned DNS replies are legitimate (they belong to domains that actually do not publish DNSSEC records).
- See also: --dnssec-check-unsigned in the man page
- No DNS Rebind rejects IP address responses in the private IP ranges from upstream (i.e. public) DNS servers.
- Query DNS in Strict Order tells DNSmasq to query the upstream servers in the order entered, i.e. 1 first. Otherwise, queries can go to any upstream server.
- See also: --strict-order in the man page
- Add Requestor MAC to DNS Query adds the internal requestor's MAC address to the query sent to the upstream DNS server, which could be necessary if the upstream server filters requests by MAC.
- See also: --add-mac in the man page
- Maximum Cache Size sets how many names DNSmasq stores in its cache (default 150).
- See also: --cache-size in the man page
currently I (Jackykoning) only know one fun trick that might be useful for some people.
This redirects the stupid babylon search engine to google. address=/isearch.babylon.com/173.194.66.102 prefix = address=/"url here"(without http:// and without /shit )/"ip here" (not another url!)