3 ms·
My IPv4 address with FiOS changes frequently. I use an outside dynamic DNS provider that the FiOS router supports natively so I can always get back to my home n
by 300bps 4y ago
My IPv4 address with FiOS changes frequently. I use an outside dynamic DNS provider that the FiOS router supports natively so I can always get back to my home network.
I think that would work for IPv6 as well but not with the use case where you’re using the public IP address as your hosts’ DNS server.
Could you assign an internal IPv6 address to your DNS server that is static and have it also get a second address from FiOS? Then all your clients could be configured to go to the static internal address.
- kcb 4y agoThat's surprising, my FiOS IPv4 address doesn't change for years at a time.
- rocket_surgeron 4y agoI've had FiOS in the mid-atlantic since 2007 and as far as I can tell it only changes IP addresses when there is a power outage and everything reboots, which is rare.
- PaulDavisThe1st 4y agoBecause I'm irritated by paying for dynamic DNS that actually works, I run the following script once an hour via cron(1): ip=`curl --silent ipinfo.io/ip` ssh -i <CREDENTIALS> <MY-CLOUD-HOST> "echo $ip > lastlog" Then anytime I need to know where home is: ssh MY-CLOUD-HOST -C cat lastlog [ EDIT: having posted this, i realized you could do the same thing just using whoami(1) on MY-CLOUD-HOST and avoid ipinfo.ip entirely ]
- dinosaurdynasty 4y agossh <MY-CLOUD-HOST> "echo \$SSH_CLIENT" | cut -f1 -d' ' works too
- somat 4y agoThe environment variable SSH_CONNECTION also gives this info. I have almost the same setup. mine looks sort of like this. echo "${SSH_CONNECTION}" | awk '{print $1}' | cat "/var/ip_log" - | uniq > "/var/ip_log.new" mv "/var/ip_log.new" "/var/ip_log"
- usrn 4y agoOn my machine I send this directly to nsupdate and have part of my personal domain delegated to that machine for dns stuff like this.
- toast0 4y agoI haven't tested it too hard, but hurricane electric's free dns includes a dynamic DNS option which seems to work as long as you don't cron it too frequently (every 5 minutes works, every minute was too frequent and got blocked)
- theandrewbailey 4y agoI have FIOS with a router with OpenWRT, and my IP address only changes when the power goes out.
- Bedon292 4y agoOh, that is an interesting one I hadn't thought about. Since I expected IPv6 to just never change. I have all my IPs configured static internally, and have DNS going over to AdGuard Home. Even have the firewall set up to force all DNS traffic over there. Doesn't work so well if all my IPs change because Verizon had an outage.
- xoa 4y ago>* My IPv4 address with FiOS changes frequently. I use an outside dynamic DNS provider that the FiOS router supports natively so I can always get back to my home network.* I handle this exclusively with WireGuard or Nebula now, though I'm sure other stuff like ZeroTier would work too. At worst a $5 VPS is enough to act as a lighthouse/relay, although as it happens for one of my virtual networks I do have a fixed IP to work with. But everything else can be whatever, completely dynamic, and all the tunnels stay up fine 24/7/365 and traffic can be routed through them as I wish and extremely minimal exposure. On my own sites I use OPNsense to mix and match whole VLANs. If one explicitly wants to run services to the general world from home that's of course no good, but if it's all private I think modern point to point tunnels or high level dynamic meshes are an excellent option now, and can be fully self-hosted super easily. It's very exciting how fast, reliable and powerful completely FOSS options are nowadays.