3 ms·
How does this actually work? Finding it hard to believe someone bought domains for all combinations of those unit conversions
by Havoc 3y ago
How does this actually work? Finding it hard to believe someone bought domains for all combinations of those unit conversions
- maxmouchet 3y agoIt works by querying a specific DNS resolver (dns.toys): dig +short TXT mumbai.weather @dns.google # NXDOMAIN dig +short TXT mumbai.weather @dns.toys "Mumbai (IN)" "30.90C (87.62F)" "45.90% hu." "clearsky_day" "15:30, Sun" "Mumbai (IN)" "28.10C (82.58F)" "56.00% hu." "fair_day" "17:30, Sun" ...
- Havoc 3y agoI see - thanks for explaining
- jfreax 3y ago> How does this actually work? Finding it hard to believe someone bought domains for all combinations of those unit conversions dns.toys runs a (custom) DNS resolver. The example dig commands are asking this resolver. They are not using your configured (public) resolver. The custom resolver can return whatever it wants depending on the request. You could also ask the resolver what the IP (A-record) of e.g. "google.com" is and it could answer with whatever it wants. Therefore, they actually just use one domain: dns.toys.