Получаю ошибку при запросе адреса такого видаJul 5 08:45:22 gate dhcpd: Unable to add forward map from sysadmin.gate. to 192.170.0.26: connection refused
Jul 5 08:45:22 gate kernel: arp: 192.170.0.26 moved from 00:40:f4:18:8b:fe to 00:04:79:67:4f:69 on rl0
Jul 5 08:45:22 gate kernel: arp: 192.170.0.26 moved from 00:04:79:67:4f:69 to 00:40:f4:18:8b:fe on rl0
Jul 5 08:45:23 gate dhcpd: Abandoning IP address 192.170.0.26: declined.
вот конфиги
cat named.conf
options {
directory "/etc/namedb/";
listen-on { 192.168.0.101; 192.170.0.1; 127.0.0.1; };
version "Forget it";
forward first;
forwarders {
192.168.0.3;
192.168.0.4;
};##
allow-transfer {none;}; #возможность передачи таблиц зон для slave-серверов
#кому разрешается подавать запросы к нашему серверу
allow-query {
192.168.0.0/24;
192.170.0.10/24;
127.0.0.1;
};
allow-recursion {
192.168.0.0/24;
192.170.0.10/24;
127.0.0.1;
};
};
zone "." IN {
type hint;
file "caching-example/root.hint";
};
zone "localhost" IN {
type master;
file "caching-example/localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "caching-example/127.0.0.zone";
allow-update { none; };
};
zone "londa" IN {
type master;
file "caching-example/named.londa";
allow-update { none; };
};
cat 127.0.0.zone
$ttl 38400
@ IN SOA localhost. root.localhost. (
1 ; serial
28000 ; refresh
30000 ; retry
32432 ; expire
2442 ) ; minimum
NS 127.0.0.1.
1 PTR localhost.
cat localhost.zone
$ttl 38400
localhost. IN SOA localhost. root.localhost. (
2004071001 ;serial
108000 ;refresh
1800 ;retry
1209600 ;expiry
604800) ;minTTL
localhost. IN NS @
localhost. IN A 127.0.0.1
cat named.londa
$TTL 3600
@ IN SOA gate. root.gate.(
5 ; Serial
28000 ; Refresh
30000 ; Retry
43534
1D ; Expire
)
NS gate.
1 PTR localhost.
cat root.hint
. 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 192.168.0.4
конфиг dhcpd
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
option domain-name "gate";
server-identifier 192.170.0.1;
option domain-name-servers 192.170.0.1;
ddns-updates on;
authoritative;
ddns-update-style interim;
ddns-domainname "gate.";
ddns-rev-domainname "in-addr.arpa.";
deny client-updates;
option ip-forwarding off;
deny bootp;
subnet 192.170.0.0 netmask 255.255.255.0 {
range 192.170.0.10 192.170.0.110;
one-lease-per-client on;
default-lease-time 3600;
max-lease-time 3601;
option routers 192.170.0.1;
}
содержимое resolv.conf
search londa
nameserver 127.0.0.1