Retry with disable QNAME minimization when NOTIMPL or FORMERR is encountered in response
Resolving se01.se.prima-vod-prep-sec.service.cdn.cra.cz.
is broken as service.cdn.cra.cz.
returns NOTIMPL
on QNAME minimization queries. This change drops QNAME minimization on first NOTIMPL/FORMERR
in addition to dropping EDNS0 on (now second) NOTIMPL/FORMERR
response.
fixes #132 (closed)
Merge request reports
Activity
Currently, if we get
NOTIMPL
orFORMERR
(for a legitimate query), we retry without fancy stuff such as EDNS – I suppose we can simply add minimization the this fancy list.We could also somehow reflect this in that NS's reputation, to make us less likely to choose it next time, though often all of the authoritatives are broken (including this particular case).
added 1 commit
- 82ad865c - When NOTIMPL or FORMERR is encountered, disable QNAME minimization
@vcunat There are two approaches:
- drop QNAME minimization & EDNS0 in one step
- drop QNAME minimization first and EDNS0 in second step (this adds one more roundtrip)
I chose the second approach as dropping EDNS0 also means dropping > 512 packets, so this is the safer path.
mentioned in commit 58f39afd
mentioned in commit 75eca71f
mentioned in merge request !168 (merged)
mentioned in commit cae7846b
mentioned in issue #132 (closed)