3 155
contributi
Wtf (discussione | contributi) m (→db.small) |
Wtf (discussione | contributi) |
||
Riga 656: | Riga 656: | ||
<pre> | <pre> | ||
authoritative; | authoritative; | ||
ignore client-updates; | ignore client-updates; | ||
# Parametri per l'aggiornamento automatico di Bind | # Parametri per l'aggiornamento automatico di Bind | ||
ddns-updates on; | ddns-updates on; | ||
ddns-update-style interim; | ddns-update-style interim; | ||
update-static-leases | update-static-leases off; | ||
ddns-domainname "small.lan."; | ddns-domainname "small.lan."; | ||
include "/etc/bind/rndc.key"; | include "/etc/bind/rndc.key"; | ||
Riga 679: | Riga 678: | ||
option routers 192.168.1.1; | option routers 192.168.1.1; | ||
option ip-forwarding off; | option ip-forwarding off; | ||
option domain-name "small.lan"; | option domain-name "small.lan"; | ||
option domain-search "small.lan"; | option domain-search "small.lan"; | ||
option domain-name-servers 192.168.1.100; | option domain-name-servers 192.168.1.100; | ||
default-lease-time 604800; | |||
max-lease-time 1209600; | |||
pool { | |||
range 192.168.1.130 192.168.1.140; | |||
deny unknown-clients; | |||
} | } | ||
pool { | |||
range 192.168.1.150 192.168.1.160; | |||
default-lease-time 14400; | |||
max-lease-time 28800; | |||
option domain-name "none"; | |||
option domain-search "none"; | |||
option domain-name-servers 208.67.220.220, 212.216.112.112; | |||
allow unknown-clients; | |||
deny known-clients; | |||
} | } | ||
} | |||
# Definizione host noti | |||
host PC7C { | |||
hardware ethernet XX:XX:XX:XX:XX:XX; | |||
fixed-address 192.168.1.111; | |||
} | |||
host PC7W { | |||
hardware ethernet YY:YY:YY:YY:YY:YY; | |||
fixed-address 192.168.1.111; | |||
} | |||
host PC8C { | |||
hardware ethernet ZZ:ZZ:ZZ:ZZ:ZZ:ZZ; | |||
ddns-hostname PC8C; | |||
} | |||
host PC8W { | |||
hardware ethernet WW:WW:WW:WW:WW:WW; | |||
ddns-hostname PC8W; | |||
} | } | ||
</pre> | </pre> |
contributi