diff --git a/dnscrypt-proxy/plugin_block_name.go b/dnscrypt-proxy/plugin_block_name.go index 82ab9769..1eef6934 100644 --- a/dnscrypt-proxy/plugin_block_name.go +++ b/dnscrypt-proxy/plugin_block_name.go @@ -189,7 +189,7 @@ func (plugin *PluginBlockNameResponse) Eval(pluginsState *PluginsState, msg *dns target = answer.(*dns.CNAME).Target } else if header.Rrtype == dns.TypeSVCB && answer.(*dns.SVCB).Priority == 0 { target = answer.(*dns.SVCB).Target - } else if header.Rrtype == dns.TypeSVCB && answer.(*dns.HTTPS).Priority == 0 { + } else if header.Rrtype == dns.TypeHTTPS && answer.(*dns.HTTPS).Priority == 0 { target = answer.(*dns.HTTPS).Target } else { continue