You Unutterably Bastard-Shaped Bastards
- 3 minutes read - 433 wordsLike a lot of geeks, I use DuckDNS to give me a handy DNS name that points to my public IP address.
I had planned to use this for a bit of basic web hosting, but it turns out that there are way better ways to do public web hosting that don’t die when you cock up the config on your Raspberry Pi. Not that I would ever do that, of course. Well, not twice. Or, um, twice-ish.
Sidebar: for those not familiar with DuckDNS, it’s a handy way to get a
permanent DNS name that points to your broadband IP. Because broadband IPs
change unpredictably, you need to keep updating the registration, and DuckDNS
does that for you. To use it, all you have to do is to set up a small process on
a machine on your LAN, that pings their server every now and then with your
credentials. That then updates your dns record. This means that you now have a
name you can use on the public internet, like example.duckdns.org. This
resolves to the last IP that they saw a ping from. I use this so that I can
always refer back to my house should I need to log in at home while I’m at work.
This plus sshuttle gives me a free VPN from unsecured WiFi back into my house and out to the internet from there. It also used to mean that I could log into my Raspberry Pi and play Freecell during dull meetings, which is a story for another day.
Let me be entirely clear here: to the very very best of my knowledge, DuckDNS is entirely legitimate and a brilliant initiative that provides something absolutely vital for free, although they do accept donations. I have never had an issue with them, and I have no connection with them other than that I’ve used the service happily for many years.
However, I made an error configuring ssh access on my work laptop, ready for
Return To The Office. And, thanks to ssh saving me, I realised instantly. The
problem is that some scammers, presumably called “dickdns”, have set up a
name-alike site called “duckdns.com”. Any name you ask for there goes to one of
their scamming IPs. They are presumably trying to capture user names and
passwords, so they can hack into whatever you’re running on the far end. I, of
course, am using certificate-based authentication, so ssh saved me. Or, based on
a quick couple of visits to hxxp://example.duckdns.com/, it’s just the
standard scammy web sites you’d expect.
Be careful out there, folks.