ddns: add add_host and delete_host functions