{"repo":"redirect2me/which-dns","free":true,"listed":false,"github":"https://github.com/redirect2me/which-dns","clone":"git clone https://github.com/redirect2me/which-dns.git","description":"Detects which DNS server is being used - https://which.resolve.rs/","language":"Go","stars":410,"topics":["dns","resolver","dns-resolver","nameserver"],"license":"AGPL-3.0","category":"networking-infra","readme_excerpt":"Which DNS: DNS Resolver Detection This is a combined DNS+HTTP server that shows which DNS server a computer is using. How does it work? 1. You make a request to a hostname with a unique prefix. 2. All hostnames resolve to the same IP, but the DNS server records which IP address the query came from. 3. The webserver looks for this record and returns it. Using My server is running at which.resolve.rs . Be forewarned: it is running on the cheapest box I could find with a static IP. You can hit it for light, non-commercial use. 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! Make an HTTPS request to GUID.which.resolve.rs/api.json?callback=myfunction . The GUID should be a unique string (not necessarily an actual GUID), different for every call. It will call myfunction with an object that has the following fields: success - boolean if it succeeded or not output - the result (if it succeeded) message - the error message (if it failed) source - the source IP address (useful for detecting self-hosted DNS) You can see it in action on the home page of resolve.rs. Running your own copy You need a static IP address to run this server. Then you need to decide on two host names: hostname is the name of the subdomain that this server will own (for example: which.example.com ) nshostname is the name of the authoritative name server for the subdomain (for example: which-dns.example.com ) The","default_branch":null,"files":null,"tree":[],"storefront":"/r/redirect2me","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/redirect2me/which-dns/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}