Rev | Line | |
---|
[11979] | 1 | ; |
---|
| 2 | ; SVN: {{ svn_id }} |
---|
| 3 | ; {{ svn_url }} |
---|
| 4 | ; |
---|
| 5 | ; This file is automagically generated by CMTSARA |
---|
| 6 | ; |
---|
| 7 | ; SARA - Computing and Networking Services |
---|
| 8 | ; Date : August 17 2010 |
---|
| 9 | ; Version : {{ version }} |
---|
| 10 | ; Generated : {% now "r" %} |
---|
| 11 | ; |
---|
[11947] | 12 | {% load cmts_extras %} |
---|
[11974] | 13 | {# {% store /usr/sara/etc/dns.nodes as output %} #} |
---|
| 14 | {% store /etc/bind/prim/db.icua.sara.nl as output %} |
---|
[11947] | 15 | {% noblanklines %} |
---|
| 16 | |
---|
[11951] | 17 | {% epilogue %} |
---|
| 18 | /usr/sara/sbin/bind.sh {{output}} |
---|
| 19 | {% endepilogue %} |
---|
[12190] | 20 | {% epilogue %} |
---|
[11974] | 21 | /etc/init.d/bind9 restart |
---|
[12190] | 22 | {% endepilogue %} |
---|
[11947] | 23 | |
---|
| 24 | {% use interface with 'network__name=icua' as ifaces_icua %} |
---|
| 25 | |
---|
| 26 | @ IN SOA ns.irc.sara.nl. root.ns.irc.sara.nl. ( |
---|
[13863] | 27 | {% now "ymdHi" %} ; Serial |
---|
[11947] | 28 | 7200 ; Refresh |
---|
| 29 | 600 ; Retry |
---|
| 30 | 604800 ; Expire |
---|
| 31 | 86400 ) ; Minimum |
---|
| 32 | IN NS ns.irc.sara.nl. |
---|
| 33 | IN NS ns2.irc.sara.nl. |
---|
| 34 | {% endnoblanklines %} |
---|
| 35 | |
---|
| 36 | $INCLUDE {{output}}.manual |
---|
| 37 | |
---|
| 38 | {% noblanklines %} |
---|
| 39 | {% for iface in ifaces_icua %} |
---|
| 40 | {{ iface.label }} IN A {{ iface.ip }} |
---|
[11974] | 41 | {% if iface.cnames != None %} |
---|
| 42 | {% for cname in iface.cnames %} |
---|
| 43 | {{cname}} IN CNAME {{ iface.label }} |
---|
[11947] | 44 | {% endfor %} |
---|
[11974] | 45 | {% endif %} |
---|
| 46 | {% endfor %} |
---|
[11947] | 47 | {% endnoblanklines %} |
---|
Note: See
TracBrowser
for help on using the repository browser.