dynamic dns | |
Wednesday Oct 7 11:27:13 2015 | |
I had a static ip for 12 years. Setting everything was esasy peasy | |
once you had learnt your ip by heart. However, everything changes and | |
since Monday, 5th I have a dynamic ip. You have two choices here, | |
either you reconfigure all your services each time your ip changes or | |
you use a service that automatically detects your new ip and redirects | |
to it. | |
Well, after looking for such a service I discovered duckdns.org They | |
provide a free service which is easy to setup. You create an account | |
and they give you a subdomain which points to your ip, even if it | |
changes. You install a cronjob in your computer that updates your ip | |
information and that's it. Awesome!!! | |
This afternoon I was thinking that it would be very cool if there was | |
a program that informed you of your ip each time you log into your | |
terminal. Something like pom but saying something like: | |
Good morning sir. Your ip is: xx.xx.xx.xx | |
Update: I found a super-kewl command which can be used to do the | |
trick: | |
$ curl ifconfig.me | |
______________________________________________________________________ | |
Gophered by Gophernicus/1.6 on NetBSD/amd64 9.1 |