From: Mark Andrews Date: Sat, 17 Aug 2002 03:26:46 +0000 (+0000) Subject: reviewed: marka X-Git-Tag: v9.2.3rc1~104^2~371 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=ab5d8edc1bd391a1b306db68114fac303484b30f;p=thirdparty%2Fbind9.git reviewed: marka developer: jinmei 1362. [func] "localhost" and "localnet" acls now include IPv6 addresses / prefixes. --- diff --git a/CHANGES b/CHANGES index d7bd87e418b..b6651676140 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1362. [func] "localhost" and "localnet" acls now include IPv6 + addresses / prefixes. + 1361. [func] Log file name when unable to open memory statistics and dump database files. [RT# 3437] diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index af9be9e675a..8510c0cc899 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -2,7 +2,7 @@ - + BIND 9 Administrator Reference Manual @@ -2221,25 +2221,17 @@ Usage localhost -Matches the IPv4 addresses of all network +Matches the IPv4 and IPv6 addresses of all network interfaces on the system. localnets -Matches any host on an IPv4 network for which -the system has an interface. +Matches any host on an IPv4 or IPv6 network +for which the system has an interface. -The localhost and localnets -ACLs do not currently support IPv6 (that is, -localhost does not match the host's IPv6 addresses, -and localnets does not match the host's attached -IPv6 networks) due to the lack of a standard method of determining the -complete set of local IPv6 addresses for a host. - - <command>controls</command> Statement Grammar @@ -3542,24 +3534,25 @@ listen-on port 1234 { !1.2.3.4; 1.2/16; }; If no listen-on is specified, the server will listen on port 53 on all interfaces. -The listen-on-v6 option is used to -specify the ports on which the server will listen for incoming -queries sent using IPv6. - -The server does not bind a separate socket to each IPv6 -interface address as it does for IPv4. Instead, it always -listens on the IPv6 wildcard address. Therefore, the only -values allowed for the address_match_list -argument to the listen-on-v6 statement are -{ any; } and -{ none;} +By default, the server does not bind a separate socket to each +IPv6 interface address as it does for IPv4. Instead, it always +listens on the IPv6 wildcard address. +However, some particular IPv6 addresses can also be specified, +in which case the server makes a separate socket for each specified +address. -Multiple listen-on-v6 options can be -used to listen on multiple ports: +Multiple listen-on-v6 options can be used. +For example, -listen-on-v6 port 53 { any; }; -listen-on-v6 port 1234 { any; }; +listen-on-v6 { any; }; +listen-on-v6 port 1234 { !3ffe::/16; any; }; + +will enable the name server on port 53 for any IPv6 addresses +(with a single wildcard socket), +and on port 1234 of IPv6 addresses that is not in the prefix +3ffe::/16 (with separate sockets for each matched address.) + To make the server not listen on any IPv6 address, use listen-on-v6 { none; }; @@ -5026,7 +5019,7 @@ Experimental. Described in RFC 1183. APL address prefix list. Experimental. -Described in RFC 3123. +Described in RFC 3123. CERT