mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-21 00:40:39 -05:00
116 lines
4.3 KiB
Groff
116 lines
4.3 KiB
Groff
.\" Copyright (C) 2018, 2019 Internet Systems Consortium, Inc. ("ISC")
|
|
.\"
|
|
.\" This Source Code Form is subject to the terms of the Mozilla Public
|
|
.\" License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
.\" file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
.\"
|
|
.hy 0
|
|
.ad l
|
|
'\" t
|
|
.\" Title: filter-aaaa.so
|
|
.\" Author:
|
|
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
|
.\" Date: 2018-08-13
|
|
.\" Manual: BIND9
|
|
.\" Source: ISC
|
|
.\" Language: English
|
|
.\"
|
|
.TH "FILTER\-AAAA\&.SO" "8" "2018\-08\-13" "ISC" "BIND9"
|
|
.\" -----------------------------------------------------------------
|
|
.\" * Define some portability stuff
|
|
.\" -----------------------------------------------------------------
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.\" http://bugs.debian.org/507673
|
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.ie \n(.g .ds Aq \(aq
|
|
.el .ds Aq '
|
|
.\" -----------------------------------------------------------------
|
|
.\" * set default formatting
|
|
.\" -----------------------------------------------------------------
|
|
.\" disable hyphenation
|
|
.nh
|
|
.\" disable justification (adjust text to left margin only)
|
|
.ad l
|
|
.\" -----------------------------------------------------------------
|
|
.\" * MAIN CONTENT STARTS HERE *
|
|
.\" -----------------------------------------------------------------
|
|
.SH "NAME"
|
|
filter-aaaa.so \- filter AAAA in DNS responses when A is present
|
|
.SH "SYNOPSIS"
|
|
.HP \w'\fBplugin\ query\ "filter\-aaaa\&.so"\fR\ 'u
|
|
\fBplugin query "filter\-aaaa\&.so"\fR [\fI{\ parameters\ }\fR];
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
\fBfilter\-aaaa\&.so\fR
|
|
is a query plugin module for
|
|
\fBnamed\fR, enabling
|
|
\fBnamed\fR
|
|
to omit some IPv6 addresses when responding to clients\&.
|
|
.PP
|
|
Until BIND 9\&.12, this feature was implemented natively in
|
|
\fBnamed\fR
|
|
and enabled with the
|
|
\fBfilter\-aaaa\fR
|
|
ACL and the
|
|
\fBfilter\-aaaa\-on\-v4\fR
|
|
and
|
|
\fBfilter\-aaaa\-on\-v6\fR
|
|
options\&. These options are now deprecated in
|
|
named\&.conf, but can be passed as parameters to the
|
|
\fBfilter\-aaaa\&.so\fR
|
|
plugin, for example:
|
|
.sp
|
|
.if n \{\
|
|
.RS 4
|
|
.\}
|
|
.nf
|
|
plugin query "/usr/local/lib/filter\-aaaa\&.so" {
|
|
filter\-aaaa\-on\-v4 yes;
|
|
filter\-aaaa\-on\-v6 yes;
|
|
filter\-aaaa { 192\&.0\&.2\&.1; 2001:db8:2::1; };
|
|
};
|
|
.fi
|
|
.if n \{\
|
|
.RE
|
|
.\}
|
|
.PP
|
|
This module is intended to aid transition from IPv4 to IPv6 by withholding IPv6 addresses from DNS clients which are not connected to the IPv6 Internet, when the name being looked up has an IPv4 address available\&. Use of this module is not recommended unless absolutely necessary\&.
|
|
.PP
|
|
Note: This mechanism can erroneously cause other servers not to give AAAA records to their clients\&. If a recursing server with both IPv6 and IPv4 network connections queries an authoritative server using this mechanism via IPv4, it will be denied AAAA records even if its client is using IPv6\&.
|
|
.SH "OPTIONS"
|
|
.PP
|
|
\fBfilter\-aaaa\fR
|
|
.RS 4
|
|
Specifies a list of client addresses for which AAAA filtering is to be applied\&. The default is
|
|
\fBany\fR\&.
|
|
.RE
|
|
.PP
|
|
\fBfilter\-aaaa\-on\-v4\fR
|
|
.RS 4
|
|
If set to
|
|
\fByes\fR, the DNS client is at an IPv4 address, in
|
|
\fBfilter\-aaaa\fR, and if the response does not include DNSSEC signatures, then all AAAA records are deleted from the response\&. This filtering applies to all responses and not only authoritative responses\&.
|
|
.sp
|
|
If set to
|
|
\fBbreak\-dnssec\fR, then AAAA records are deleted even when DNSSEC is enabled\&. As suggested by the name, this causes the response to fail to verify, because the DNSSEC protocol is designed to detect deletions\&.
|
|
.sp
|
|
This mechanism can erroneously cause other servers not to give AAAA records to their clients\&. A recursing server with both IPv6 and IPv4 network connections that queries an authoritative server using this mechanism via IPv4 will be denied AAAA records even if its client is using IPv6\&.
|
|
.RE
|
|
.PP
|
|
\fBfilter\-aaaa\-on\-v6\fR
|
|
.RS 4
|
|
Identical to
|
|
\fBfilter\-aaaa\-on\-v4\fR, except it filters AAAA responses to queries from IPv6 clients instead of IPv4 clients\&. To filter all responses, set both options to
|
|
\fByes\fR\&.
|
|
.RE
|
|
.SH "SEE ALSO"
|
|
.PP
|
|
BIND 9 Administrator Reference Manual\&.
|
|
.SH "AUTHOR"
|
|
.PP
|
|
\fBInternet Systems Consortium, Inc\&.\fR
|
|
.SH "COPYRIGHT"
|
|
.br
|
|
Copyright \(co 2018, 2019 Internet Systems Consortium, Inc. ("ISC")
|
|
.br
|