Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compatibility Report] Linux Mint Cinnamon DNS requests are not always routed through the DNS in Portmaster #1616

Closed
ghost opened this issue Jul 8, 2024 · 14 comments
Labels
community support ATTRIBUTE: community is invited to help stale ATTRIBUTE: this issue has not had recent activity

Comments

@ghost
Copy link

ghost commented Jul 8, 2024

What worked?

Everything besides the reported issue.

What did not work?

Portmaster configures itself as the DNS resolver, but it's often ignored, with DNS requests being made through the System/Network DNS instead. I tested this on a fresh installation of Linux Mint, after disabling the pre-installed firewall. The logs are not from this test.

I conducted the tests via: https://www.dnscheck.tools/.

Additional Information:

I have "Ignore System/Network Servers" enabled, which solves the issue of the DNS configured in Portmaster being bypassed. However, DNS requests that would have been routed through the System's DNS are not resolved, causing an error. These are shown as DNS requests in Portmaster with a yellow dot (see attachment for further information).

@ghost ghost added the in/compatibility TYPE: a report about in/compatibility label Jul 8, 2024
Copy link

github-actions bot commented Jul 8, 2024

Hey @Uneccessary, thank you for reporting on a compatibility.

We keep a list of compatible software and user provided guides for improving compatibility in the wiki - please have a look there.
If you can't find your software in the list, then a good starting point is our guide on How do I make software compatible with Portmaster.

If you have managed to establish compatibility with an application, please share your findings here. This will greatly help other users encountering the same issues.

Copy link

github-actions bot commented Jul 8, 2024

Greetings and welcome to our community! As this is the first issue you opened here, we wanted to share some useful infos with you:

  • 🗣️ Our community on Discord is super helpful and active. We also have an AI-enabled support bot that knows Portmaster well and can give you immediate help.
  • 📖 The Wiki answers all common questions and has many important details. If you can't find an answer there, let us know, so we can add anything that's missing.

@Raphty Raphty added community support ATTRIBUTE: community is invited to help and removed in/compatibility TYPE: a report about in/compatibility labels Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

Hey @Uneccessary, thank you for raising this issue with us.

After a first review we noticed that this does not seem to be a technical issue, but rather a configuration issue or general question about how Portmaster works.

Thus, we invite the community to help with configuration and/or answering this questions.

If you are in a hurry or haven't received an answer, a good place to ask is in our Discord community.

If your problem or question has been resolved or answered, please come back and give an update here for other users encountering the same and then close this issue.

If you are a paying subscriber and want this issue to be checked out by Safing, please send us a message on Discord or via Email with your username and the link to this issue, so we can prioritize accordingly.

@Raphty
Copy link
Member

Raphty commented Jul 9, 2024

it does not look like ca compatibility but a configuration error - in the debug info you sent I don't see that you disabled system DNS, also the configured dns servers look to be wrong... which would lead to Portmaster having to fall back to the system dns.

further, browsers sometimes want to use their own dns, if you say sometimes, then I would assume that it happens depending on the browser you use. Portmaster tells you that there was a bypass attempt - but depending on your config you can block a bypass or allow it.

again, I feel like you miss configured Portmaster.
Even though mint is not officially supported by us, I know of several people who have no issues running Portmaster on mint

@ghost
Copy link
Author

ghost commented Jul 9, 2024

I don't see that you disabled system DNS

The system's DNS is unconfigured, and the DNS of the ISP is being used.

also the configured dns servers look to be wrong...

They are not. They work fine on Windows 11 and are exact to what is described in your documentation for NextDNS. Also, I am using the presets, which I suspect may be causing the same issue. I can try it as well.

further, browsers sometimes want to use their own dns, if you say sometimes, then I would assume that it happens depending on the browser you use.

I'm sorry for not being clear about that. It basically depends on whether Portmaster has been restarted recently, as this seems to solve the issue (albeit only for a short period of time). Uncached DNS queries are the ones that are affected.

I tested this in Brave, Firefox, and the Chromium build by Linux Mint. I disabled Secure DNS in each of them.

Even though mint is not officially supported by us, I know of several people who have no issues running Portmaster on mint

I suggest that they test whether their configured DNS is actually being bypassed or not. Most people are probably not aware that their DNS, which is configured in Portmaster, is being bypassed.

https://dnscheck.tools/

@ghost
Copy link
Author

ghost commented Jul 9, 2024

You can test it yourself using a Virtual Machine (ensure that the host OS does not have the DNS used in Portmaster configured, nor should Portmaster be running, to avoid false positives). Install Linux Mint, disable Linux Mint's firewall application (as it could cause issues), and then set up Portmaster. Run the test in your preferred browser.

