StaticDnsWithDhcp
Differences between revisions 1 and 9 (spanning 8 versions)
|
Size: 772
Comment:
|
← Revision 9 as of 2008-08-06 16:59:38 ⇥
Size: 62
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| The default setup of Ubuntu does not make it easy to use static DNS servers while using DHCP. To get this working you need to edit {{{/etc/dhcp3/dhclient.conf}}} Find the lines {{{ #prepend domain-name-servers 127.0.0.1; request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, netbios-name-servers, netbios-scope; }}} And change them to {{{ prepend domain-name-servers 1.2.3.4, 1.2.3.5; request subnet-mask, broadcast-address, time-offset, routers, domain-name, host-name, netbios-name-servers, netbios-scope; }}} Replace 1.2.3.4 and 1.2.3.5 with the addresses of your DNS servers. Run {{{ sudo invoke-rc.d networking restart}}} To mske the changes effective |
#REFRESH 0 https://help.ubuntu.com/community/StaticDnsWithDhcp |
StaticDnsWithDhcp (last edited 2008-08-06 16:59:38 by localhost)