Sable est DNS secondaire

darcs-hash:20080828224820-7aaaf-cd73f54903db3be00f6299cb6ce7f15c34a35e48.gz
This commit is contained in:
Augustin Parret-Fraud 2008-08-29 00:48:20 +02:00
parent e1270d9145
commit a5b624141a
3 changed files with 7 additions and 5 deletions

View file

@ -3,9 +3,10 @@
// A ne modifier que sur vert // A ne modifier que sur vert
also-notify { also-notify {
10.231.136.9; // ultra-adsl
10.231.136.11; // ragnarok
10.231.136.2; // vert 10.231.136.2; // vert
10.231.136.10; // sila
10.231.136.8; // ovh 10.231.136.8; // ovh
10.231.136.9; // sable
10.231.136.10; // sila
10.231.136.11; // ragnarok
10.231.136.14; // titanic
}; };

View file

@ -30,6 +30,7 @@
profile="true"> profile="true">
<Group name="crans"/> <Group name="crans"/>
<Group name="main-proxy-server"/> <Group name="main-proxy-server"/>
<Group name="dns-secondary"/>
<Group name="backup-client"/> <Group name="backup-client"/>
<Group name="ups-monitor"/> <Group name="ups-monitor"/>
</Group> </Group>

View file

@ -22,7 +22,7 @@ iface %(interface)s inet static
netmask 255.255.248.0 netmask 255.255.248.0
broadcast 138.231.143.255 broadcast 138.231.143.255
gateway 138.231.136.4 gateway 138.231.136.4
dns-nameservers 138.231.136.10 138.231.136.3 dns-nameservers 138.231.136.10 138.231.136.9 138.231.136.3
dns-search crans.org""" % { 'interface': interface, 'ip': pubip() } dns-search crans.org""" % { 'interface': interface, 'ip': pubip() }
else: else:
print """auto %(interface)s print """auto %(interface)s
@ -32,7 +32,7 @@ iface %(interface)s inet static
netmask 255.255.255.0 netmask 255.255.255.0
broadcast 10.231.136.255 broadcast 10.231.136.255
mtu 1496 mtu 1496
dns-nameservers 10.231.136.10 10.231.136.3 dns-nameservers 10.231.136.10 138.231.136.9 10.231.136.3
dns-search adm.crans.org""" % { 'interface': interface, 'ip': admip() } dns-search adm.crans.org""" % { 'interface': interface, 'ip': admip() }
for line in additionnals: for line in additionnals: