TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Which DNS servers are you pointing to?

283 pointsby Fileformatover 4 years ago

28 comments

Fileformatover 4 years ago
I kept running into DNS issues, and needed to triple-check that I was pointing to the right DNS servers, so I made this utility website that does exactly that: which-dns [1]<p>This isn&#x27;t a new idea ([2]), but mine supports https (hat tip to Matt Holt&#x27;s certmagic [3]), is ad-free, and the source is available [4].<p>Let me know what you think!<p>[1] <a href="https:&#x2F;&#x2F;which.nameserve.rs" rel="nofollow">https:&#x2F;&#x2F;which.nameserve.rs</a><p>[2] <a href="http:&#x2F;&#x2F;www.whatsmydnsserver.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.whatsmydnsserver.com&#x2F;</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;caddyserver&#x2F;certmagic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;caddyserver&#x2F;certmagic</a><p>[4] AGPL. It is my first foray into golang. <a href="https:&#x2F;&#x2F;github.com&#x2F;redirect2me&#x2F;which-dns" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;redirect2me&#x2F;which-dns</a>
评论 #24887045 未加载
评论 #24886810 未加载
Fnoordover 4 years ago
Doesn&#x27;t show IPv6 for me.<p>I always use IPleak.net [1]. Works for public IPv4, IPv6, DNS server, Tor&#x2F;AirVPN exit node, BitTorrent, geolocation, and all kind of browser metadata.<p>Browsing through comments shows this can do some things IPleak.net can&#x27;t do such using wget&#x2F;curl with API.<p>[1] <a href="https:&#x2F;&#x2F;ipleak.net" rel="nofollow">https:&#x2F;&#x2F;ipleak.net</a>
评论 #24887713 未加载
jelvover 4 years ago
You can check your best available dns server via this easy tool <a href="https:&#x2F;&#x2F;www.grc.com&#x2F;dns&#x2F;benchmark.htm" rel="nofollow">https:&#x2F;&#x2F;www.grc.com&#x2F;dns&#x2F;benchmark.htm</a> (win and wine)
评论 #24887337 未加载
arminiusreturnsover 4 years ago
This is really cool, especially because I can just &#x27;wget -qO- $RANDOM.which.nameserve.rs&#x2F;api.json?callback=myfunction&#x27; which means I can use this in scripts. (For example an added field to scripts that grab from ifconfig.co)
评论 #24887511 未加载
评论 #24887953 未加载
WarOnPrivacyover 4 years ago
I have a local DNS server that forwards over TLS (DoT) to Cloudflare &amp; Quad9, round-robin.<p>Page alternately returns WOODYNET @ rrdns.pch.net and CLOUDFLARENET. I like the pch.net info - it&#x27;s something about Quad9 I didn&#x27;t know.
评论 #24888520 未加载
znpyover 4 years ago
I run my own DNS servers at home. I have a small virtualization cluster and run a small DNS vm on each physical host.<p>My resolvers perform queries against the root servers directly and cache results.<p>It&#x27;s refreshing to skip all the DNS fuckery that&#x27;s going on nowadays.
评论 #24888635 未加载
评论 #24892624 未加载
评论 #24888471 未加载
评论 #24892944 未加载
lucb1eover 4 years ago
If Mozilla silently enabled DOH-via-CloudFlare for you, it would show up here right? Because if yes, this would make it quite easy to find whether you have the right settings without having to find it somewhere in a configuration screen or trying to find out which users&#x27; throats Mozilla ended up deciding to force this down.
评论 #24887447 未加载
评论 #24891716 未加载
makeworldover 4 years ago
I run my own DNS resolver at home, and it&#x27;s coming up with my own public IP address, with my ISP as the name. Neat.
gslinover 4 years ago
Akamai also provides something similar:<p>* <a href="https:&#x2F;&#x2F;developer.akamai.com&#x2F;blog&#x2F;2018&#x2F;05&#x2F;10&#x2F;introducing-new-whoami-tool-dns-resolver-information" rel="nofollow">https:&#x2F;&#x2F;developer.akamai.com&#x2F;blog&#x2F;2018&#x2F;05&#x2F;10&#x2F;introducing-new...</a>
Cantbekhanover 4 years ago
Nextdns.io and cloudflare externally. Pi-hole pointing to those internally. Preferably encrypted. Preferably with Firefox due to esni support.
评论 #24888386 未加载
评论 #24889462 未加载
评论 #24892620 未加载
fwrover 4 years ago
Neat, this helped me realize I haven&#x27;t switched away from my provider&#x27;s default DNS when I moved in, which is something I usually do.<p>How to choose a DNS server? I usually just go with 8.8.8.8&#x2F;8.8.4.4, I used to always test this with Namebench (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Namebench" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Namebench</a>) and these always turned out as the fastest - but it looks like it hasn&#x27;t been updated since 2010 - are there any better tools for this, or any considerations in general? I prefer performance over privacy here, I think privacy should be on a different layer.
评论 #24887531 未加载
评论 #24890483 未加载
评论 #24893187 未加载
评论 #24890072 未加载
armSixtyFourover 4 years ago
It would be neat if this also recognized that you&#x27;re hosting your own dns, instead of spitting your own IP back at you. I didn&#x27;t recognize my IP at first.
评论 #24889000 未加载
afkqsover 4 years ago
What are the best practices&#x2F;choices today when choosing your DNS servers when it comes to privacy?
评论 #24888716 未加载
babuskovover 4 years ago
Unrelated, but I found a typo on this page:<p><a href="https:&#x2F;&#x2F;resolve.rs&#x2F;http&#x2F;myheaders.html" rel="nofollow">https:&#x2F;&#x2F;resolve.rs&#x2F;http&#x2F;myheaders.html</a><p>It says:<p>&gt; These are the HTTP headers that are being sent my your browser.<p>Great set of tools, BTW.
评论 #24890375 未加载
knownover 4 years ago
DIY script to find out the fastest DNS for you;<p>for i in `cat dns_list.txt|grep -v &#x27;^#&#x27;` do qt=`dig @$i archive.is| grep &quot;Query time:&quot; |cut -f2 -d &#x27;:&#x27;` echo &quot;$i: $qt&quot; done
Fileformatover 4 years ago
I&#x27;ve added an &quot;Alternatives&quot; section [1] to the README with several of the sites&#x2F;services&#x2F;etc mentioned in this HN thread.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;redirect2me&#x2F;which-dns#alternatives" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;redirect2me&#x2F;which-dns#alternatives</a>
bloopernovaover 4 years ago
This is great, thank you for creating it and sharing it. I&#x27;ll be sharing this with all my colleagues!
teknologistover 4 years ago
I often use dnsleaktest.com for this; it runs multiple rounds so you see all the ones you might be using.
评论 #24887147 未加载
anderspitmanover 4 years ago
&gt; I specifically made the API be JSONP only (i.e. you need to provide a callback parameter), so if you abuse it, bad things will happen to your clients!<p>Is OP threatening to inject harmful code into abusers&#x27; script tags, or am I totally misreading this.
评论 #24906133 未加载
compsciphdover 4 years ago
I&#x27;m using 8.8.8.8 and its coming up as cloudflarenet not whatever google should presumably be?
评论 #24887383 未加载
评论 #24887392 未加载
评论 #24887349 未加载
_-___________-_over 4 years ago
This shows which DNS server performed the recursive query for you, but in more complicated setups it won&#x27;t be the DNS server your system is pointed to. For example if you&#x27;re using 1.1.1.1, this will show some other CloudFlare IP.
评论 #24895792 未加载
justsomedoodover 4 years ago
Wow, this is such a useful tool and a clever way of finding out the DNS server. Great job!
评论 #24887092 未加载
chimenover 4 years ago
Did one for my project that discovers more servers [1] Not an easy task I tell you that.<p>[1] <a href="https:&#x2F;&#x2F;dnsadblock.com&#x2F;dns-leak-test&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dnsadblock.com&#x2F;dns-leak-test&#x2F;</a>
ycombonatorover 4 years ago
Also is there a crawler &#x2F; network tool to find a recursive resolver close to your geographical location
评论 #24895858 未加载
robertcopeover 4 years ago
I really like NextDNS. But right now, I&#x27;m pointed to Cloudflare Gateway servers.
rosstexover 4 years ago
Super useful, thanks!
tsjqover 4 years ago
Good one. Thanks
CircoDesktopover 4 years ago
Great tool !