P. 1
Bv9ARM

Bv9ARM

|Views: 6|Likes:
Published by Ana Arrojo Onrubia

More info:

Published by: Ana Arrojo Onrubia on Mar 12, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/12/2013

pdf

text

original

The interfaces and ports that the server will answer queries from may be specified using the listen-on
option. listen-on takes an optional port and an address match list. The server will listen on all
interfaces allowed by the address match list. If a port is not specified, port 53 will be used.

Multiple listen-on statements are allowed. For example,

listen-on { 5.6.7.8; };
listen-on port 1234 { !1.2.3.4; 1.2/16; };

66

CHAPTER 6. BIND 9 CONFIGURATION REFERENCE 6.2. CONFIGURATION FILE GRAMMAR

will enable the name server on port 53 for the IP address 5.6.7.8, and on port 1234 of an address on the
machine in net 1.2 that is not 1.2.3.4.

If no listen-on is specified, the server will listen on port 53 on all IPv4 interfaces.

The listen-on-v6 option is used to specify the interfaces and the ports on which the server will listen for
incoming queries sent using IPv6.

When

{ any; }

isspecifiedastheaddress match listforthelisten-on-v6option,theserverdoesnotbindaseparate
socket to each IPv6 interface address as it does for IPv4 if the operating system has enough API support
for IPv6 (specifically if it conforms to RFC 3493 and RFC 3542). Instead, it listens on the IPv6 wildcard
address. If the system only has incomplete API support for IPv6, however, the behavior is the same as
that for IPv4.

A list of particular IPv6 addresses can also be specified, in which case the server listens on a separate
socket for each specified address, regardless of whether the desired API is supported by the system.

Multiple listen-on-v6 options can be used. For example,

listen-on-v6 { any; };
listen-on-v6 port 1234 { !2001:db8::/32; any; };

will enable the name server on port 53 for any IPv6 addresses (with a single wildcard socket), and on
port1234ofIPv6addressesthatisnotintheprefix2001:db8::/32(withseparatesocketsforeachmatched
address.)

To make the server not listen on any IPv6 address, use

listen-on-v6 { none; };

If no listen-on-v6 option is specified, the server will not listen on any IPv6 address unless -6 is specified
when named is invoked. If -6 is specified then named will listen on port 53 on all IPv6 interfaces by
default.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->