{% for ip in dns %} nameserver {{ip}} {% endfor %} search {{domain}}