Hallo Markus,
Wenn ich auf dem Server in der /etc/dhcpd.conf folgende Zeile auskommentiere
danach dhcpd restarte und mir am Client eine neue Adresse hole funktioniert es (kriege dann keinen Reverse Lookup Fehler mehr beim SSH Login)!
Allerdings funktioniert dann DDNS nicht mehr...
NSLOOKUP von Client und Server sieht gut aus, kann auch FQDN:
Vom Server
Code: Alles auswählen
chris@server:~$ nslookup ubuntu-aldi.domain.local
Server: 192.168.2.10
Address: 192.168.2.10#53
Name: ubuntu-aldi.domain.local
Address: 192.168.2.131
chris@server:~$ nslookup 192.168.2.131
Server: 192.168.2.10
Address: 192.168.2.10#53
131.2.168.192.in-addr.arpa name = ubuntu-aldi.domain.local.
Vom Client
Code: Alles auswählen
chris@ubuntu-aldi:~$ nslookup server.domain.local
Server: 192.168.2.10
Address: 192.168.2.10#53
Name: server.domain.local
Address: 192.168.2.10
chris@ubuntu-aldi:~$ nslookup 192.168.2.10
Server: 192.168.2.10
Address: 192.168.2.10#53
10.2.168.192.in-addr.arpa name = server.domain.local.
Was nicht geht ist FQDN PING von beiden Seiten
Code: Alles auswählen
chris@ubuntu-aldi:~$ ping -R server.domain.local -c 1
ping: unknown host server.domain.local
Allerdings kommt am DNS gar kein Query an (lasse parallel Logs mitlaufen) weshalb ich mich frage über welchen Weg ping hier die Namensauflösung macht?
AllowQuery wie auf Deiner Seite beschrieben hab ich auch in der named.conf.options, allerdings über ein Alias (sollte doch aber auch gehen?)...
Hier die Konfig und Logs wie von Dir geschrieben, vielleicht fällt Dir noch was auf:
named.conf
Code: Alles auswählen
key dnssec {
algorithm hmac-md5;
secret "25biBA7n3+KIydsBtBNaKA==";
};
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";
};
include "/etc/bind/named.conf.local";
include "/etc/bind/dnslogging.conf";
named.conf.options
Code: Alles auswählen
acl "lan" {192.168.2.0/24; 127.0.0.1;};
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1; 192.168.2.1; } keys { "dnssec";};
};
options {
directory "/var/cache/bind";
forwarders {
208.67.222.222; // OpenDNS
208.67.220.220; // OpenDNS
};
allow-query { "lan"; };
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
named.conf.local
Code: Alles auswählen
zone "domain.local" {
type master;
file "/etc/bind/domain.local.zone";
allow-update { key dnssec; };
};
zone "2.168.192.in-addr.arpa" {
type master;
file "/etc/bind/2.168.192.zone";
allow-update { key dnssec; };
};
Forward Zone
Code: Alles auswählen
$ORIGIN .
$TTL 3600000 ; 5 weeks 6 days 16 hours
domain.local IN SOA server.domain.local. root.server.domain.local. (
200907745 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
38400 ; minimum (10 hours 40 minutes)
)
NS server.domain.local.
A 192.168.2.10
$ORIGIN domain.local.
$TTL 1296000 ; 2 weeks 1 day
Manfred A 192.168.2.125
TXT "31824af2e276b641dd19f4f22056b67e0e"
$TTL 3600000 ; 5 weeks 6 days 16 hours
router A 192.168.2.1
s100 A 192.168.2.12
server A 192.168.2.10
$TTL 1296000 ; 2 weeks 1 day
ubuntu-aldi A 192.168.2.131
TXT "00e3fcb591b9ba1a5314d562fd933eb550"
$TTL 3600000 ; 5 weeks 6 days 16 hours
vdr A 192.168.2.10
$TTL 1296000 ; 2 weeks 1 day
winxp A 192.168.2.134
TXT "3164628e35b2905d4f520cf3311f7ac4e2"
xbmc A 192.168.2.123
TXT "00c4db4411c07b49cdeaabd27972554899"
$TTL 3600000 ; 5 weeks 6 days 16 hours
xbox A 192.168.2.11
Reverse Zone
Code: Alles auswählen
$ORIGIN .
$TTL 38400 ; 10 hours 40 minutes
2.168.192.in-addr.arpa IN SOA server.domain.local. root.server.domain.local. (
200907600 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
38400 ; minimum (10 hours 40 minutes)
)
NS server.domain.local.
$ORIGIN 2.168.192.in-addr.arpa.
1 PTR router.domain.local.
10 PTR server.domain.local.
11 PTR xbox.domain.local.
12 PTR s100.domain.local.
123 PTR xbmc.domain.local.
125 PTR Manfred.domain.local.
$TTL 1296000 ; 2 weeks 1 day
131 PTR ubuntu-aldi.domain.local.
$TTL 38400 ; 10 hours 40 minutes
134 PTR winxp.domain.local.
Syslog
Code: Alles auswählen
May 2 12:23:51 server named[3482]: starting BIND 9.3.4-P1.2 -u bind
May 2 12:23:51 server named[3482]: found 1 CPU, using 1 worker thread
May 2 12:23:51 server named[3482]: loading configuration from '/etc/bind/named.conf'
May 2 12:23:51 server named[3482]: listening on IPv6 interfaces, port 53
May 2 12:23:51 server named[3482]: listening on IPv4 interface lo, 127.0.0.1#53
May 2 12:23:51 server named[3482]: listening on IPv4 interface eth0, 192.168.2.10#53
May 2 12:23:51 server named[3482]: command channel listening on 127.0.0.1#953
Zone Loading
Code: Alles auswählen
02-May-2010 13:04:52.361 general: debug 1: now using logging configuration from config file
02-May-2010 13:04:52.362 general: debug 1: load_configuration: success
02-May-2010 13:04:52.362 general: debug 1: zone 0.in-addr.arpa/IN: starting load
02-May-2010 13:04:52.363 general: debug 1: zone 0.in-addr.arpa/IN: journal rollforward completed successfully: no journal
02-May-2010 13:04:52.363 general: debug 1: zone 0.in-addr.arpa/IN: loaded
02-May-2010 13:04:52.363 general: info: zone 0.in-addr.arpa/IN: loaded serial 1
02-May-2010 13:04:52.363 general: debug 1: zone 127.in-addr.arpa/IN: starting load
02-May-2010 13:04:52.364 general: debug 1: zone 127.in-addr.arpa/IN: journal rollforward completed successfully: no journal
02-May-2010 13:04:52.364 general: debug 1: zone 127.in-addr.arpa/IN: loaded
02-May-2010 13:04:52.364 general: info: zone 127.in-addr.arpa/IN: loaded serial 1
02-May-2010 13:04:52.364 general: debug 1: zone 2.168.192.in-addr.arpa/IN: starting load
02-May-2010 13:04:52.365 general: debug 1: zone 2.168.192.in-addr.arpa/IN: journal rollforward completed successfully: up to date
02-May-2010 13:04:52.365 general: debug 1: zone 2.168.192.in-addr.arpa/IN: loaded
02-May-2010 13:04:52.365 general: info: zone 2.168.192.in-addr.arpa/IN: loaded serial 200907600
02-May-2010 13:04:52.365 general: debug 1: zone 255.in-addr.arpa/IN: starting load
02-May-2010 13:04:52.365 general: debug 1: zone 255.in-addr.arpa/IN: journal rollforward completed successfully: no journal
02-May-2010 13:04:52.365 general: debug 1: zone 255.in-addr.arpa/IN: loaded
02-May-2010 13:04:52.365 general: info: zone 255.in-addr.arpa/IN: loaded serial 1
02-May-2010 13:04:52.365 general: debug 1: zone domain.local/IN: starting load
02-May-2010 13:04:52.366 general: debug 1: zone domain.local/IN: journal rollforward completed successfully: up to date
02-May-2010 13:04:52.366 general: debug 1: zone domain.local/IN: loaded
02-May-2010 13:04:52.366 general: info: zone domain.local/IN: loaded serial 200907745
02-May-2010 13:04:52.366 general: debug 1: zone localhost/IN: starting load
02-May-2010 13:04:52.367 general: debug 1: zone localhost/IN: journal rollforward completed successfully: no journal
02-May-2010 13:04:52.367 general: debug 1: zone localhost/IN: loaded
02-May-2010 13:04:52.367 general: info: zone localhost/IN: loaded serial 1
02-May-2010 13:04:52.367 general: debug 1: zone authors.bind/CH: starting load
02-May-2010 13:04:52.367 general: debug 1: zone authors.bind/CH: loaded
02-May-2010 13:04:52.367 general: debug 1: zone hostname.bind/CH: starting load
02-May-2010 13:04:52.367 general: debug 1: zone hostname.bind/CH: loaded
02-May-2010 13:04:52.367 general: debug 1: zone version.bind/CH: starting load
02-May-2010 13:04:52.367 general: debug 1: zone version.bind/CH: loaded
02-May-2010 13:04:52.367 general: debug 1: zone id.server/CH: starting load
02-May-2010 13:04:52.367 general: debug 1: zone id.server/CH: loaded
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone localhost/IN: enter
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone 127.in-addr.arpa/IN: enter
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone 0.in-addr.arpa/IN: enter
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone 255.in-addr.arpa/IN: enter
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone domain.local/IN: enter
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone 2.168.192.in-addr.arpa/IN: enter
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone version.bind/CH: enter
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone hostname.bind/CH: enter
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone authors.bind/CH: enter
02-May-2010 13:04:52.367 general: debug 1: dns_zone_maintenance: zone id.server/CH: enter
02-May-2010 13:04:52.379 general: notice: running
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone localhost/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone localhost/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone 127.in-addr.arpa/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone 127.in-addr.arpa/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone 0.in-addr.arpa/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone 0.in-addr.arpa/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone 255.in-addr.arpa/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone 255.in-addr.arpa/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone 2.168.192.in-addr.arpa/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone 2.168.192.in-addr.arpa/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone version.bind/CH: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone version.bind/CH: enter
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone authors.bind/CH: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone authors.bind/CH: enter
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone hostname.bind/CH: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone hostname.bind/CH: enter
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone domain.local/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone domain.local/IN: enter
02-May-2010 13:04:52.379 general: debug 1: zone_timer: zone id.server/CH: enter
02-May-2010 13:04:52.379 general: debug 1: zone_maintenance: zone id.server/CH: enter