[python/etc/network/interfaces] DNS++
This commit is contained in:
parent
fb94668396
commit
3d8a9f167b
1 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,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.98 138.231.136.247
|
||||
dns-nameservers 138.231.136.98 138.231.136.152 138.231.136.247
|
||||
dns-search crans.org""" % { 'interface': interface, 'ip': pubip() }
|
||||
|
||||
for line in additionnals:
|
||||
|
@ -45,7 +45,7 @@ iface %(interface)s inet static
|
|||
network 138.231.144.0
|
||||
netmask 255.255.248.0
|
||||
broadcast 138.231.148.255
|
||||
dns-nameservers 138.231.136.98 138.231.136.247
|
||||
dns-nameservers 138.231.136.98 138.231.136.152 138.231.136.247
|
||||
dns-search wifi.crans.org""" % { 'interface': interface, 'ip': wifiip() }
|
||||
|
||||
for line in additionnals:
|
||||
|
@ -60,7 +60,7 @@ iface %(interface)s inet static
|
|||
netmask 255.255.255.0
|
||||
broadcast 10.231.136.255
|
||||
mtu 1496
|
||||
dns-nameservers 10.231.136.98 10.231.136.247
|
||||
dns-nameservers 10.231.136.98 10.231.136.152 10.231.136.247
|
||||
dns-search adm.crans.org""" % { 'interface': interface, 'ip': admip() }
|
||||
|
||||
for line in additionnals:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue