bind9/lib/ns
Artem Boldariev b84fa122ce Make BIND refuse to serve XFRs over DoH
We cannot use DoH for zone transfers.  According to RFC8484 a DoH
request contains exactly one DNS message (see Section 6: Definition of
the "application/dns-message" Media Type,
https://datatracker.ietf.org/doc/html/rfc8484#section-6).  This makes
DoH unsuitable for zone transfers as often (and usually!) these need
more than one DNS message, especially for larger zones.

As zone transfers over DoH are not (yet) standardised, nor discussed
in RFC8484, the best thing we can do is to return "not implemented."

Technically DoH can be used to transfer small zones which fit in one
message, but that is not enough for the generic case.

Also, this commit makes the server-side DoH code ensure that no
multiple responses could be attempted to be sent over one HTTP/2
stream. In HTTP/2 one stream is mapped to one request/response
transaction. Now the write callback will be called with failure error
code in such a case.
2021-06-14 11:37:36 +03:00
..
include Completely remove BIND 9 Windows support 2021-06-09 14:35:14 +02:00
tests Completely remove BIND 9 Windows support 2021-06-09 14:35:14 +02:00
client.c Completely remove BIND 9 Windows support 2021-06-09 14:35:14 +02:00
hooks.c Completely remove BIND 9 Windows support 2021-06-09 14:35:14 +02:00
interfacemgr.c Fix the sizeof() for array holding the pointers to clientmgr 2021-05-26 10:03:52 +02:00
lib.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
listenlist.c support "tls ephemeral" with https 2021-02-03 12:06:17 +01:00
log.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
Makefile.am Use -release instead of -version-info for internal library SONAMEs 2021-01-25 14:19:53 +01:00
notify.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
query.c Make BIND refuse to serve XFRs over DoH 2021-06-14 11:37:36 +03:00
server.c Simplify the EDNS buffer size logic for DNS Flag Day 2020 2020-10-05 16:21:21 +02:00
sortlist.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
stats.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
update.c Reduce the number of clientmgr objects created 2021-05-24 20:44:54 +02:00
xfrout.c use a fixedname buffer in dns_message_gettempname() 2021-05-20 20:41:29 +02:00