Show HN: A simple-to-update dynamic DNS service
dhcp.io
dhcp.io
crontab -e
and adding the line: 31 * * * * curl http://dhcp.io/set/99351a76-f6...
(the above job will run on the 31st minute of every hour)I suspect that you'll want to hide STDOUT, if not STDERR. If you're ever dual-homed you might also want to consider adding an explicit "-4", or "-6" in there.
Initially it was put together as a learning experience, but I can see that it is useful enough to remain live indefinitely.
I can imagine several way of monetizing it, such as adding the MX/SRV/TXT/CNAME records, etc. But the one that seems most useful would be allowing custom domain - and sadly I can't see how to do that easily.
(I can't imagine somebody would trust me with their root-domain, basically. And having *.foo.example.com seems like it would be long enough to spoil the utility.)
The “root-domain” is the domain name with a single zero-length label at the top of the hierarchy. What you're referring to is a zone.
> But either way if you find this service useful you can clone the source-code from Github[0], and run your own instance.
Can I ask why you want it to be open though? Do you not trust the site/me to exist in the future? Or do you not want to rely on something external?
(Of course your IPv6 connectivity to dhcp.io has to work properly, but it certainly works both ways for me).
That said I am looking at monetizing, via additions which require either a low yearly fee, or a lifetime membership price (low).
The hard part is seeing what people will consider useful enough. One name for free, without monthly logins being required must always be true.
But I could imagine raising the standard TTL to 600 seconds, and keeping 60s for the premium users, adding MX record support, etc.
Your biggest cost sink will be abuse. Some peddler of illicit images or terror group will set up camp, Amazon will take down all of your records. You'll realize you need to run your own infrastructure. You setup a few boxes. Someone starts selling fake rolexes and your boxes get taken offline. You move them to a friendlier host. A HYIP gets setup under your domain and they don't pay someone, which results in a 150 Gbps DDoS attack. The FBI shows up. You get cynical dealing with the lowest scum of the internet on a regular basis. People are constantly asking for new features and unwilling to pay. You're funding the whole thing out of pocket. Eventually Dyn shows up and offers to take the whole thing off your hands. A year later they shut it down. Some guy on Hacker News announces some Dynamic DNS or free DNS hosting provider, and you smirk to yourself.
I did evaluate a couple of potentially negative outcomes, but they largely boiled down to Amazon dropping the domain, or having a sudden influx of faked traffic resulting in large bills.
I will keep a more cautious eye out ..
I also have some experience with a large DNS service and you just wouldn't believe the amount of time and resources that get allocated to dealing with abuse.
I mean, I applaud the good intentions and I sure would love for there to be a good and stable public dyndns solution, but history is not on side with that outcome unfortunately. :(