bind9.yml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. ---
  2. # To update DNSSEC keys, see https://www.isc.org/bind-keys
  3. bind:
  4. options:
  5. directory: "/var/cache/bind"
  6. recursion: true
  7. allow_recursion:
  8. - 127.0.0.1
  9. allow_query:
  10. - 127.0.0.1
  11. allow_transfer:
  12. - 127.0.0.1
  13. dnssec_validation: auto
  14. port: 5353
  15. listen_on:
  16. - any
  17. servers:
  18. - server: 172.22.149.225
  19. keys:
  20. - transfer_key
  21. keys:
  22. - name: transfer_key
  23. algorithm: hmac-sha512
  24. secret: !vault |
  25. $ANSIBLE_VAULT;1.1;AES256
  26. 64643966386533336163363338663333643033633035663265393266333564323062313266363661
  27. 6662313134613662623063623362626662346363623765620a643239396662333533383535613765
  28. 34333631636338353139643163653261653461616165343761393364396462343733346465633463
  29. 6666366535366631350a343232643764343433376261376239333439393931646566613934666533
  30. 30393533356139396666356466643038656566613739666664633433656163303865396332616533
  31. 66316636363931663335636661656365633939313065663632383665353661623764666563666565
  32. 31653861316539326531396161323365333739633833363039663462313335316663376666373234
  33. 63393764386661363837393432653361613666636239366433366562653963333966313563303939
  34. 6630
  35. zones:
  36. # Own zones
  37. ## dn42
  38. - zone: bandura.dn42.
  39. type: slave
  40. file: "/var/cache/bind/db.bandura.dn42"
  41. masters:
  42. - 172.22.149.225 port 5353
  43. - zone: 224/27.149.22.172.in-addr.arpa.
  44. type: slave
  45. file: "/var/cache/bind/db.172.22.149.224_27"
  46. masters:
  47. - 172.22.149.225 port 5353
  48. - zone: 112/28.149.22.172.in-addr.arpa.
  49. type: slave
  50. file: "/var/cache/bind/db.172.22.149.112_28"
  51. masters:
  52. - 172.22.149.225 port 5353
  53. - zone: 1.3.c.f.e.4.3.2.4.0.d.f.ip6.arpa.
  54. type: slave
  55. file: "/var/cache/bind/db.fd04:234e:fc31::_48"
  56. masters:
  57. - 172.22.149.225 port 5353
  58. ## NeoNetwork
  59. - zone: bandura.neo.
  60. type: slave
  61. file: "/var/cache/bind/db.bandura.neo"
  62. masters:
  63. - 172.22.149.225 port 5353
  64. - zone: 149.127.10.in-addr.arpa.
  65. type: slave
  66. file: "/var/cache/bind/db.10.127.149.224_27"
  67. masters:
  68. - 172.22.149.225 port 5353
  69. - zone: 1.3.c.f.7.2.1.0.0.1.d.f.ip6.arpa.
  70. type: slave
  71. file: "/var/cache/bind/db.fd10:127:fc31::_48"
  72. masters:
  73. - 172.22.149.225 port 5353
  74. ## CRXN
  75. - zone: bandura.crxn.
  76. type: slave
  77. file: "/var/cache/bind/db.bandura.crxn"
  78. masters:
  79. - 172.22.149.225 port 5353
  80. - zone: docs.crxn.
  81. type: slave
  82. file: "/var/cache/bind/db.docs.crxn"
  83. masters:
  84. - 172.22.149.225 port 5353
  85. - zone: 2.b.2.0.6.b.8.5.2.9.d.f.ip6.arpa.
  86. type: slave
  87. file: "/var/cache/bind/db.fd92:58b6:2b2::_48"
  88. masters:
  89. - 172.22.149.225 port 5353
  90. - zone: 6.6.6.2.7.3.e.3.c.5.d.f.ip6.arpa.
  91. type: slave
  92. file: "/var/cache/bind/fd5c:3e37:2666::_48"
  93. masters:
  94. - 172.22.149.225 port 5353
  95. # myip.dn42
  96. - zone: myip.dn42.
  97. type: slave
  98. file: "/var/cache/bind/db.myip.dn42"
  99. masters:
  100. - 172.22.149.225 port 5353
  101. - zone: 81/32.0.20.172.in-addr.arpa.
  102. type: slave
  103. file: "/var/cache/bind/db.172.20.0.81_32"
  104. masters:
  105. - 172.22.149.225 port 5353
  106. - zone: 1.8.0.0.2.4.d.0.2.4.d.0.2.4.d.f.ip6.arpa.
  107. type: slave
  108. file: "/var/cache/bind/db.fd42:d42:d42:81::_64"
  109. masters:
  110. - 172.22.149.225 port 5353
  111. # CRXN root
  112. - zone: crxn.
  113. type: slave
  114. file: "/var/cache/bind/db.crxn-root"
  115. masters:
  116. - 172.22.149.225 port 5353
  117. # dn42 root
  118. - zone: dn42.
  119. type: stub
  120. masters:
  121. - fd42:180:3de0:30::1 port 53
  122. - fd42:180:3de0:10:5054:ff:fe87:ea39 port 53
  123. - zone: 20.172.in-addr.arpa.
  124. type: stub
  125. masters:
  126. - fd42:180:3de0:30::1 port 53
  127. - fd42:180:3de0:10:5054:ff:fe87:ea39 port 53
  128. - zone: 21.172.in-addr.arpa.
  129. type: stub
  130. masters:
  131. - fd42:180:3de0:30::1 port 53
  132. - fd42:180:3de0:10:5054:ff:fe87:ea39 port 53
  133. - zone: 22.172.in-addr.arpa.
  134. type: stub
  135. masters:
  136. - fd42:180:3de0:30::1 port 53
  137. - fd42:180:3de0:10:5054:ff:fe87:ea39 port 53
  138. - zone: 23.172.in-addr.arpa.
  139. type: stub
  140. masters:
  141. - fd42:180:3de0:30::1 port 53
  142. - fd42:180:3de0:10:5054:ff:fe87:ea39 port 53
  143. - zone: 10.in-addr.arpa.
  144. type: stub
  145. masters:
  146. - fd42:180:3de0:30::1 port 53
  147. - fd42:180:3de0:10:5054:ff:fe87:ea39 port 53
  148. - zone: d.f.ip6.arpa.
  149. type: stub
  150. masters:
  151. - fd42:180:3de0:30::1 port 53
  152. - fd42:180:3de0:10:5054:ff:fe87:ea39 port 53
  153. # Hack root
  154. - zone: hack.
  155. type: slave
  156. file: "/var/cache/bind/db.hack-root"
  157. masters:
  158. - 172.22.149.225 port 5353
  159. - zone: 31.172.in-addr.arpa.
  160. type: slave
  161. file: "/var/cache/bind/db.172.31.0.0_16"
  162. masters:
  163. - 172.22.149.225 port 5353
  164. - zone: 100.10.in-addr.arpa.
  165. type: slave
  166. file: "/var/cache/bind/db.10.100.0.0_16"
  167. masters:
  168. - 172.22.149.225 port 5353
  169. - zone: 101.10.in-addr.arpa.
  170. type: slave
  171. file: "/var/cache/bind/db.10.101.0.0_16"
  172. masters:
  173. - 172.22.149.225 port 5353
  174. - zone: 102.10.in-addr.arpa.
  175. type: slave
  176. file: "/var/cache/bind/db.10.102.0.0_16"
  177. masters:
  178. - 172.22.149.225 port 5353
  179. - zone: 103.10.in-addr.arpa.
  180. type: slave
  181. file: "/var/cache/bind/db.10.103.0.0_16"
  182. masters:
  183. - 172.22.149.225 port 5353
  184. # NeoNetwork root
  185. - zone: neo.
  186. type: slave
  187. file: "/var/cache/bind/db.neo-root"
  188. masters:
  189. - 172.22.149.225 port 5353
  190. - zone: 127.10.in-addr.arpa.
  191. type: slave
  192. file: "/var/cache/bind/db.10.127.0.0_16"
  193. masters:
  194. - 172.22.149.225 port 5353
  195. - zone: 7.2.1.0.0.1.d.f.ip6.arpa.
  196. type: slave
  197. file: "/var/cache/bind/db.fd10.127_32"
  198. masters:
  199. - 172.22.149.225 port 5353