DNS over HTTPS

jetman

Level 10
Thread author
Verified
Well-known
Jun 6, 2017
476
Hi-

I have heard that Firefox has a setting which uses "DNS over HTTPS". This, according to the article below, is a more secure way of browsing the web.


Could anyone let me know their thoughts about this ? Is it a good idea to enable this setting ?

If so, is there a way of enabling this for ALL internet traffic - not just browsing within Windows Firefox ?

Thanks.
 

RoboMan

Level 35
Verified
Top Poster
Content Creator
Well-known
Jun 24, 2016
2,400
DNS-over-HTTPS still has a huge inherited problem from TLS, which is fake certificates. Fake certificates are accesible to most governments or groups and we are talking about breaking encryptions and spying; and this is weird because DoH sounds to be made specifically to avoid governments to intecept communications through standard ISP DNS.

Even known privacy people has opposed DNS-over-HTTPS (including the father of DNS Paul Vixie) and instead recommends DNS-over-TLS, claiming analysts will lose control over their networks.
 

Nightwalker

Level 24
Verified
Honorary Member
Top Poster
Content Creator
Well-known
May 26, 2014
1,339
Just use Simple DNSCrypt and get all the benefits of system-wide encrypted DNS plus DNSSEC support and dont forget to enable SNI encryption, with this setup you get maximum performance, security and privacy.

Reference:
 

SeriousHoax

Level 47
Verified
Top Poster
Well-known
Mar 16, 2019
3,634
I do the same as Nightwalker suggested. I use SimpleDnsCrypt on my PC for system-wide DNS Over HTTPS. DNS over HTTPS (DoH) is better than all the other secure alternatives such as DNS over TLS (DoT) and DnsCrypt. On DoH, all DNS queries go through the Port 443 which is used for HTTPS hence the name DoH. Because of it, it's not possible/harder to differentiate DNS queries from regular internet traffic . But DoT usually uses a separate port 853. Your ISP would know anything that is going through port 853 is dns queries so if your ISP decides to block port 853 then you wouldn't have any way to use DoT but they can't block port 443, that's why DoH is more secure and private.
ISPs have become mad at Firefox because Firefox thinking about enabling DoH on their browser by default. U.K.’s Internet Services Providers Association (ISPA) has nominated Mozilla as an Internet villain. Hilarious :ROFLMAO: If DoH is used then ISPs can't track users DNS queries, inject ads and block sites hence their rage on Mozilla.
ISP might still track your dns queries from SNI that's why you need to enable ESNI on Firefox from about:config. Most of the popular site and all the cloudflare hosted sites have ESNI support but ESNI doesn't work with the SimpleDnsCrypt app. So on Firefox also change the value of "network.trr.mode" to 2. Firefox by default uses Cloudflare DNS. Setting the mode to 2 means Firefox is gonna use Cloudflare DoH but if for any reason the server is down or something then it will switch back to your system's or router's default DNS. Cloudflare's privacy policy is already pretty good imo and they have a special agreement with Mozilla so they collect even less anonymous data for Firefox users.
Btw, you can use other DNS that has DoH support on Firefox too for example, Quad9, Cleanbrowsing DNS, Adguard DNS.
It's also possible to block sites via the SimpleDnsCrypt app. You can add websites to the blacklist. Very helpful for blocking ads directly on DNS level on your PC without using something like Pi-Hole.
So, this is what I personally use and recommend.
 

Decopi

Level 6
Verified
Oct 29, 2017
252
It's also possible to block sites via the SimpleDnsCrypt app. You can add websites to the blacklist. Very helpful for blocking ads directly on DNS level on your PC without using something like Pi-Hole.
So, this is what I personally use and recommend.

Hi @SeriousHoax !

Please, allow me a question about "Blacklist Rules" at SimpleDnsCrypt. After reading your comment, today (and for the first time) I started to play with this function. I already discovered that " * " can be used, and it's great because reduces a lot the number of entries (compared to hosts file). I just wonder if there are other rules or wildcards that can be applied. And what about REGEXPs? If REGEXPs work at "Blacklist Rules"... then this might have the potential to replace ad-tracker-telemetry-blockers!

Thank you in advance
 

SeriousHoax

Level 47
Verified
Top Poster
Well-known
Mar 16, 2019
3,634
Hi @SeriousHoax !

Please, allow me a question about "Blacklist Rules" at SimpleDnsCrypt. After reading your comment, today (and for the first time) I started to play with this function. I already discovered that " * " can be used, and it's great because reduces a lot the number of entries (compared to hosts file). I just wonder if there are other rules or wildcards that can be applied. And what about REGEXPs? If REGEXPs work at "Blacklist Rules"... then this might have the potential to replace ad-tracker-telemetry-blockers!

