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

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

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

File size: 2.2 KB
RevLine 
[11978]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;
[11925]12{% load cmts_extras %}
[11974]13{# {% store /var/tmp/dns.nodes as output %} #}
14{% store /etc/bind/prim/db.irc.sara.nl as output %}
[11925]15{% noblanklines %}
[11933]16
[11951]17{% epilogue %}
18/usr/sara/sbin/bind.sh {{output}}
19{% endepilogue %}
[11974]20{% epilogue %} #}
21/etc/init.d/bind9 restart
22{% endepilogue %}
[11933]23
24{% use interface with 'network__name=lisa consoles' as ifaces_lisa_consoles %}
25{% use interface with 'network__name=lisa admin' as ifaces_lisa_admin %}
26{% use interface with 'network__name=lisa infiniband' as ifaces_lisa_infiniband %}
27{% use interface with 'network__name=lisa switches' as ifaces_lisa_switches %}
28
[11925]29@       IN      SOA     ns.irc.sara.nl. root.ns.irc.sara.nl. (
[13863]30                                         {% now "ymdHi" %}   ; Serial
[11925]31                                        7200            ; Refresh
32                                        600             ; Retry
33                                        604800          ; Expire
34                                        86400 )         ; Minimum
35        IN      NS      ns.irc.sara.nl.
36        IN      NS      ns2.irc.sara.nl.
[11933]37{% endnoblanklines %}
[11925]38
[11933]39$INCLUDE {{output}}.manual
40
41{% noblanklines %}
42{% for iface in ifaces_lisa_admin %}
[11951]43{{ iface.label }}       IN      A       {{ iface.ip }}
[11974]44{% if iface.cnames != None %}
45{% for cname in iface.cnames %}
46{{cname}}       IN      CNAME   {{ iface.label }}
[11933]47{% endfor %}
[11974]48{% endif %}
49{% endfor %}
[11933]50
51{% for iface in ifaces_lisa_consoles %}
[11951]52{{ iface.label }}       IN      A       {{ iface.ip }}
[11974]53{% if iface.cnames != None %}
54{% for cname in iface.cnames %}
55{{cname}}       IN      CNAME   {{ iface.label }}
[11933]56{% endfor %}
[11974]57{% endif %}
58{% endfor %}
[11933]59
60{% for iface in ifaces_lisa_infiniband %}
[11951]61{{ iface.label }}       IN      A       {{ iface.ip }}
[11974]62{% if iface.cnames != None %}
63{% for cname in iface.cnames %}
64{{cname}}       IN      CNAME   {{ iface.label }}
[11933]65{% endfor %}
[11974]66{% endif %}
67{% endfor %}
[11933]68
69{% for iface in ifaces_lisa_switches %}
[11951]70{{ iface.label }}       IN      A       {{ iface.ip }}
[11974]71{% if iface.cnames != None %}
72{% for cname in iface.cnames %}
73{{cname}}       IN      CNAME   {{ iface.label }}
[11933]74{% endfor %}
[11974]75{% endif %}
76{% endfor %}
[11925]77{% endnoblanklines %}
Note: See TracBrowser for help on using the repository browser.