Hacker News new | ask | show | jobs
by 3xblah 2251 days ago
"I will concede am lucky enough to have static IPv4/IPv6 addresses on my home connection."

A while back, some HN commenters in a Wireguard thread tried to argue that all home connections have static IP addresses, or at least ones that do not change frequently enough to be an issue. If I had a static IP address I, too, would consider myself lucky.

1 comments

Why not use use a dynamic dns service? My router updates my VPN's dns entry automatically at cloudflare when it gets a new up. Everything works like magic just like the previous poster's setup, except without a static home ip.
Many ISPs, particular in EMEA, don't even hand out public IP addresses to their customers; cf. CGNAT [0]. End users, at home, will get RFC1918 or RFC6598 IPs from their provider.

While they could still use a dynamic DNS service, the public IP that it sees will actually be a public IP address that is shared by many customers.

---

[0]: https://en.wikipedia.org/wiki/Carrier-grade_NAT

This works for me, my Pi has a little script to get public IP and update DNS. The rare IP switch at home is updated in 10 minutes. Bonus the endpoint is in my domain.
Many mobile devices don't permit setting a hostname for DNS provider.
It's hostname for VPN endpoint not DNS.