remove ddns (old var) from domains.conf.tpl in dns configs; use strpos instead cse (custom function) in domains.conf.tpl in dns configs