On Tue, 27 May 2014, Bill Barry wrote:

> This is normal behaviour. Unless you give it the full url as given in
> your script.
>
> A much simpler script would be
> #!/bin/bash
> /usr/bin/curl -s
> "https://dynamicdns.park-your-domain.com/update?host=@&domain=appl-ecosys.com&password=***";
> >/dev/null
> /usr/bin/curl -s
> "https://dynamicdns.park-your-domain.com/update?host=@&domain=twodogs.us&password=****";
> >/dev/null
>
> Notice I left the &ip=$NEWIP  out. If you do not include the ip, it
> gets the ip address from the client packets.
>
> Also I left off all the checking to see if the IP address has changed.
> This gets rid of one of the main places the script could fail.

Bill,

   Thank you.

   If checking for a new IP address can cause the script to fail, then am I
correct that leaving it out updates the dynamic DNS server with the IP
address of the domain that connected to it?

   Wonder why the script silently crashed this morning.

Much appreciated,

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to