Puedes probar herramientas como IP Watcher o IP Mailer aunque lo más sencillo sería programarlo por tu cuenta.
Con PowerShell también puedes hacerlo, pero tal vez se te hará algo complicado.
Una opción más sencilla sería programar un script sencillo en PHP, Perl o Python que consulta una página externa y si la IP ha cambiado que
envíe el correo.
PD: En toda mi respuesta me he estado refiriendo a la IP externa.
Con PowerShell también puedes hacerlo, pero tal vez se te hará algo complicado.
Código (bash) [Seleccionar]
## Function to retrieve external IP address.
## the external address is retrieved from the
## title header of the webpage "www.myip.dk"
function Get-ExternalIP {
$source = "http://www.myip.dk"
$client = new-object System.Net.WebClient
$webpage = $client.downloadString($source)
$lines = $webpage.split("`n")
foreach ($line in $lines) {
if ($line.contains("</title>")) {
$ip = $line.replace(" <title>Your IP address is: ", "").replace("</title>","")
}
}
$obj = New-Object Object
$obj | Add-Member Noteproperty externalIP -value $ip
$obj
}
Una opción más sencilla sería programar un script sencillo en PHP, Perl o Python que consulta una página externa y si la IP ha cambiado que
envíe el correo.
PD: En toda mi respuesta me he estado refiriendo a la IP externa.