Changes between Version 13 and Version 14 of TipAndDoc/network/dhcpd


Ignore:
Timestamp:
May 5, 2012 12:52:17 AM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/dhcpd

    v13 v14  
    131131  * poolを使って、allow/deny unknown-clientsで選別する 
    132132  > The unknown-clients flag is used to tell dhcpd whether or not to dynamically assign addresses to unknown clients. Dynamic address assignment to unknown clients is allowed by default. An unknown client is simply a client that has no host declaration. 
     133 * /etc/dhcp/dhcpd.conf.d/local.mitty.jp 
     134{{{ 
     135(snip) 
     136 
     137host dhclient { 
     138        hardware ethernet 00:0C:29:73:3D:94; 
     139        fixed-address 192.168.0.250; 
     140} 
     141}}} 
     142 * /etc/bind/named.conf.local 
     143{{{ 
     144(snip) 
     145 
     146zone "local.mitty.jp" { 
     147 
     148(snip) 
     149 
     150zone "0.168.192.in-addr.arpa" { 
     151 
     152(snip) 
     153 
     154zone "dhcp.mitty.jp" { 
     155 
     156(snip) 
     157 
     158        allow-update { 
     159                127.0.0.1; 
     160                192.168.0.254; 
     161        }; 
     162}; 
     163 
     164zone "1.168.192.in-addr.arpa" { 
     165 
     166(snip) 
     167 
     168        allow-update { 
     169                127.0.0.1; 
     170                192.168.0.254; 
     171        }; 
     172}; 
     173}}}