Ciao una domanda...ho aggiunto le stringhe nel dhcpd.conf ma continua a ritornarmi un errore che mi dice che non vengono riconosciute...ti posto il mio dhcpd.conf
codice:
ddns-update-style interim;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.170 192.168.0.199;
default-lease-time 7200;
max-lease-time 14400;
option subnet-mask 255.255.255.0;
option brodcast-address 192.168.0.255;
option routers 192.168.0.101;
option domain-name hsdigital.tld;
option domain-name-servers 192.168.0.1;
key DHCP_UPDATER {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret pRP5FapFoJEL06sv4pq==;
};
zone "0.in-addr.arpa" {
type master;
file "/var/named/db.0";
allow-update { key DHCP_UPDATER; };
};
zone "255.in-addr.arpa" {
type master;
file "/var/named/db.255";
allow-update { key DHCP_UPDATER; };
};
zone "hsdigital.tld" {
type master;
file "/var/named/hsdigital.tld";
allow-update { key DHCP_UPDATER; };
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/var/named/hsdigital.tld.rev";
allow-update { key DHCP_UPDATER; };
};
}
ti posto anche il mio named.conf
codice:
key DHCP_UPDATER {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret pRP5FapFoJEL06sv4pq==;
};
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "DHCP_UPDATER"; };
};
options {
directory "/var/named";
pid-file "/var/run/named.pid";
allow-transfer {
127.0.0.1;
192.168.0.0/24;
};
forward first;
forwarders {
213.92.5.54;
194.20.8.1;
};
};
logging {
category lame-servers { null; };
category cname { null; };
};
zone "." {
type hint;
file "/var/named/db.root";
};
zone "localhost" {
type master;
file "/var/named/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/var/named/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/var/named/db.0";
allow-update { key DHCP_UPDATER; };
};
zone "255.in-addr.arpa" {
type master;
file "/var/named/db.255";
allow-update { key DHCP_UPDATER; };
};
zone "hsdigital.tld" {
type master;
file "/var/named/hsdigital.tld";
allow-update { key DHCP_UPDATER; };
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/var/named/hsdigital.tld.rev";
allow-update { key DHCP_UPDATER; };
};
questo è quello che mi restituisce il dhcpd quando parte:
codice:
root@Robinlinux~$dhcpd
Internet Software Consortium DHCP Server V3.0pl2
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
/etc/dhcpd.conf line 7: unknown option dhcp.brodcast-address
option brodcast-address 192.
^
/etc/dhcpd.conf line 9: semicolon expected.
option domain-name hsdigital.
^
/etc/dhcpd.conf line 13: partial base64 value left over: 2.
secret pRP5FapFoJEL06sv4pq==;
^
/etc/dhcpd.conf line 15: expecting hostname.
zone "0.in-addr.arpa"
^
/etc/dhcpd.conf line 19: expecting a parameter or declaration
};
^
/etc/dhcpd.conf line 20: expecting hostname.
zone "255.in-addr.arpa"
^
/etc/dhcpd.conf line 24: expecting a parameter or declaration
};
^
/etc/dhcpd.conf line 25: expecting hostname.
zone "hsdigital.tld"
^
/etc/dhcpd.conf line 29: expecting a parameter or declaration
};
^
/etc/dhcpd.conf line 30: expecting hostname.
zone "0.168.192.in-addr.arpa"
^
/etc/dhcpd.conf line 34: expecting a parameter or declaration
};
^
Configuration file errors encountered -- exiting
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
Grazie