Updated dotdemo to use latest version of ddclient
Now using ddhelpers. Removed some left over variables. Added minor sanity check for resolution