Debian Codegraph @

doc/man/filter-a.8in

raw
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-A" "8" "@RELEASE_DATE@" "@PACKAGE_VERSION@" "BIND 9"
32 .SH NAME
33 filter-a \- filter A in DNS responses when AAAA is present
34 .SH SYNOPSIS
35 .sp
36 \fBplugin query\fP \(dqfilter\-a.so\(dq [{ parameters }];
37 .SH DESCRIPTION
38 .sp
39 \fBfilter\-a.so\fP is a query plugin module for \fBnamed\fP \%<#\:std-iscman-named>, enabling
40 \fBnamed\fP \%<#\:std-iscman-named> to omit some IPv4 addresses when responding to clients.
41 .sp
42 For example:
43 .INDENT 0.0
44 .INDENT 3.5
45 .sp
46 .EX
47 plugin query \(dqfilter\-a.so\(dq {
48 filter\-a\-on\-v6 yes;
49 filter\-a\-on\-v4 yes;
50 filter\-a { 192.0.2.1; 2001:db8:2::1; };
51 };
52 .EE
53 .UNINDENT
54 .UNINDENT
55 .sp
56 This module is intended to aid transition from IPv4 to IPv6 by
57 withholding IPv4 addresses from DNS clients which are not connected to
58 the IPv4 Internet, when the name being looked up has an IPv6 address
59 available. Use of this module is not recommended unless absolutely
60 necessary.
61 .sp
62 Note: This mechanism can erroneously cause other servers not to give
63 A records to their clients. If a recursing server with both IPv6 and
64 IPv4 network connections queries an authoritative server using this
65 mechanism via IPv6, it is denied A records even if its client is
66 using IPv4.
67 .SH OPTIONS
68 .INDENT 0.0
69 .TP
70 .B \fBfilter\-a\fP
71 This option specifies a list of client addresses for which A filtering is to
72 be applied. The default is \fBany\fP\&.
73 .TP
74 .B \fBfilter\-a\-on\-v6\fP
75 If set to \fByes\fP, this option indicates that the DNS client is at an IPv6 address, in
76 \fBfilter\-a\fP\&. If the response does not include DNSSEC
77 signatures, then all A records are deleted from the response. This
78 filtering applies to all responses, not only authoritative
79 ones.
80 .sp
81 If set to \fBbreak\-dnssec\fP, then A records are deleted even when
82 DNSSEC is enabled. As suggested by the name, this causes the response
83 to fail to verify, because the DNSSEC protocol is designed to detect
84 deletions.
85 .sp
86 This mechanism can erroneously cause other servers not to give A
87 records to their clients. If a recursing server with both IPv6 and IPv4
88 network connections queries an authoritative server using this
89 mechanism via IPv6, it is denied A records even if its client is
90 using IPv4.
91 .TP
92 .B \fBfilter\-a\-on\-v4\fP
93 This option is identical to \fBfilter\-a\-on\-v6\fP, except that it filters A responses
94 to queries from IPv4 clients instead of IPv6 clients. To filter all
95 responses, set both options to \fByes\fP\&.
96 .UNINDENT
97 .SH SEE ALSO
98 .sp
99 BIND 9 Administrator Reference Manual.
100 .SH Author
101 Internet Systems Consortium
102 .SH Copyright
103 2026, Internet Systems Consortium
104 .\" End of generated man page.