{% set protocol = salt['pillar.get']('bind:config:protocol', False) -%}
{% set param = ['-u bind'] -%}
{% if protocol -%}
  {% do param.append('-' + protocol|string) -%}
{% endif -%}
# run resolvconf?
RESOLVCONF=no

# startup options for the server
OPTIONS="{{ param|join(' ') }}"
