RFC|Gul Dukat
02.08.07, 14:22
Ich bin langsam am verzweifeln. Vielleicht kann mir ja jemand weiterhelfen.
Und zwar habe ich 2 Rootserver bei Hetzner. Auf dem einen laeuft eine Domain die momentan mit dem nsentry der IP in A connectiert ist.
Nun moechte ich gern meine eigenen Nameserver mit Bind9 erstellen.
Es soll dann so laufen das die dann ns1.meinedomain.de und ns2.meinedomain.de heissen.
Jeder der beiden Server soll dabei jeweils ein ns sein.
Ich hab das mit Webmin probiert, aber irgendwie bekomme ich dann beim update der Domain die Fehlermeldung das die Nameserver nicht gefunden werden konnten. Das Tutorial auf http://archiv.debianhowto.de/de/bind/index.html kenn ich auch, ist auch ansich ganz gut geschrieben, nur leider passen da die Inhalte beispielsweise der named.conf gar nicht zu denen die ich drin habe. Die meisten Eintraege finde ich da gar nicht.
Auf dem Server laeuft Debian4.0-etch.
Kennt jemand ein gutes HowTo dazu oder kann mir jemand Schritt fuer Schritt erklaeren wie ich vorgehen muss? Waere da sehr dankbar weil ich da nun schon Tagelang dran sitze udn es immer noch nicht klappt.:confused:
Hab den Server (mal wieder) neuinstalliert und momentan sieht meine named.conf so aus:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
// 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";
};
// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };
// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };
include "/etc/bind/named.conf.local";
Sachen wie 'OPTIONS" oder so (also was in oben genannten HowTo beschrieben wird) sind in dieser gar nicht zu finden.
Und zwar habe ich 2 Rootserver bei Hetzner. Auf dem einen laeuft eine Domain die momentan mit dem nsentry der IP in A connectiert ist.
Nun moechte ich gern meine eigenen Nameserver mit Bind9 erstellen.
Es soll dann so laufen das die dann ns1.meinedomain.de und ns2.meinedomain.de heissen.
Jeder der beiden Server soll dabei jeweils ein ns sein.
Ich hab das mit Webmin probiert, aber irgendwie bekomme ich dann beim update der Domain die Fehlermeldung das die Nameserver nicht gefunden werden konnten. Das Tutorial auf http://archiv.debianhowto.de/de/bind/index.html kenn ich auch, ist auch ansich ganz gut geschrieben, nur leider passen da die Inhalte beispielsweise der named.conf gar nicht zu denen die ich drin habe. Die meisten Eintraege finde ich da gar nicht.
Auf dem Server laeuft Debian4.0-etch.
Kennt jemand ein gutes HowTo dazu oder kann mir jemand Schritt fuer Schritt erklaeren wie ich vorgehen muss? Waere da sehr dankbar weil ich da nun schon Tagelang dran sitze udn es immer noch nicht klappt.:confused:
Hab den Server (mal wieder) neuinstalliert und momentan sieht meine named.conf so aus:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
// 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";
};
// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };
// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };
include "/etc/bind/named.conf.local";
Sachen wie 'OPTIONS" oder so (also was in oben genannten HowTo beschrieben wird) sind in dieser gar nicht zu finden.