MoinQ:

1. DNS/BIND/minimal-responses

について、ここに記述してください。

https://ftp.isc.org/isc/bind9/9.12.0/doc/arm/ https://ftp.isc.org/isc/bind9/9.12.0/doc/arm/Bv9ARM.ch06.html

/9.12

DNS/実装/KnotDNS/minimal-response

http://www.zytrax.com/books/dns/ch7/queries.html#minimal-responses

If yes the server will only add NS resource records to the Authority section and A or AAAA resource records (RRs) 
to the Additional sections of a query response when they are required by the protocol,
for instance, delegations (referrals) and negative responses.

This may improve the performance of the server by reducing outgoing data volumes especially if the number of name servers is large.

The BIND default is no which means that the Authority and Additional sections of the query response will always be fully populated (speeding up processing at the resolver). This statement may be used in a view or a global options clause.

こういう説明をしているということは、BINDには毒盛の余地があるということである。 -- ToshinoriMaeno 2018-03-17 05:42:03

1.1. glueではないレコード

minimal-responsesを指定していても、glueではないレコードをAdditionalに入れてくる実装があるらしい。


https://www.slideshare.net/hdais/dns-32071366

CVE-2012-5166 [JP]: 特別に細工されたDNSのデータによるnamedのハングアップ https://kb.isc.org/article/AA-00808/0

1.2. その他

https://docs.infoblox.com/display/NAG8/Specifying+Minimal+Responses

A NIOS appliance returns a minimal amount of data in response to a query, by default.

https://lists.dns-oarc.net/pipermail/dns-operations/2017-April/016216.html

So far, the BIND "minimal-responses" config option was set to false in
default config. We are changing this to true in 9.12.

https://ftp.isc.org/isc/bind9/9.12.0b2/RELEASE-NOTES-bind-9.12.0b2.html

  minimal-responses is now set to no-auth-recursive by default.