Use module global instead of always read-only in ddns conf gen

+ Fix Dynamic DNS with Zentyal Remote as provider when the
  registration wizard is done
Merge pull request #1164 from Zentyal/ejhernandez/fix-remote-ddns-first-save

Use module global instead of always read-only in ddns conf gen