Added "dns" filter to jinja2 templates