Live data from Hacker News

Duck DNS – free dynamic DNS hosted on AWS

duckdns.org

41–50 of 103 posts

Re: Duck DNS – free dynamic DNS hosted on AWS

#42

For anyone hosting their domain on Google Domains, there's a neat API endpoint they're offering for updating the DNS with a simple CURL. I've been using this for years now for a public Raspberry PI behind a home router that changes IPs every other day. curl -s -k --user "username:password" "https://domains.google.com/nic/update?hostname=yourdomain.com" There's more parameters (and you can specify an IP, the above req…

I don't know if it's relevant but there was an article the other day about how Google is phasing out username:password logins for most Google related services and APIs, so if you have a script running quietly for years doing this task, it might be worth double checking if it will continue to be fine. (It might be, if this u/p is unique to the domain as the docs suggest - but I thought I'd mention it just in case!)

This is with an application specific username/password pair that GoogleDNS gives you. And will only update that specific record.

Re: Duck DNS – free dynamic DNS hosted on AWS

#43

one could just pay a small yearly fee to register their domain with google and get easy/unlimited ddns.

I don't believe this solves the issue if your IP changes all the time.

Why not? As OP said you'll get an easy way to update the dns entry with the new IP.

Re: Duck DNS – free dynamic DNS hosted on AWS

#44

I'm currently on the search for a service to facilitate DDNS. Duck DNS seems popular, but I'm skeptical of things that are simply offered for free. What assurance do we have that Duck DNS is secure, or that it will not just disappear one day? The alternative that seems better to me is Namecheap with their API.

My router supports Route53, so I just pay the $0.50/month for them to host the domain. I don't foresee Route53 going away anytime soon.

How does your router support Route53? Does your router have a static IP address and you just created an entry in Route53 mapping a subdomain.example.com to the static IP of your router? DuckDNS is a Dynamic DNS and can work with common dynamic IPs... How do you update the entry in Route53 when the IP address of your router changes?

Re: Duck DNS – free dynamic DNS hosted on AWS

#45
In the past I've tried using the free tier of other DynDNS services but with 2 commercial routers I had it always boiled down to the firmware being crap and having some bug that wasn't working with the free DynDNS. Many people recommend OpenWRT but you need to plan in advance which router you are going to buy to be compatibile with OpenWRT and I never planned so much in advance.

Re: Duck DNS – free dynamic DNS hosted on AWS

#46
post #34

Earlier quoted context omitted.

What's more interesting is that DDG had disputes with Google over the ownership of the duck.com domain. Google was squatting on the domain and redirected it to Google (dirty tactic). But I guess it could just as easily have gone to the Oregon Ducks or some duck based website. (interestingly "ducks.com" doesn't go anywhere for me)

Hmm, I remember it differently, with Google redirecting duck.com to DDG, and then later just handing the domain over to them.

You're remembering things correctly. The WHOIS record for duck.com shows that it's owned by Duck Duck Go, Inc.

Re: Duck DNS – free dynamic DNS hosted on AWS

#47
post #11

I'm currently on the search for a service to facilitate DDNS. Duck DNS seems popular, but I'm skeptical of things that are simply offered for free. What assurance do we have that Duck DNS is secure, or that it will not just disappear one day? The alternative that seems better to me is Namecheap with their API.

Why does it matter if it just disappears one day if you are not paying for it anyways?

this comment hit me pretty hard. why do we expect longevity in the free open source world?

Re: Duck DNS – free dynamic DNS hosted on AWS

#48

For anyone hosting their domain on Google Domains, there's a neat API endpoint they're offering for updating the DNS with a simple CURL. I've been using this for years now for a public Raspberry PI behind a home router that changes IPs every other day. curl -s -k --user "username:password" "https://domains.google.com/nic/update?hostname=yourdomain.com" There's more parameters (and you can specify an IP, the above req…

so I mentioned the same thing, though one thing to note (which I doubt duck dns helps with either). Is one can't use google's dynamic dns with AAAA records (i.e. ipv6). Personally, I think this is massive oversight on their part.

Re: Duck DNS – free dynamic DNS hosted on AWS

#49

Earlier quoted context omitted.

My router supports Route53, so I just pay the $0.50/month for them to host the domain. I don't foresee Route53 going away anytime soon.

How does your router support Route53? Does your router have a static IP address and you just created an entry in Route53 mapping a subdomain.example.com to the static IP of your router? DuckDNS is a Dynamic DNS and can work with common dynamic IPs... How do you update the entry in Route53 when the IP address of your router changes?

My router supports no-ip and other dyndns providers. I expect if that particular router supports Route 53 than it'll do the same: just update the entry in Route53.

Re: Duck DNS – free dynamic DNS hosted on AWS

#50

I'm currently on the search for a service to facilitate DDNS. Duck DNS seems popular, but I'm skeptical of things that are simply offered for free. What assurance do we have that Duck DNS is secure, or that it will not just disappear one day? The alternative that seems better to me is Namecheap with their API.

https://freedns.afraid.org has been running forever and a day, has thousands (?) of domain names donated for use, two APIs (v1 and v2), and the free tier is subsidized by paying premium members (premium gets extra features). Highly recommended.
Post reply on HN