Whole document tree 17.1. Berkeley Internet Name Daemon BIND (named)IPv6 is supported since version 9. Always use newest available version. At least version 9.1.3 must be used, older versions can contain remote exploitable security holes. 17.1.1. Listening on IPv6 addressesNote: unlike in IPv4 current versions doesn't allow to bind a server socket to dedicated IPv6 addresses, so only any or none are valid. Because this can be a security issue, check the Access Control List (ACL) section below, too! 17.1.1.1. Enable BIND named for listening on IPv6 addressTo enable IPv6 for listening, following options are requested to change
This should result after restart in e.g.
And a simple test looks like
and should show you a result. 17.1.1.2. Disable BIND named for listening on IPv6 addressTo disable IPv6 for listening, following options are requested to change
17.1.2. IPv6 enabled Access Control Lists (ACL)IPv6 enabled ACLs are possible and should be used whenever it's possible. An example looks like following:
This ACLs can be used e.g. for queries of clients and transfer zones to secondary name-servers. This prevents also your caching name-server to be used from outside using IPv6.
It's also possible to set the allow-query and allow-transfer option for most of single zone definitions, too. 17.1.3. Sending queries with dedicated IPv6 addressThis option is not required, but perhaps needed:
17.1.4. Per zone defined dedicated IPv6 addressesIt's also possible to define per zone some IPv6 addresses. 17.1.4.1. Transfer source addressTransfer source address is used for outgoing zone transfers:
17.1.4.2. Notify source addressNotify source address is used for outgoing notify messages:
17.1.5. Serving IPv6 related DNS dataFor IPv6 new types and root zones for reverse lookups are defined:
Perhaps filled later more content, for the meantime take a look at given RFCs and
Because IP6.INT is deprecated (but still in use), a DNS server which will support IPv6 information has to serve both reverse zones. 17.1.5.1. Current best practiceBecause there are some troubles around using the new formats, current best practice is: Forward lookup support:
Reverse lookup support:
17.1.6. Checking IPv6-enabled connectTo check, whether BIND is listening on an IPv6 socket and serving data see following examples. 17.1.6.1. IPv6 connect, but denied by ACLSpecifying a dedicated server for the query, an IPv6 connect can be forced:
Related log entry looks like following:
If you see such entries in the log, check whether requests from this client should be allowed and perhaps review your ACL configuration. 17.1.6.2. Successful IPv6 connectA successful IPv6 connect looks like following:
|