Fix a bug on setup_ddns task

The ddns_hash was being set as a tuple also fix the second entry on
/etc/hosts