| 1 |
.\" Man page generated from reStructuredText |
| 2 |
.\" by the Docutils 0.22.4 manpage writer. |
| 3 |
. |
| 4 |
. |
| 5 |
.nr rst2man-indent-level 0 |
| 6 |
. |
| 7 |
.de1 rstReportMargin |
| 8 |
\\$1 \\n[an-margin] |
| 9 |
level \\n[rst2man-indent-level] |
| 10 |
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 11 |
- |
| 12 |
\\n[rst2man-indent0] |
| 13 |
\\n[rst2man-indent1] |
| 14 |
\\n[rst2man-indent2] |
| 15 |
.. |
| 16 |
.de1 INDENT |
| 17 |
.\" .rstReportMargin pre: |
| 18 |
. RS \\$1 |
| 19 |
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| 20 |
. nr rst2man-indent-level +1 |
| 21 |
.\" .rstReportMargin post: |
| 22 |
.. |
| 23 |
.de UNINDENT |
| 24 |
. RE |
| 25 |
.\" indent \\n[an-margin] |
| 26 |
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 27 |
.nr rst2man-indent-level -1 |
| 28 |
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 29 |
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| 30 |
.. |
| 31 |
.TH "FILTER-AAAA" "8" "@RELEASE_DATE@" "@PACKAGE_VERSION@" "BIND 9" |
| 32 |
.SH NAME |
| 33 |
filter-aaaa \- filter AAAA in DNS responses when A is present |
| 34 |
.SH SYNOPSIS |
| 35 |
.sp |
| 36 |
\fBplugin query\fP \(dqfilter\-aaaa.so\(dq [{ parameters }]; |
| 37 |
.SH DESCRIPTION |
| 38 |
.sp |
| 39 |
\fBfilter\-aaaa.so\fP is a query plugin module for \fBnamed\fP \%<#\:std-iscman-named>, enabling |
| 40 |
\fBnamed\fP \%<#\:std-iscman-named> to omit some IPv6 addresses when responding to clients. |
| 41 |
.sp |
| 42 |
Until BIND 9.12, this feature was implemented natively in \fBnamed\fP \%<#\:std-iscman-named> and |
| 43 |
enabled with the \fBfilter\-aaaa\fP ACL and the \fBfilter\-aaaa\-on\-v4\fP and |
| 44 |
\fBfilter\-aaaa\-on\-v6\fP options. These options are no longer available in |
| 45 |
\fBnamed.conf\fP \%<#\:std-iscman-named\:.conf> but can be passed as parameters to the |
| 46 |
\fBfilter\-aaaa.so\fP plugin, for example: |
| 47 |
.INDENT 0.0 |
| 48 |
.INDENT 3.5 |
| 49 |
.sp |
| 50 |
.EX |
| 51 |
plugin query \(dqfilter\-aaaa.so\(dq { |
| 52 |
filter\-aaaa\-on\-v4 yes; |
| 53 |
filter\-aaaa\-on\-v6 yes; |
| 54 |
filter\-aaaa { 192.0.2.1; 2001:db8:2::1; }; |
| 55 |
}; |
| 56 |
.EE |
| 57 |
.UNINDENT |
| 58 |
.UNINDENT |
| 59 |
.sp |
| 60 |
This module is intended to aid transition from IPv4 to IPv6 by |
| 61 |
withholding IPv6 addresses from DNS clients which are not connected to |
| 62 |
the IPv6 Internet, when the name being looked up has an IPv4 address |
| 63 |
available. Use of this module is not recommended unless absolutely |
| 64 |
necessary. |
| 65 |
.sp |
| 66 |
Note: This mechanism can erroneously cause other servers not to give |
| 67 |
AAAA records to their clients. If a recursing server with both IPv6 and |
| 68 |
IPv4 network connections queries an authoritative server using this |
| 69 |
mechanism via IPv4, it is denied AAAA records even if its client is |
| 70 |
using IPv6. |
| 71 |
.SH OPTIONS |
| 72 |
.INDENT 0.0 |
| 73 |
.TP |
| 74 |
.B \fBfilter\-aaaa\fP |
| 75 |
This option specifies a list of client addresses for which AAAA filtering is to |
| 76 |
be applied. The default is \fBany\fP\&. |
| 77 |
.TP |
| 78 |
.B \fBfilter\-aaaa\-on\-v4\fP |
| 79 |
If set to \fByes\fP, this option indicates that the DNS client is at an IPv4 address, in |
| 80 |
\fBfilter\-aaaa\fP\&. If the response does not include DNSSEC |
| 81 |
signatures, then all AAAA records are deleted from the response. This |
| 82 |
filtering applies to all responses, not only authoritative |
| 83 |
ones. |
| 84 |
.sp |
| 85 |
If set to \fBbreak\-dnssec\fP, then AAAA records are deleted even when |
| 86 |
DNSSEC is enabled. As suggested by the name, this causes the response |
| 87 |
to fail to verify, because the DNSSEC protocol is designed to detect |
| 88 |
deletions. |
| 89 |
.sp |
| 90 |
This mechanism can erroneously cause other servers not to give AAAA |
| 91 |
records to their clients. If a recursing server with both IPv6 and IPv4 |
| 92 |
network connections queries an authoritative server using this |
| 93 |
mechanism via IPv4, it is denied AAAA records even if its client is |
| 94 |
using IPv6. |
| 95 |
.TP |
| 96 |
.B \fBfilter\-aaaa\-on\-v6\fP |
| 97 |
This option is identical to \fBfilter\-aaaa\-on\-v4\fP, except that it filters AAAA responses |
| 98 |
to queries from IPv6 clients instead of IPv4 clients. To filter all |
| 99 |
responses, set both options to \fByes\fP\&. |
| 100 |
.UNINDENT |
| 101 |
.SH SEE ALSO |
| 102 |
.sp |
| 103 |
BIND 9 Administrator Reference Manual. |
| 104 |
.SH Author |
| 105 |
Internet Systems Consortium |
| 106 |
.SH Copyright |
| 107 |
2026, Internet Systems Consortium |
| 108 |
.\" End of generated man page. |