Correctly check for HTTPS type
This commit is contained in:
parent
b7dfdb1372
commit
1239e64cd9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue