Sable est DNS secondaire
darcs-hash:20080828224820-7aaaf-cd73f54903db3be00f6299cb6ce7f15c34a35e48.gz
This commit is contained in:
parent
e1270d9145
commit
a5b624141a
3 changed files with 7 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue