ich habe ein Problem mit einem DNS-Eintrag den ich einfach nicht mehr los bekomme. Kurz zur Umgebung. Der Server ist ein Debian-Lenny (64Bit) und auf diesem läuft auch der DNS/DHCP.Dieser hat die IP 192.168.1.2. Der DNS arbeitet dynamisch wenn sich also ein Client am DHCP eine IP holt tragt er das Hostname-IP-Wertepaar in den DNS ein. Das funktioniert auch schon lange ohne Probleme. Kommt ein weitere Server oder anderes Gerät dazu setze ich den entsprechenden Eintrag mit nsupdate. Auch das funktioniert immer problemlos. Nun habe ich eine weitere virtuelle Maschine aufgesetzt mit der IP 192.168.1.11 und dem Hostnamen 'mx2'. Den Eintrag habe ich am DNS-Server mit:
Code: Alles auswählen
nsupdate
> update add mx2.mydomain.edv 86400 A 192.168.1.11
> send
[code> mx2.mydomain.edv
Server: 192.168.1.2
Address: 192.168.1.2#53
Name: mx2.mydomain.edv
Address: 192.168.1.11][/code]
Funktioniert in dieser Richtung
Code: Alles auswählen
> 192.168.1.11
Server: 192.168.1.2
Address: 192.168.1.2#53
11.1.168.192.in-addr.arpa name = rescue.mydomain.edv.
Code: Alles auswählen
update delete rescue.stedry.edv A
Code: Alles auswählen
Oct 13 13:25:22 server named[29968]: client 192.168.1.2#52434: updating zone 'mydomain.edv/IN': deleting rrset at 'rescue.mydomain.edv' A
Hier die Konfigurations-Dateien:
</etc/bind/named.conf>
Code: Alles auswählen
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";
Code: Alles auswählen
options {
directory "/var/cache/bind";
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
Code: Alles auswählen
acl "dhcp-clients" {
192.168.1/24;
};
zone "mydomain.edv" {
type master;
file "/etc/bind/db.mydomain.edv";
allow-update { "dhcp-clients"; };
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "/etc/bind/db.192.168.1";
allow-update { "dhcp-clients"; };
};