3 ms·
> http://whatsmyresolver.stdlib.net/ http://whatsmyresolver.stdlib.net/ I didn't know this could be done. I am using powerdns on my own server at home, and it
by y0ghur7_xxx 13y ago
> http://whatsmyresolver.stdlib.net/ http://whatsmyresolver.stdlib.net/
I didn't know this could be done. I am using powerdns on my own server at home, and it displays correctly my ip address.
Can you give me some pointers to understand how this works?
- jlgaddis 13y agoDisclaimer: I don't know with absolute certainly that this is correct but based on a quick look at the page and what I already know I think it's probably correct. Look at the the source for that page and you'll see: <script language="javascript" src="http://whatsmyresolver.stdlib.net/resolver/"></script> When your browser loads that, it'll return a reference to a resource with a unique hostname. Open that URL in your browser, for example, and you'll likely see something like the following in the address bar (this is what I received, with a few characters changed): http://e9v4ftan41uv2676ycdcl1a504pupav2lp7hinqlffonpuk7wk87p9cd42oy4.nonce.stdlib.net/resolver/ Thus, your browser will do a DNS lookup for that hostname. Because that URL is unique to you, the DNS server knows that it is you making the DNS request. It makes a note of what IP address the request came from and returns that to you as the IP of your resolver. Similar to you, I have a pair of resolvers running here at home and I am returned the IP address of one of them.
- y0ghur7_xxx 13y agoThank you
- colmmacc 13y agoYou can be certain now, that's exactly how it works!