https://dnscheck.tools/

@Raphty
Copy link
Member

Raphty commented Jul 9, 2024

You can test it yourself using a Virtual Machine (ensure the host OS does not have the DNS used which is in Portmaster configured, nor should Portmaster be running, to avoid false-positives). Install Linux Mint, disable Linux Mint's Firewall application (as it could cause issues) and then setup Portmaster. And run the test in your preferred browser.

https://dnscheck.tools/

again mint is not supported by us, we don't test it
you are the first and only report of this, and we do have many reports to the contrary.

If someone else wants to test this please let us know what your results are.

@ghost
Copy link
Author

ghost commented Jul 9, 2024

again mint is not supported by us, we don't test it

I apologize; I thought compatibility reports were available to report non-compatible Linux distributions, etc., and that these would receive appropriate treatment.

@Raphty
Copy link
Member

Raphty commented Jul 10, 2024

You got me ❤️ .... we honestly want and try to help... but we need to focus on getting things done... I see you are not an developer (at least not on GH) so maybe you don't understand how entitled free users behave, thinking that everything needs to work on their platforms how they want...

I did install the vm... and it showed me why I hate mint... which is partially why we are not supporting it 🤣

I did not fiddle with the built in firewall or anything, just tried with firefox that came preinstalled and it did not show your described behavior... I am sorry but it seems to be your system that has issues... not a compatibility thing...

I hope you find a solution, maybe someone else can chime in and help, but we will not consider this an issue.

@Raphty Raphty changed the title [Compatibility Report] (Linux Mint Cinnamon) DNS requests are not routed through the DNS in Portmaster (Linux Mint Cinnamon) DNS requests are not routed through the DNS in Portmaster Jul 10, 2024
@Raphty Raphty changed the title (Linux Mint Cinnamon) DNS requests are not routed through the DNS in Portmaster Setup help needed! My Linux Mint Cinnamon DNS requests are not routed through the DNS in Portmaster Jul 10, 2024
@ghost
Copy link
Author

ghost commented Jul 10, 2024

I have conducted the test once again and have recorded the results. The DNS requests were occasionally routed through the underlying operating system's DNS. It seems that you probably forgot to turn off Secure DNS in Firefox, which does not appear to have such issues.

8mb.video-8OV-QsxDMYcw.mp4

I apologize for the low resolution; I had to compress it due to the upload limit.

I did not disable the pre-installed firewall application, just as you did. I used the pre-installed version of Firefox, as you did. The only difference is that I have disabled Secure DNS within Firefox.

@ghost ghost changed the title Setup help needed! My Linux Mint Cinnamon DNS requests are not routed through the DNS in Portmaster [Compatibility Report] Linux Mint Cinnamon DNS requests are not always routed through the DNS in Portmaster Jul 10, 2024
@ghost
Copy link
Author

ghost commented Jul 10, 2024

In addition, you can also try visiting https://dnsleaktest.com/. It's provided by IVPN and shows the same results as the other test.

(Note: I have corrected the grammar in your sentence for a clearer and more concise statement.)

@NormPlum
Copy link

I'd like to help test this as I run Portmaster on Linux Mint.

Here's what I have/did:

  • Portmaster configured to use Quad9 DNS servers (from the Quick Settings option)
  • "Always Use DNS Cache" is disabled
  • "Block Secure DNS Bypassing" is enabled
  • Librewolf has "Enable DNS over HTTPS" turned off
  • Mint's firewall (Gufw Firewall) is turned off (but I believe this is the default setting anyway)
  • Restarted Portmaster

When I go to https://www.dnscheck.tools/ it says my DNS resolvers are NextDNS (which is what my router uses.

However, if I change Portmaster's DNS servers to Cloudflare (from Quick Settings) and restart, then dnscheck says Cloudflare...
And if I set Portmaster to use Adguard, dnscheck says Cloudflare and Google.

So maybe it has to do with the specific DNS servers...?

@voxelized-voxel
Copy link

+1

Same issues as "Ghost". Stopped using Portmaster for this reason, I don't know if it got fixed in one of the more recent versions.

Copy link

This issue has been automatically marked as inactive because it has not had activity in the past two months.

If no further activity occurs, this issue will be automatically closed in one week in order to increase our focus on active topics.

@github-actions github-actions bot added the stale ATTRIBUTE: this issue has not had recent activity label Nov 21, 2024
Copy link

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.

If the issue has not been resolved, you can find more information in our Wiki or continue the conversation on our Discord.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community support ATTRIBUTE: community is invited to help stale ATTRIBUTE: this issue has not had recent activity
Projects
None yet
Development

No branches or pull requests

3 participants