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

@ -22,7 +22,7 @@ iface %(interface)s inet static
netmask 255.255.248.0
broadcast 138.231.143.255
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() }
else:
print """auto %(interface)s
@ -32,7 +32,7 @@ iface %(interface)s inet static
netmask 255.255.255.0
broadcast 10.231.136.255
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() }
for line in additionnals: