Hallo!

Ermutigt durch das DNS/DHCP-Projekt in der 19/2003, habe ich mich auch an
einen eigenen DNS unter woody gewagt (bind).
Ich habe für mein Heimnetz die /etc/dhcpd.conf und /etc/bind/named
angepasst und die zone-dateien erstellt. Der DHCP wird auch gestartet (Syslog meldet
keine Fehler).
Da ich mit ddns arbeiten habe ich die folgenden Einträge in die
dhcpd.conf aufgenommen:
ddns-update-style interim;
ignore-client-updates;
In der syslog erscheinen daraufhin Fehlermeldung wegen falscher oder
fehlender Optionen. Wie muss der Eintrag korrekt lauten.
In der named.conf habe ich :
acl "dhcp-clients" {192.168.99.1/30;}; eingetragen. Im Syslog taucht
eine Fehlermeldung wegen unbekannte Option "acl" auf. Ist das so
falsch geschrieben?
Die obigen Optionen ahbe ich deshalb extra entfernt. Leider wird mein
DNS nicht erkannt. 
Wenn ich nslookup eingebe, dann kommt ein timeout. Wenn ich online
gehe (ISDN) dann kommt beim lookup als Server der Nameserver meines
Providers. Die /etc/hosts und /etc/resolve.conf habe ich angepasst. 
Was kann denn noch fehlen?
Meine Conf-Dateien habe ich mal drangehängt.

Danke

Thomas

-- 
E-Mail: [EMAIL PROTECTED]
domain kosmos.local
search kosmos.local
nameserver 127.0.0.1
nameserver 192.168.99.1
nameserver 212.62.64.34
#Konfigurationsfile von Tommi am 12.09.2003 aufgesetzt. nach c't-Angaben

authoritative;
option domain-name "kosmos.local";
option domain-name-servers 192.168.99.1;
subnet 192.168.99.0 netmask 255.255.255.0 {
 range 192.168.99.10 192.168.99.20;
 option subnet-mask 255.255.255.0;
# ddns-update-style interim;
# option ignore-client-updates;
 default-lease-time 3600;
 max-lease-time 86400;
 option netbios-name-servers 192.168.99.1;
 option broadcast-address 192.168.99.255;
#option routers 192.168.99.1;
}               

#Zeit, nach der Clients neue Adresse erfragen müssen in Sek.


#Zeit, die der Client seine Adresse behält falls der Server nicht erreichbar ist
#in Sek. (86400= 24 Stunden)


#neue Testkonfiguration
#subnet 192.168.99.0 netmask 255.255.255.0 {
# range 192.168.99.10 192.168.99.20;
# default-lease-time 3600;
# max-lease-time 86400;
#}
#Name der Domain und des dns-Servers


#ddns aktivieren

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian for information on the 
// structure of BIND configuration files in Debian, *BEFORE* you customize 
// this configuration file.
//

options {
        directory "/var/cache/bind";

        // If there is a firewall between you and nameservers you want
        // to talk to, you might need to uncomment the query-source
        // directive below.  Previous versions of BIND always asked
        // questions using port 53, but BIND 8.1 and later use an unprivileged
        // port by default.

        // query-source address * port 53;

        // If your ISP provided one or more IP addresses for stable 
        // nameservers, you probably want to use them as forwarders.  
        // Uncomment the following block, and insert the addresses replacing 
        // the all-0's placeholder.

forwarders {
        212.62.64.34;
        212.62.64.35;};

        auth-nxdomain no;    # conform to RFC1035
        forward only;
        listen-on {192.168.99.1;};
        heartbeat-interval 2880;
        #acl "dchp-clients" {192.168.99.1/30;};
};

// prime the server with knowledge of the root servers
zone "." {
        type hint;
        file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

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";
};

// add entries for other zones below here

zone "kosmos.local" {
        type master;
        file "/etc/bind/db.kosmos";
#       allow-update {"dchp-clients";};
};

zone "99.168.192.in-addr.arpa" IN {
        type master;
        file "/etc/bind/db.192.168.99";
#       allow-update {"dchp-clients";};
};
127.0.0.1       localhost
192.168.99.1    chef.kosmos.local       chef loghost

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)







#192.168.99.2   meister.kosmos  meister
#192.168.99.3   knecht.kosmos   knecht
#192.168.99.4   zivi.kosmos     zivi

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)







#von Hand nachgetragen

Antwort per Email an