Fix domainname setting
The variable did not get updated in all places from domain to domainname
Merge pull request #259 from nickanderson/bugfix/sketches/system/set_hostname/domainname

set_hostname: Fix domainname setting