Thank you in advance
Hello, as far as I know rules can't be applied here. Only domain names like you said. Btw, even if you use a huge blacklist it doesn't affect performance. I use a huge blacklist file of 6.09 mb, added some sites to the whitelist and it works without any problem.
 

weedeezee

Level 2
Verified
Jun 20, 2017
82
Hello

Can you say am I safe I am useing DNS server they are in my country I am living?

I want I am useing Cloudflaire DNS.

I made test DNS server Cloudflaire same country showing I am living.

Do you say can my country see my DNS going comin?

Google DNS in other country showing.

Do you shuld I use Cloudflaire or Google?

I am asking privacy I am wanting.

Thank you very much.
 

HarborFront

Level 71
Verified
Top Poster
Content Creator
Oct 9, 2016
6,030
Hello

Can you say am I safe I am useing DNS server they are in my country I am living?

I want I am useing Cloudflaire DNS.

I made test DNS server Cloudflaire same country showing I am living.

Do you say can my country see my DNS going comin?

Google DNS in other country showing.

Do you shuld I use Cloudflaire or Google?

I am asking privacy I am wanting.

Thank you very much.
You can try KeweonDNS or Cleanbrowsing DNS. Both support DNS-Over-Https and no logging
 

weedeezee

Level 2
Verified
Jun 20, 2017
82
You can try KeweonDNS or Cleanbrowsing DNS. Both support DNS-Over-Https and no logging

Hello

I want useing Cloudflaire.

I made test DNS Server Cloudflaire same country showing I am living.

Do you should use DNS in my same country?

I am liveing X country.

Cloudflare DNS server place I am making test showing X country.

Do you say It is bad can X country look my DNS but not can look when I useing DNS server in Y country?

I am asking because privacy.
 
  • Like
Reactions: [correlate]

upnorth

Moderator
Verified
Staff Member
Malware Hunter
Well-known
Jul 27, 2015
5,459
major Internet service providers have cried foul. In a September 19 letter to Congress, Big Cable and other telecom industry groups warned that Google's support for DNS over HTTPS (DoH) "could interfere on a mass scale with critical Internet functions, as well as raise data-competition issues." On Sunday, The Wall Street Journal reported that the House Judiciary Committee is taking these concerns seriously. In a September 13 letter, the Judiciary Committee asked Google for details about its DoH plans—including whether Google plans to use data collected via the new protocol for commercial purposes.
 

blackice

Level 38
Verified
Top Poster
Well-known
Apr 1, 2019
2,781

Azure

Level 28
Verified
Top Poster
Content Creator
Oct 23, 2014
1,712
Over Wilderssecurity the user Beyonder posted this program which has been working well for me so far.


Since I already posted about a DNS program for Windows, I thought of posting another one which works on iPhone

Dnscloak. It allows me to change DNS even on mobile network.
 
Last edited:

SeriousHoax

Level 47
Verified
Top Poster
Well-known
Mar 16, 2019
3,634
Like this?


I haven't used simplednscrypt in quite some time so I don't remember what blocking feature you are referring to.

For example, the domains you put in your host file is blocked. Similarly SimpleDNSCrypt has a feature where you can select a text file containing all the domains you want to block so your PC won't make any dns queries for those domains. So it's possible to use it as a host based adblocker.
 

Azure

Level 28
Verified
Top Poster
Content Creator
Oct 23, 2014
1,712
For example, the domains you put in your host file is blocked. Similarly SimpleDNSCrypt has a feature where you can select a text file containing all the domains you want to block so your PC won't make any dns queries for those domains. So it's possible to use it as a host based adblocker.
From what I see the program does allows you to make block rules.

Did one for Google.com and *.org and it managed to block them. However it doesn't seem like you can import hostnames via text file. At the very least I haven't seen it.
 

Azure

Level 28
Verified
Top Poster
Content Creator
Oct 23, 2014
1,712
I contacted them. The feature to import domains is not supported but they plan to add it in the next versions.

Though they suggested if I wanted to copy/paste a domain to manually open the configuration file YogaDNS (human-readably XML)
 

SeriousHoax

Level 47
Verified
Top Poster
Well-known
Mar 16, 2019
3,634
I contacted them. The feature to import domains is not supported but they plan to add it in the next versions.

Though they suggested if I wanted to copy/paste a domain to manually open the configuration file YogaDNS (human-readably XML)
I tired but even after doing this correctly it says there's wrong symbols in my rules.
 
  • Like
Reactions: oldschool

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top