Skip to content

Commit dd1c4f7

Browse files
authored
dnsmasq: Add tip for DHCPv6 DNS server option (opnsense#737)
1 parent 6684c69 commit dd1c4f7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/manual/dnsmasq.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ when received from the network. DHCP requires at least one dhcp-range and matchi
122122
**Require domain** If this option is set, we will not forward A or AAAA queries for plain names, without
123123
dots or domain parts, to upstream name servers. If the name is not known from /etc/hosts
124124
or DHCP then a "not found" answer is returned.
125+
**Do not forward to system defined DNS** If this option is set, DNS forwarding to system nameservers (defined in System:
126+
General Setup: DNS Servers) will be disabled. Upstream servers defined in
127+
Services: Dnsmasq DNS & DHCP: Domains will still be used. This option is recommended
128+
when Unbound forwards local domain queries to Dnsmasq, so that all queries terminate
129+
without further lookups if they are unknown.
125130
**Do not forward private reverse lookup** If this option is set, we will not forward reverse DNS lookups (PTR) for private
126131
addresses (RFC 1918) to upstream name servers. Any entries in the Domain Overrides
127132
section forwarding private "n.n.n.in-addr.arpa" names to a specific server are still
@@ -632,6 +637,11 @@ Option Value
632637
**Value** ``[::]``
633638
================================== =======================================================================================================
634639

640+
.. Tip::
641+
642+
To use the same ``dns-server [23]`` option on all interfaces, set the interface to any. You do not need to create them for each
643+
interface individually. The correct IPv6 DNS server will be automatically calculated via ``[::]`` anyway.
644+
635645
.. Note::
636646

637647
When entering DHCPv6 options, enclosing them in brackets ``[]`` is mandatory. ``[::]`` is a special address and will return the GUA of

0 commit comments

Comments
 (0)