Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: rmoria on April 14, 2015, 02:57:41 PM

Title: mail on external IP change
Post by: rmoria on April 14, 2015, 02:57:41 PM
Hi all. I used to have this working, but forgot how to do it.
I want to get an e-mail on my gmail account when the servers external IP changes (which it does about twice a year). If i have that I can change the DNS entry for the server.

I think it has to go in /etc/e-smith/events/actions/set-external-ip
Title: Re: mail on external IP change
Post by: rmoria on April 14, 2015, 03:09:42 PM
Soory, found it after a better search:
http://forums.contribs.org/index.php?topic=28813.0
Title: Re: mail on external IP change
Post by: CharlieBrady on April 14, 2015, 03:24:20 PM
I want to get an e-mail on my gmail account when the servers external IP changes (which it does about twice a year). If i have that I can change the DNS entry for the server.

Dynamic DNS is designed to do that automatically. You can set up your main domain DNS to be a CNAME record, and use Dynamic DNS to change a DynDNS specific hostname, or you can set you primary domain to be the DynDNS hostname, and have your "main" domain name be an additional domain. Either way it will "just work".