57.12 Dynamic Host Name Mapping

A number of providers supply free Dynamic DNS services whereby a home user connecting through an ISP with dynamic IP addresses (the IP address changes on each new connection) can associate a host name with the IP address. This is like controlling a moving target, and works very well.

You can find your current IP address with:

  lynx -dump http://checkip.dyndns.org \
  | sed -n '/Current/s/.*: \([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\)/\1/p'

or with

  wget http://www.whatismyip.org/ -qO - | html2text


Your donation will support ongoing development and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.