Bug? No dns lookup when http proxy set

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
herrsimon
New to the forum
New to the forum
Posts: 1
Joined: 2022-04-04, 13:34

Bug? No dns lookup when http proxy set

Unread post by herrsimon » 2022-04-04, 13:40

Hello,

I just noticed that when setting a http proxy, palemoon seems to forward requests via hostname instead of first resolving it locally and then requesting with the resolved ip. Tested this by disabling my local dns server (other browsers correctly throw a resolve error, palemoon happily continues to open new webpages). Is this expected behaviour? If so, it would be nice to have a choice whether to resolve locally or not, as is the case when setting a socks proxy.

Thanks!

User avatar
Pentium4User
Board Warrior
Board Warrior
Posts: 1103
Joined: 2019-04-24, 09:38

Re: Bug? No dns lookup when http proxy set

Unread post by Pentium4User » 2022-04-04, 15:49

There is a choice for SOCKS5, just go to PM's proxy settings and look at the bottom.
The profile picture shows my Maico EC30 E ceiling fan.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Bug? No dns lookup when http proxy set

Unread post by Moonchild » 2022-04-04, 16:06

http proxy does not have a mechanism to resolve host names, so what you're suggesting isn't possible.
Keep in mind that Pale Moon caches DNS lookups internally by default, so hosts may still resolve from cache even if you have no name resolution at all on your local system (please do verify that it really isn't possible on your local system, too)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked