We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d396d5 commit 279d561Copy full SHA for 279d561
1 file changed
dnscrypt-proxy/plugin_block_unqualified.go
@@ -40,7 +40,7 @@ func (plugin *PluginBlockUnqualified) Eval(pluginsState *PluginsState, msg *dns.
40
}
41
qName := questions[0].Name
42
idx := strings.IndexByte(qName, '.')
43
- if idx == -1 || idx+1 != len(qName) {
+ if idx == -1 || (idx == 0 || idx+1 != len(qName)) {
44
return nil
45
46
synth := EmptyResponseFromMessage(msg)
0 commit comments