mrsuicide
24.09.05, 16:27
Mein NAMEd will die von DHCPd für das lokale Netz vergebenen IPs nicht auflösen.
# host 192.168.0.200
Host 200.0.168.192.in-addr.arpa not found: 2(SERVFAIL)
Named.conf:
include "/etc/bind/named.conf.options";
zone "." {
type hint;
file "/etc/bind/db.root";
};
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
key DHCP {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret Q+jj1NxtZMRcZIJH1O6mLw==;
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/named.192.168.0";
allow-update {key DHCP;};
};
include "/etc/bind/named.conf.local";
/etc/bind/named.192.168.0:
$TTL 86400
@ IN SOA laptop-jan. root.laptop-jan. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
dhcpd.conf:
server-identifier laptop-jan;
ddns-update-style interim;
ignore client-updates;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
key DHCP {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret Q+jj1NxtZMRcZIJH1O6mLw==;
};
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.200;
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
range dynamic-bootp 192.168.0.201 192.168.0.219;
zone 0.168.192.in-addr.arpa { primary 127.0.0.1; key DHCP; }
default-lease-time 600;
max-lease-time 7200;
}
Ich find den Fehler einfach nicht!
Hilfe! :(
# host 192.168.0.200
Host 200.0.168.192.in-addr.arpa not found: 2(SERVFAIL)
Named.conf:
include "/etc/bind/named.conf.options";
zone "." {
type hint;
file "/etc/bind/db.root";
};
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
key DHCP {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret Q+jj1NxtZMRcZIJH1O6mLw==;
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/named.192.168.0";
allow-update {key DHCP;};
};
include "/etc/bind/named.conf.local";
/etc/bind/named.192.168.0:
$TTL 86400
@ IN SOA laptop-jan. root.laptop-jan. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
dhcpd.conf:
server-identifier laptop-jan;
ddns-update-style interim;
ignore client-updates;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
key DHCP {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret Q+jj1NxtZMRcZIJH1O6mLw==;
};
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.200;
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
range dynamic-bootp 192.168.0.201 192.168.0.219;
zone 0.168.192.in-addr.arpa { primary 127.0.0.1; key DHCP; }
default-lease-time 600;
max-lease-time 7200;
}
Ich find den Fehler einfach nicht!
Hilfe! :(