|
|
|
|
|
by efortis
694 days ago
|
|
Since my IP hardly changes, I went from DDNS to an email notifying me when the IP changes with this cron: old_ip=`cat ~/.prev_ip`
my_ip=`ifconfig em0 | awk '/inet/ {print $2}' 2>&1`
my_email=me@example.com
if [ "$my_ip" != "$old_ip" ]; then
echo $my_ip > ~/.prev_ip
echo $my_ip | mail -r $my_email -s "New IP: $my_ip" $my_email
fi
|
|
Same. Our wireline ISPs used to issue new public IPs every 1-12 weeks. Now it's more like 6 mos to never.
I'm thinking this is due to pressure from IPv4 exhaustion and the rise of easy DDNS. There's also an overall shift - from using tech to protect profit-generating services to using lobbyists.
To share an anecdote from the before times: I was once trying to setup a VPN endpoint on a client's DSL connection. Every time I initiated the connection, their public IP would change. The lease renewal was fairly quick and I could trigger 5 changes a minute.