mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
4201. [func] The default preferred-glue is now the address record
type of the transport the query was received over. [RT #40468]
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,3 +1,7 @@
|
|||||||
|
4201. [func] The default preferred-glue is now the address record
|
||||||
|
type of the transport the query was received
|
||||||
|
over. [RT #40468]
|
||||||
|
|
||||||
4200. [cleanup] win32: update BINDinstall to be BIND release
|
4200. [cleanup] win32: update BINDinstall to be BIND release
|
||||||
independent. [RT #38915]
|
independent. [RT #38915]
|
||||||
|
|
||||||
|
@@ -1005,6 +1005,12 @@ client_send(ns_client_t *client) {
|
|||||||
else if (client->view->preferred_glue == dns_rdatatype_aaaa)
|
else if (client->view->preferred_glue == dns_rdatatype_aaaa)
|
||||||
preferred_glue = DNS_MESSAGERENDER_PREFER_AAAA;
|
preferred_glue = DNS_MESSAGERENDER_PREFER_AAAA;
|
||||||
}
|
}
|
||||||
|
if (preferred_glue == 0) {
|
||||||
|
if (isc_sockaddr_pf(&client->peeraddr) == AF_INET)
|
||||||
|
preferred_glue = DNS_MESSAGERENDER_PREFER_A;
|
||||||
|
else
|
||||||
|
preferred_glue = DNS_MESSAGERENDER_PREFER_AAAA;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef ALLOW_FILTER_AAAA
|
#ifdef ALLOW_FILTER_AAAA
|
||||||
/*
|
/*
|
||||||
|
@@ -5538,7 +5538,9 @@ badresp:1,adberr:0,findfail:0,valfail:0]
|
|||||||
If specified, the listed type (A or AAAA) will be emitted
|
If specified, the listed type (A or AAAA) will be emitted
|
||||||
before other glue
|
before other glue
|
||||||
in the additional section of a query response.
|
in the additional section of a query response.
|
||||||
The default is not to prefer any type (NONE).
|
The default is to prefer A records when responding
|
||||||
|
to queries that arrived via IPv4 and AAAA when
|
||||||
|
responding to queries that arrived via IPv6.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
@@ -610,6 +610,12 @@
|
|||||||
using the <option>log</option> clause.
|
using the <option>log</option> clause.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The default preferred glue is now the address type of the
|
||||||
|
transport the query was received over.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
<sect2 id="relnotes_port">
|
<sect2 id="relnotes_port">
|
||||||
|
Reference in New Issue
Block a user