PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : DDNS klappt nur zur Hälfte



snoopy99
13.10.02, 14:05
Hallo,

habe heute auf einem Suse 8.0 Rechner einen DNS mit DHCP aufgesetzt, mit dem ich auch DDNS betreiben möchte.
Soweit alles OK.

Kommt nun ein neuer Client ans Netz, bekommt er die IP und wird auch im DNS bekannt gemacht. Sprich die Namesauflösung zur IP funktioniert.
Leider wird aber die IP nicht in einen Namen aufgelöst.

Es werden keinelei Fehler im Log-File ausgegeben.
Hier mal meine beiden .confs

**dhcpd.conf**

subnet 192.168.0.0 netmask 255.255.255.0 {
option domain-name "giner.local";
server-identifier 192.168.0.101;
ddns-domainname "giner.local";
ddns-rev-domainname "0.168.192.in-addr.arpa";
max-lease-time 3000000;
default-lease-time 259200;
option domain-name-servers 192.168.0.101;
option routers 192.168.0.1;
range 192.168.0.100 192.168.0.150;
}

zone giner.local. {
primary 127.0.0.1;
}

zone 0.168.192.in-addr.arpa. {
primary 127.0.0.1;
}

ddns-update-style interim;
allow client-updates;


**named.conf**

options {
directory "/var/named";
forwarders { 192.168.0.1; };
listen-on port 53 { 127.0.0.1; 192.168.0.101; };
listen-on-v6 { any; };
allow-query { 127.0.0.1; 192.168.0/24; };
notify no;
};

zone "localhost" in {
type master;
file "localhost.zone";
};


zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};

zone "." in {
type hint;
file "root.hint";
};


zone "giner.local" {
type master;
file "giner.local.zone";
allow-update { 127.0.0.1; 192.168.0.101; };
};


zone "0.168.192.in-addr.arpa" {
type master;
file "192.168.0.zone";
allow-update { 127.0.0.1; 192.168.0.101; };
};



**Logfile Auszug**
Oct 15 15:49:29 serv4you dhcpd: ip length 328 disagrees with bytes received 330.
Oct 15 15:49:29 serv4you dhcpd: accepting packet with data after udp payload.
Oct 15 15:49:29 serv4you dhcpd: DHCPDISCOVER from 00:80:c7:de:8f:e4 via eth0
Oct 15 15:49:30 serv4you dhcpd: DHCPOFFER on 192.168.0.150 to 00:80:c7:de:8f:e4 (mybook) via eth0
Oct 15 15:49:30 serv4you dhcpd: ip length 335 disagrees with bytes received 338.
Oct 15 15:49:30 serv4you dhcpd: accepting packet with data after udp payload.
Oct 15 15:49:30 serv4you /usr/sbin/named[1702]: adding an RR
Oct 15 15:49:30 serv4you /usr/sbin/named[1702]: adding an RR
Oct 15 15:49:30 serv4you /usr/sbin/named[1702]: journal file giner.local.zone.jnl does not exist, creating it
Oct 15 15:49:30 serv4you dhcpd: if IN A mybook.giner.local domain doesn't exist add 129600 IN A mybook.giner.local 192.168.0.150 add 129600 IN TXT mybook.giner.local "310ed09dabf7c2ff1c58c7853c958ddc07": success.
Oct 15 15:49:30 serv4you /usr/sbin/named[1702]: deleting an rrset
Oct 15 15:49:30 serv4you /usr/sbin/named[1702]: adding an RR
Oct 15 15:49:30 serv4you /usr/sbin/named[1702]: journal file 192.168.0.zone.jnl does not exist, creating it
Oct 15 15:49:30 serv4you dhcpd: delete IN PTR 150.0.168.192.0.168.192.in-addr.arpa add 129600 IN PTR 150.0.168.192.0.168.192.in-addr.arpa mybook.giner.local: success.
Oct 15 15:49:30 serv4you dhcpd: DHCPREQUEST for 192.168.0.150 (192.168.0.101) from 00:80:c7:de:8f:e4 (mybook) via eth0
Oct 15 15:49:30 serv4you dhcpd: DHCPACK on 192.168.0.150 to 00:80:c7:de:8f:e4 (mybook) via eth0

snoopy99
13.10.02, 14:10
Hab was gefunden.
In der giner.local.zone wird ein richtiger Eintrag erstellt.
In der 0.168.192.zone nicht.

Hier steht

150.0.168.192 PTR mybook.giner.local.

anstelle von

150 PTR mybook.giner.local.

Wieso???