source: trunk/sara_cmt/templates/lisa/dontrun_dns-icua.cmt @ 13865

Last change on this file since 13865 was 13865, checked in by sil, 9 years ago

we shouldn't update bind settings before the new certificates are added

File size: 1.3 KB
Line 
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;
12{% load cmts_extras %}
13{# {% store /usr/sara/etc/dns.nodes as output %} #}
14{% store /etc/bind/prim/db.icua.sara.nl as output %}
15{% noblanklines %}
16
17{% epilogue %}
18/usr/sara/sbin/bind.sh {{output}}
19{% endepilogue %}
20{% epilogue %}
21/etc/init.d/bind9 restart
22{% endepilogue %}
23
24{% use interface with 'network__name=icua' as ifaces_icua %}
25
26@       IN      SOA     ns.irc.sara.nl. root.ns.irc.sara.nl. (
27                                           {% now "ymdHi" %} ; Serial
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 }}
41{% if iface.cnames != None %}
42{% for cname in iface.cnames %}
43{{cname}}       IN      CNAME   {{ iface.label }}
44{% endfor %}
45{% endif %}
46{% endfor %}
47{% endnoblanklines %}
Note: See TracBrowser for help on using the repository browser.