blob: 21a0f8bb8c482890e59592d92f81e1657bf2a347 [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
Filip Pytloun3b50b102017-03-14 12:46:11 +010011Server
12------
13
Ales Komarek77dbf032017-01-29 21:46:05 +010014.. code-block:: yaml
Ales Komarek882ac7b2014-07-14 10:47:56 +020015
Ales Komarek712343b2014-09-22 11:36:17 +020016 bind:
17 server:
18 enabled: true
Filip Pytloun5299d072016-10-06 11:23:21 +020019 key:
20 keyname:
21 secret: xyz
22 algorithm: hmac-sha512
Filip Pytloun57435b22016-10-06 11:30:16 +020023 server:
24 8.8.8.8:
25 keys:
26 - keyname
Filip Pytloun394922e2017-03-14 10:03:48 +010027 control:
28 local:
29 enabled: true
30 bind:
31 address: 127.0.0.1
32 port: 953
33 allow:
34 - 127.0.0.1
35 keys:
36 - xyz
Ales Komarek712343b2014-09-22 11:36:17 +020037 zone:
38 sub.domain.com:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010039 ttl: 86400
40 root: "hostmaster@domain.com"
Ales Komarek712343b2014-09-22 11:36:17 +020041 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020042 records:
43 - name: @
44 type: A
45 ttl: 7200
46 value: 192.168.0.5
Ales Komarek712343b2014-09-22 11:36:17 +020047 1.168.192.in-addr.arpa:
48 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020049 notify: false
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010050 slave.domain.com:
51 type: slave
52 notify: true
53 masters:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010054 # Masters must be specified by IP address
55 - 8.8.8.8
56 - 8.8.4.4
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010057 dnssec:
58 enabled: true
59 # Don't hide version
60 version: true
61 # Allow recursion, better don't on public dns servers
62 recursion:
63 hosts:
64 - localhost
Ales Komarekfbfa1682014-09-22 11:31:14 +020065
Filip Pytloun394922e2017-03-14 10:03:48 +010066You can use following command to generate key:
67
68.. code-block:: bash
69
70 dnssec-keygen -a HMAC-SHA512 -b 512 -n HOST -r /dev/urandom mykey
71
Filip Pytloun3b50b102017-03-14 12:46:11 +010072Client
73------
74
75.. code-block:: yaml
76
77 bind:
78 client:
79 enabled: true
80 option:
81 default:
82 server: localhost
83 port: 953
84 key: keyname
85 key:
86 keyname:
87 secret: xyz
88 algorithm: hmac-sha512
89 server:
90 8.8.8.8:
91 keys:
92 - keyname
93
Ales Komarek77dbf032017-01-29 21:46:05 +010094Read more
95=========
Ales Komarek2bf43322014-09-22 13:03:41 +020096
Ales Komarekce71bf92014-09-30 11:35:30 +020097* https://github.com/theforeman/puppet-dns
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010098* https://help.ubuntu.com/community/BIND9ServerHowto
Ales Komarek77dbf032017-01-29 21:46:05 +010099* https://www.isc.org/downloads/bind/
Filip Pytloun379fff02017-02-02 13:02:03 +0100100
101Documentation and Bugs
102======================
103
104To learn how to install and update salt-formulas, consult the documentation
105available online at:
106
107 http://salt-formulas.readthedocs.io/
108
109In the unfortunate event that bugs are discovered, they should be reported to
110the appropriate issue tracker. Use Github issue tracker for specific salt
111formula:
112
113 https://github.com/salt-formulas/salt-formula-bind/issues
114
115For feature requests, bug reports or blueprints affecting entire ecosystem,
116use Launchpad salt-formulas project:
117
118 https://launchpad.net/salt-formulas
119
120You can also join salt-formulas-users team and subscribe to mailing list:
121
122 https://launchpad.net/~salt-formulas-users
123
124Developers wishing to work on the salt-formulas projects should always base
125their work on master branch and submit pull request against specific formula.
126
127 https://github.com/salt-formulas/salt-formula-bind
128
129Any questions or feedback is always welcome so feel free to join our IRC
130channel:
131
132 #salt-formulas @ irc.freenode.net