blob: eb63014461d2808c91dfd0c09d19e431f6701ffe [file] [log] [blame]
Ales Komarek882ac7b2014-07-14 10:47:56 +02001
Ales Komarek77dbf032017-01-29 21:46:05 +01002============
3Bind formula
4============
Ales Komarek882ac7b2014-07-14 10:47:56 +02005
Ales Komarek77dbf032017-01-29 21:46:05 +01006BIND 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.
7
8Sample pillars
9==============
10
11.. code-block:: yaml
Ales Komarek882ac7b2014-07-14 10:47:56 +020012
Ales Komarek712343b2014-09-22 11:36:17 +020013 bind:
14 server:
15 enabled: true
Filip Pytloun5299d072016-10-06 11:23:21 +020016 key:
17 keyname:
18 secret: xyz
19 algorithm: hmac-sha512
Filip Pytloun57435b22016-10-06 11:30:16 +020020 server:
21 8.8.8.8:
22 keys:
23 - keyname
Filip Pytloun394922e2017-03-14 10:03:48 +010024 control:
25 local:
26 enabled: true
27 bind:
28 address: 127.0.0.1
29 port: 953
30 allow:
31 - 127.0.0.1
32 keys:
33 - xyz
Ales Komarek712343b2014-09-22 11:36:17 +020034 zone:
35 sub.domain.com:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010036 ttl: 86400
37 root: "hostmaster@domain.com"
Ales Komarek712343b2014-09-22 11:36:17 +020038 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020039 records:
40 - name: @
41 type: A
42 ttl: 7200
43 value: 192.168.0.5
Ales Komarek712343b2014-09-22 11:36:17 +020044 1.168.192.in-addr.arpa:
45 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020046 notify: false
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010047 slave.domain.com:
48 type: slave
49 notify: true
50 masters:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010051 # Masters must be specified by IP address
52 - 8.8.8.8
53 - 8.8.4.4
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010054 dnssec:
55 enabled: true
56 # Don't hide version
57 version: true
58 # Allow recursion, better don't on public dns servers
59 recursion:
60 hosts:
61 - localhost
Ales Komarekfbfa1682014-09-22 11:31:14 +020062
Filip Pytloun394922e2017-03-14 10:03:48 +010063You can use following command to generate key:
64
65.. code-block:: bash
66
67 dnssec-keygen -a HMAC-SHA512 -b 512 -n HOST -r /dev/urandom mykey
68
Ales Komarek77dbf032017-01-29 21:46:05 +010069Read more
70=========
Ales Komarek2bf43322014-09-22 13:03:41 +020071
Ales Komarekce71bf92014-09-30 11:35:30 +020072* https://github.com/theforeman/puppet-dns
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010073* https://help.ubuntu.com/community/BIND9ServerHowto
Ales Komarek77dbf032017-01-29 21:46:05 +010074* https://www.isc.org/downloads/bind/
Filip Pytloun379fff02017-02-02 13:02:03 +010075
76Documentation and Bugs
77======================
78
79To learn how to install and update salt-formulas, consult the documentation
80available online at:
81
82 http://salt-formulas.readthedocs.io/
83
84In the unfortunate event that bugs are discovered, they should be reported to
85the appropriate issue tracker. Use Github issue tracker for specific salt
86formula:
87
88 https://github.com/salt-formulas/salt-formula-bind/issues
89
90For feature requests, bug reports or blueprints affecting entire ecosystem,
91use Launchpad salt-formulas project:
92
93 https://launchpad.net/salt-formulas
94
95You can also join salt-formulas-users team and subscribe to mailing list:
96
97 https://launchpad.net/~salt-formulas-users
98
99Developers wishing to work on the salt-formulas projects should always base
100their work on master branch and submit pull request against specific formula.
101
102 https://github.com/salt-formulas/salt-formula-bind
103
104Any questions or feedback is always welcome so feel free to join our IRC
105channel:
106
107 #salt-formulas @ irc.freenode.net