Changes between Version 14 and Version 15 of TipAndDoc/network


Ignore:
Timestamp:
Nov 5, 2009 11:36:45 PM (14 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network

    v14 v15  
    848411:30:32.420790 IP 192.168.100.254.34625 > 192.168.100.255.9: UDP, length 102 
    8585}}} 
     86 
     87 = fix DNS server on DHCP network = 
     88 * DHCP配下のネットワークで、DNSを固定する 
     89   * デフォルトではIP割り当て時に/etc/resolve.confが自動で書き換わってしまう 
     90 * man dhclient.conf 
     91{{{ 
     92OPTION MODIFIERS 
     93       The supersede statement 
     94 
     95        supersede [ option declaration ] ; 
     96 
     97       If for some option the client should always use a locally-configured value or values rather than whatever is supplied by the  server,  these  values  can  be 
     98       defined in the supersede statement. 
     99}}} 
     100 * /etc/dhcp3/dhclient.conf 
     101{{{ 
     102supersede domain-name-servers 127.0.0.1; 
     103}}} 
     104   * => /etc/resolv.conf 
     105{{{ 
     106nameserver 127.0.0.1 
     107}}}