aarond10 / https_dns_proxy

A lightweight DNS-over-HTTPS proxy.
MIT License
775 stars 114 forks source link

Hostname is not resolved if it contains a port at the end #160

Closed jzbor closed 10 months ago

jzbor commented 1 year ago

hostname_from_uri fails if the address is a hostname (that should be resolved) followed by a port.

baranyaib90 commented 10 months ago

Issue is valid, will be fixed soon. [I] 1700258517.310551 main.c:312 Resolver prefix 'https://one.one.one.one:433/dns-query' doesn't appear to contain a hostname. DNS polling disabled.