Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/ROY]: src/external/bsd/openresolv/dist Import openresolv-3.7.1 with the ...



details:   https://anonhg.NetBSD.org/src/rev/1d72bf5c838d
branches:  ROY
changeset: 454316:1d72bf5c838d
user:      roy <roy%NetBSD.org@localhost>
date:      Tue Sep 29 09:10:07 2015 +0000

description:
Import openresolv-3.7.1 with the following changes:
  *  Typo's, thanks to Herbert Parentes Fortes Neto
  *  Clarify that private_interfaces="*" will not forward the root zone
  *  ensure that domain-insecure always appears in a server clause for
     the unbound subscriber

diffstat:

 external/bsd/openresolv/dist/resolvconf.8.in      |   2 +-
 external/bsd/openresolv/dist/resolvconf.conf.5.in |  11 ++++++++---
 external/bsd/openresolv/dist/unbound.in           |   3 ++-
 3 files changed, 11 insertions(+), 5 deletions(-)

diffs (67 lines):

diff -r 9e258da0a1bb -r 1d72bf5c838d external/bsd/openresolv/dist/resolvconf.8.in
--- a/external/bsd/openresolv/dist/resolvconf.8.in      Fri May 01 18:21:17 2015 +0000
+++ b/external/bsd/openresolv/dist/resolvconf.8.in      Tue Sep 29 09:10:07 2015 +0000
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd April 27, 2014
+.Dd April 27, 2015
 .Dt RESOLVCONF 8
 .Os
 .Sh NAME
diff -r 9e258da0a1bb -r 1d72bf5c838d external/bsd/openresolv/dist/resolvconf.conf.5.in
--- a/external/bsd/openresolv/dist/resolvconf.conf.5.in Fri May 01 18:21:17 2015 +0000
+++ b/external/bsd/openresolv/dist/resolvconf.conf.5.in Tue Sep 29 09:10:07 2015 +0000
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd March 20, 2015
+.Dd May 14, 2015
 .Dt RESOLVCONF.CONF 5
 .Os
 .Sh NAME
@@ -91,6 +91,11 @@
 These interfaces name servers will only be queried for the domains listed
 in their resolv.conf.
 Useful for VPN domains.
+Setting
+.Sy private_interfaces Ns ="*"
+will stop the forwarding of the root zone and allows the local resolver to
+recursively query the root servers directly.
+Requires a local nameserver other than libc.
 This is equivalent to the
 .Nm resolvconf -p
 option.
@@ -149,7 +154,7 @@
 .Sy resolv_conf_local_only
 is defaulted to NO,
 .Sy local_nameservers
-is unset unless overriden and only the information set in
+is unset unless overridden and only the information set in
 .Nm
 is written to
 .Sy resolv_conf .
@@ -271,7 +276,7 @@
 distribution has been catered for.
 Also, users could equally want to use a different version from the one
 installed by default, such as bind8 and bind9.
-To accomodate this, the subscribers have these files in configurable
+To accommodate this, the subscribers have these files in configurable
 variables, documented below.
 .Pp
 .Bl -tag -width indent
diff -r 9e258da0a1bb -r 1d72bf5c838d external/bsd/openresolv/dist/unbound.in
--- a/external/bsd/openresolv/dist/unbound.in   Fri May 01 18:21:17 2015 +0000
+++ b/external/bsd/openresolv/dist/unbound.in   Tue Sep 29 09:10:07 2015 +0000
@@ -45,7 +45,8 @@
        ns="${d#*:}"
        case "$unbound_insecure" in
        [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
-               newconf="$newconf${NL}domain-insecure: \"$dn\""
+               newconf="$newconf${NL}server:$NL"
+               newconf="$newconf       domain-insecure: \"$dn\"$NL"
                ;;
        esac
        newconf="$newconf${NL}forward-zone:$NL  name: \"$dn\"$NL"



Home | Main Index | Thread Index | Old Index