85
linuxxx
6y

I find the whatsmydns.net website very useful. Too bad that they don't have an api so that I could use it with the commandline 😥

A few hours of analyzing and programming further I 'reverse engineered' the website and wrote a CLI tool which works perfectly fine!

Even though things like these are simple, they always make me feel like I'm a tiny God of sorts 😊

Comments
  • 15
    Wonderful. I feel like a collection of your little tools and hacks would be such a treasure trove
  • 1
    I never even heard of this site yet.. usually I just wait it out for a couple of weeks, haha. Thanks for the suggestion, and great to hear that you made a CLI tool for it!
  • 2
    Out of curiosity though, wouldn't it be possible to just figure out what DNS servers they're checking against and using something like "dig a nixmagic.com @66.93.87.2" and so on? I bet that that's what they're using in the backend too.
  • 1
    @Condor Yeah it would be haha, I just found it a challenge to do it like this :P
  • 2
    @Condor Nevermind, the ip addresses of the dns servers aren't exposed so I actually don't know those :)
  • 2
    @linuxxx yeah, I looked for them as well but I can't seem to probe the US servers for example from my VPN for some reason. Maybe they've limited it to their own network 🤔
  • 4
    This makes you feel like a tiny God?! It makes me feel like a giant God, controlling the universe!
Add Comment