Open thulle opened 8 months ago
tinyproxy, like most network applications, uses the standard libc resolver (getaddrinfo), which usually supports only A or AAAA records. writing custom DNS code for your special case is out of scope for tinyproxy development.
Tinyproxy version
1.11.0-1, ubuntu package
Issue
Using CONNECT fails when the target host only has SRV-records
packages.netgate.com doesn't have A/AAAA-records, but it does have SRV-records:
$ host -t srv _https._tcp.packages.netgate.com _https._tcp.packages.netgate.com has SRV record 10 10 443 pkg00-atx.netgate.com. _https._tcp.packages.netgate.com has SRV record 10 10 443 pkg01-atx.netgate.com.