Configuring a Name Server to Listen for Queries on an IPv6 Interface

.2.1 Problem

You want a BIND 9 name server to listen for queries on an IPv6 interface.

.2.2 Solution

Use the listen-on-v6 options substatement to instruct the name server to listen on any of the hosts IPv6 interfaces for queries. For example:

options {
 directory "/var/named";
 listen-on-v6 { any; };
};

Don specify the particular IPv6 address of one of the hosts interfaces: listen-on-v6 only supports any or none as an argument. The default, as of BIND 9.1.0, is none; that is, don listen for queries on any IPv6 interfaces.

.2.3 Discussion

Before BIND 9.1.0, BIND 9 name servers listened on any of the hosts IPv6 interfaces by default. BIND 8 name servers can handle queries received via IPv6 at all.

As with its IPv4 counterpart, you can use listen-on-v6 to tell a name server to listen on an alternate port, too. For example, you could configure the name server to listen on port 1053 for IPv6 queries with:

options {
 directory "/var/named";
 listen-on-v6 port 1053 { any; };
};

Note that none of the root name servers have IPv6 interfaces, which makes it difficult to run an IPv6-only name server on the Internet. Typically, name servers with IPv6 interfaces also have at least one IPv4 interface, or forward to a name server that has both kinds.

.2.4 See Also

"Configuring the IPv6 Transport" in Chapter 10 of DNS and BIND.


Getting Started

Zone Data

BIND Name Server Configuration

Electronic Mail

BIND Name Server Operations

Delegation and Registration

Security

Interoperability and Upgrading

Resolvers and Programming

Logging and Troubleshooting

IPv6



DNS & BIND Cookbook
DNS & BIND Cookbook
ISBN: 0596004109
EAN: 2147483647
Year: 2005
Pages: 220
Authors: Cricket Liu

Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net