Bind formula

BIND is open source software that enables you to publish your Domain Name System (DNS) information on the Internet, and to resolve DNS queries for your users. The name BIND stands for “Berkeley Internet Name Domain”, because the software originated in the early 1980s at the University of California at Berkeley.

Sample pillars

Server

bind:
  server:
    enabled: true
    key:
      keyname:
        secret: xyz
        algorithm: hmac-sha512
    server:
      8.8.8.8:
        keys:
          - keyname
    control:
      local:
        enabled: true
        bind:
          address: 127.0.0.1
          port: 953
        allow:
          - 127.0.0.1
        keys:
          - xyz
    zone:
      sub.domain.com:
        ttl: 86400
        root: "hostmaster@domain.com"
        type: master
        records:
        - name: @
          type: A
          ttl: 7200
          value: 192.168.0.5
      1.168.192.in-addr.arpa:
        type: master
        notify: false
      slave.domain.com:
        type: slave
        notify: true
        masters:
          # Masters must be specified by IP address
          - 8.8.8.8
          - 8.8.4.4
    dnssec:
      enabled: true
    # Don't hide version
    version: true
    # Allow recursion, better don't on public dns servers
    recursion:
      hosts:
        - localhost

You can use following command to generate key:

dnssec-keygen -a HMAC-SHA512 -b 512 -n HOST -r /dev/urandom mykey

Client

bind:
  client:
    enabled: true
    option:
      default:
        server: localhost
        port: 953
        key: keyname
    key:
      keyname:
        secret: xyz
        algorithm: hmac-sha512
    server:
      8.8.8.8:
        keys:
          - keyname

Documentation and Bugs

To learn how to install and update salt-formulas, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate issue tracker. Use Github issue tracker for specific salt formula:

For feature requests, bug reports or blueprints affecting entire ecosystem, use Launchpad salt-formulas project:

You can also join salt-formulas-users team and subscribe to mailing list:

Developers wishing to work on the salt-formulas projects should always base their work on master branch and submit pull request against specific formula.

Any questions or feedback is always welcome so feel free to join our IRC channel:

#salt-formulas @ irc.freenode.net