4 ms·
I'm using 8.8.8.8 and its coming up as cloudflarenet not whatever google should presumably be?
by compsciphd 6y ago
I'm using 8.8.8.8 and its coming up as cloudflarenet not whatever google should presumably be?
- treis 6y agoMe too. Can someone explain why Cloudflare shows up when (as far as I know) I don't use Cloudflare.
- _-___________-_ 6y agoYour browser is not using the system resolver, but is probably using DoH instead.
- dheera 6y agoGosh, I feel old, how do I set DNS servers in Linux these days? I used to just edit /etc/resolv.conf and add 8.8.8.8 to it but now recent distros have "Do not edit." in resolv.conf and don't tell you what to actually edit. Why do they have to do this to us ... things used to be simple.
- teddyh 6y agoIt depends on whether you are using NetworkManager or systemd-resolved, or something else.
- Denvercoder9 6y agoYou can still edit /etc/resolv.conf. If it has a "Do not edit" comment in it, it's probably a symlink to some file that's dynamically managed (most likely to automatically use or fallback to the DNS server advertised on the network, as needed for e.g. captive portals). Just replace the symlink with a text file with your prefered DNS server in there.
- vetinari 6y agoBecause it is not adequate to use cases today. Today, you can set up DNS per interface and designate, which DNS accessible via which interface can resolve which zones. So your intranet.company.com can go through specific VPN connection and the rest via your default route, for example. You can't do that with simple /etc/resolv.conf.
- Godel_unicode 6y agoI don't think resolvectl is less simple, just different. It makes it much easier to realize you've typo'd something, for instance. It also makes it easier to understand what the running config is, as opposed to the old "read a bunch of text files and hope they haven't been edited since the daemon was hup'd". https://wiki.archlinux.org/index.php/Systemd-resolved#Setting_DNS_servers https://wiki.archlinux.org/index.php/Systemd-resolved#Settin...
- gilrain 6y agoAre you using Firefox? https://support.mozilla.org/en-US/kb/dns-over-https-doh-faqs#w_how-dns-over-https-works-for-firefox-users-based-in-the-us https://support.mozilla.org/en-US/kb/dns-over-https-doh-faqs...
- compsciphd 6y agothat explains it. chrome comes up as google. However, I'm not located in the US.... (a good 10k kilometers away)