type of the transport the query was received
over. [RT #40468]
+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
independent. [RT #38915]
else if (client->view->preferred_glue == dns_rdatatype_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
/*
If specified, the listed type (A or AAAA) will be emitted
before other glue
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>
</listitem>
</varlistentry>
using the <option>log</option> clause.
</para>
</listitem>
+ <listitem>
+ <para>
+ The default preferred glue is now the address type of the
+ transport the query was received over.
+ </para>
+ </listitem>
</itemizedlist>
</sect2>
<sect2 id="relnotes_port">