Can SQUID change the destination address from ip to hostname?

Foxy Lady <[email protected]>
Newsgroups gmane.comp.web.squid.general
Message-ID <gdWMCMhkSGetpDGFe7UP6fWI3Wv2EfEd971H4ZIfTammLBHpPDbSWZtV7V2cQy47oMyGnb6QuQ0oTvP8NRU9kpbbjBxS5XT01BNxzQT2X8w=@proton.me>
Sorry, resend the post in txt and correct some parts.
The question is: can i force SQUID to do a reverse dns lookup and maintain the Host Header inside (where's a ptr record is found), also if i can't find a ptr record? SOCKS5 works with 1st level tcp, so send ip addresses, i need some tool, or Squid workaround, which can force a reverse dns. I know, it's quite impossible if a ptr record is not found in dnses, but... i try..


----------


Hi all.
As in subject.
SQUID server has its own dns resolver.

Can SQUID change the destination address from ip to hostname?

CLIENT > SQUID > DESTINATION
192.168.178.2 TCP_TUNNEL/200 4120 CONNECT api.myip.com:443 - HIER_DIRECT/104.26.8.59

CLIENT > SOCKS5 PROXY > SQUID > DESTINATION
192.168.178.50 TCP_TUNNEL/200 4126 CONNECT 104.26.9.59:443 - HIER_DIRECT/104.26.9.59

I would need,

CLIENT > SOCKS5 PROXY > SQUID > DESTINATION
192.168.178.50 TCP_TUNNEL/200 4126 CONNECT api.myip.com:443 - HIER_DIRECT/104.26.9.59

Thanks.


Inviato con l'email sicura Proton Mail.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.