]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Documentation for prefer-ip4, Issue #165.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 25 Feb 2020 08:58:32 +0000 (09:58 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 25 Feb 2020 08:58:32 +0000 (09:58 +0100)
doc/example.conf.in
doc/unbound.conf.5.in

index 4ce9348c21ed2366aa29ca8ca0ea5ee5f7361219..30a767d626ef72723b5f465d16a47d94638eae0c 100644 (file)
@@ -70,6 +70,9 @@ server:
        # Set this to yes to prefer ipv6 upstream servers over ipv4.
        # prefer-ip6: no
 
+       # Prefer ipv4 upstream servers, even if ipv6 is available.
+       # prefer-ip4: no
+
        # number of ports to allocate per thread, determines the size of the
        # port range that can be open simultaneously.  About double the
        # num-queries-per-thread, or, use as many as the OS will allow you.
index aef2e977f24f0594848b699f644f61cf9742c5ca..541a936887f36f3e8b4155861c0481529008f6c1 100644 (file)
@@ -381,6 +381,13 @@ IPv6 to the internet nameservers.  With this option you can disable the
 ipv6 transport for sending DNS traffic, it does not impact the contents of
 the DNS traffic, which may have ip4 and ip6 addresses in it.
 .TP
+.B prefer\-ip4: \fI<yes or no>
+If enabled, prefer IPv4 transport for sending DNS queries to internet
+nameservers. Default is no.  Useful if the IPv6 netblock the server has,
+the entire /64 of that is not owned by one operator and the reputation of
+the netblock /64 is an issue, using IPv4 then uses the IPv4 filters that
+the upstream servers have.
+.TP
 .B prefer\-ip6: \fI<yes or no>
 If enabled, prefer IPv6 transport for sending DNS queries to internet
 nameservers. Default is no.