Page 1 of 1

DDNS enom.com fix

Posted: Fri Jun 16, 2017 6:00 pm
by zguithues
I'm just getting started with gargoyle, and so far it really easy to use!

I ran into an issue where the ddns for enom . com wouldn't actually update the dns, even though it reported success.

I dug around a little and found the reason...

Code: Select all

host_part                       echo "[[DOMAIN]]" | sed -e 's/.*$//g'  
" sed -e 's/.*$//g' " doesn't work... I'm not familure enough with sed to make it work, but i did figure out how to do the same thing with cut.

Code: Select all

host_part                       echo "[[DOMAIN]]" | cut -d . -f 1 
This works for me to update my dns.

Basically it was sending a request without a hostname, and in that scenario, it reports success; even though it didn't actually do anything.

Hopefully someone can fix this in the sources for future versions. :)

Re: DDNS enom.com fix

Posted: Fri Jun 16, 2017 8:37 pm
by Lantis
Hi,

Can you please confirm that the following also works for you:

Code: Select all

host_part                       echo "[[DOMAIN]]" | sed -e 's/\..*$//g' 
If so, i'll update the code.

Thanks