[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

DHCP aktualisiert nicht den DNS-Server



Ich habe nach diversen Anleitungen einen DHCP und DNS-Server ausgesetzt. Das langfristige Ziel soll es sein, einen Terminalserver mit Hilfe des LTSP zu erstellen. Nun würde ich gerne zu Lernzwecken das ganze zu Fuss machen. Der erste Schritt ist wohl die Einrichtung eines DHCP-Servers. Der läuft so weit. Der zweite ist die Erstellung eines DNS-Servers mit Hilfe von bind. Funktioniert soweit auch fehlerlos. Jetzt soll der DHCP-Server die neuen Clients in den DNS-Server eintragen, das funktioniert überhaupt nicht. Leider bekomme ich in den Logs auch keine Fehlermeldung. Woran könnte das liegen?
Hier die Conf´s, falls jemand mal drüber schauen möchte.

# dhcpd.conf
ddns-update-style             ad-hoc;
option subnet-mask            255.255.255.0;
option broadcast-address      192.168.178.255;
option routers                192.168.178.1;
option domain-name-servers    192.168.178.21;
option domain-name            "box"; 
option option-128 code 128 = string;
option option-129 code 129 = text;
key DHCP {
 algorithm HMAC-MD5.SIG-ALG.REG.INT;
 secret S5btWstigD30ClriTVQKzA==;
};

zone box {
 primary 192.168.178.21;
 key DHCP;
}

zone 178.168.192.in-addr.arpa. {
 primary 192.168.178.21;
 key DHCP;
}

authoritative;
next-server                   192.168.178.21;
subnet 192.168.178.0 netmask 255.255.255.0 {
    range   192.168.178.100   192.168.178.199;
    if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
        filename "/lts/2.6.16.1-ltsp-1/pxelinux.0";
    }
    else{
        filename "/lts/vmlinuz-2.6.16.1-ltsp-1";
    }
 }
group {
option domain-name            "box";  
host diskless1 {
option host-name "agi.box";
hardware ethernet 00:14:2a:81:05:2d;
fixed-address 192.168.178.51;
filename "/lts/2.6.17.8-ltsp-1/pxelinux.0";
}
host Sun {
hardware ethernet 00:03:ba:10:98:68;
fixed-address 192.168.178.22;
option host-name "sun.box";
option routers 192.168.178.1;
}}

/etc/named.conf
options {
 directory "/var/lib/named";
        dump-file "/var/log/named_dump.db";
        statistics-file "/var/log/named.stats";
listen-on-v6 { any; };
notify no;
        include "/etc/named.d/forwarders.conf";
};
zone "." in {
        type hint;
        file "root.hint";
};

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

zone "0.0.127.in-addr.arpa" in {
        type master;
        file "127.0.0.zone";
};
key DHCP {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret S5btWstigD30ClriTVQKzA==;};

zone "box" in  {
        type master;
        file "box";
        allow-update {key DHCP;};
allow-transfer {any;};
};

zone "178.168.192.in-addr.arpa " {
        type master;
        file "178.168.192.in-addr.arpa";
        allow-update {key DHCP;};
allow-transfer {any;};
};
logging {
        category queries { log_syslog; };
        category xfer-in { log_syslog; };
        category xfer-out { log_syslog; };
        category default { log_syslog; };
        channel log_syslog { syslog; };
};
box
$TTL 1w
@               IN SOA          linux.box.      root.linux.box. (
                                2006081200      ; serial
                                2d              ; refresh
                                4h              ; retry
                                6w              ; expiry
                                1w )            ; minimum

        IN NS           linux.box.
fritz.box.      IN A            192.168.178.1
linux.box.              IN A    192.168.178.21
178.168.192.in-addr.arpa
$TTL 1w
@       IN SOA          linux.box.      root.linux.box. (
                                2006081200      ; serial
                                2d              ; refresh
                                4h              ; retry
                                6w              ; expiry
                                1w )            ; minimum

                 NS             linux.box.
1       PTR             fritz.box.
21      PTR             linux.box.


Reply to: