fix(https): fail https

This commit is contained in:
2025-09-27 22:09:10 +01:00
parent 65bca470eb
commit 952f6e657b

View File

@@ -227,7 +227,7 @@ func createClient(scheme, host, port, path string, opts Options) (DNSClient, err
logger.Debug("Creating DO53 client with config: %+v", config)
return do53.New(config)
case "http", "doh":
case "https", "doh":
config := doh.Config{
Host: host,
Port: port,
@@ -239,7 +239,7 @@ func createClient(scheme, host, port, path string, opts Options) (DNSClient, err
logger.Debug("Creating DoH client with config: %+v", config)
return doh.New(config)
case "https", "doh3":
case "doh3":
config := doh.Config{
Host: host,
Port: port,