One of my servers has a dynamic IP. I needed to update AWS R53 service to point at the new IP whenever it changes.
I found this script https://github.com/holgr/php-ddns53 which is a PHP script that you can put in cron to update R53 on a minute basis.
I installed it today, we'll see how it works.
I imagine that a better way to do it would be to use AWS to check if the domain is down (maybe because its pointing to the wrong IP), and in that case use this PHP script.
But this quick-n-dirty should be enough.
Python, IaC, algo trading, programming, server administration, Linux, PHP, CakePHP, PostgreSQL, MySQL, Joomla ...
Wednesday, April 1, 2015
how to configure Firefox to use an SSH tunnel with putty
It's pretty straight forward.
Open putty, configure you session by going to this screen, configure as you see and click Add.
Click OK and that's it!
Now you have to connect to the putty session you configured and voilà.
Open putty, configure you session by going to this screen, configure as you see and click Add.
Then on Firefox, go to Tools->Option->Advanced->Network, and configure as seen here (if you used other port than 1234, be sure to put it here accordingly):
Now you have to connect to the putty session you configured and voilà.
Subscribe to:
Posts (Atom)
cancel script completely on ctrl-c
I found this question interesting: basically how to cancel completely a script and all child processes : You do this by creating a subro...
-
I've been using WinScp and a script to compress files at maximum compressión, name the file as name_YYMMDD-HHMM.rar, and send them to a...
-
tomado de: http://el-directorio.org/ErroresComunesPhpmyadmin ARREGLAR ERROR 1045 (28000): Access denied for user 'root'@'localho...
-
Styling Excel cells with mso-number-format mso-number-format:"0" NO Decimals mso-number-format:...