ich glaube DNS Fragen gibt es hier im Forum am meißten, also werde ich mich dazugesellen. Ich habe mir jeden Beitraf der "Confixx" und "DNS" Enthält durchgelesen und bin der Meinung dass ich einen neuen mache,
ich habe vor Confixx DNS beizubringen. Ich benutze Bind 8.
Ich habe 2 Server, die Domains auf dem alten Server sind mit dem NS "ns.animehost.de" belegt. Der neue NS soll "ns.anime-host.de" sein (Man beachte das "-").
Als erste Domain nehmen wir "anime-projekt.de". Diese ist, aus alten Zeiten, wo ich mir noch Mühe gegeben habe, der NS "ns.anime-projekt.de. 217.160.134.5" Dies ist der alte NS.
Das zonefile auf dem neuen Server sieht wie folgt aus:
"anime-host.de"
Code: Select all
$TTL 1W
@ IN SOA ns.anime-host.de. root.anime-host.de. (
2004010101 ; serial
8H ; refresh
2H ; retry
1W ; expiry
11h) ; minimum
IN NS ns
IN NS ns.schlund.de.
IN MX 10 mail.anime-host.de.
IN A 80.190.243.171
mail IN A 80.190.243.171
ns IN A 80.190.243.171
* IN A 80.190.243.171
Code: Select all
$ORIGIN anime-projekt.de.
$TTL 86400
anime-projekt.de. IN SOA ns.anime-host.de. hostmaster.anime-host.de. (
2003121901
10800
3600
604800
86400 )
IN NS ns.anime-host.de.
IN NS ns.schlund.de.
IN MX 10 mail.anime-host.de.
IN A 80.190.243.171
* IN A 80.190.243.171
The domain anime-projekt.de has NOT been updated. The following errors were detected: == SERVER ns.anime-host.de. == ns.anime-host.de.: received non-authoritatvie answer from 80.190.243.171 for anime-projekt.de ns.anime-host.de.: NOT AUTHORITATIVE for the zone anime-projekt.de == END == Server ns.anime-host.de. is not authoritative!
Meine named.conf sieht wie folgt aus:
Code: Select all
options {
directory "/var/lib/named";
# forwarders { 195.20.224.234; 195.20.224.99; 194.246.96.75; };
forward first;
listen-on port 53 { 127.0.0.1; 80.190.243.171; };
# listen-on-v6 { any; };
allow-transfer { 195.20.224.97; 195.20.225.34; 194.246.96.75; };
allow-query { 127.0.0.1; 80.190.243.171; 195.20.224.97; 195.20.225.34; 194.246.96.75; };
notify yes;
auth-nxdomain no;
allow-recursion { 127.0.0.1; 80.190.243.171; };
};
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";
};
zone "243.190.80.in-addr.arpa" in {
type master;
file "80.190.243.zone";
};
zone "anime-host.de" in {
type master;
file "anime-host.de.zone";
};
# You can insert further zone records for your own domains below.
## CONFIXX
Include "/etc/named.confixx";
## /CONFIXX
DIG gibt folgendes:
localhost
; <<>> DiG 8.3 <<>> @localhost anime-projekt.de any
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 3
;; QUERY SECTION:
;; anime-projekt.de, type = ANY, class = IN
;; ANSWER SECTION:
anime-projekt.de. 6d23h29m48s IN A 217.160.134.5
anime-projekt.de. 6d23h29m48s IN MX 10 mx.anime-projekt.de.
anime-projekt.de. 6d23h29m48s IN NS ns.schlund.de.
anime-projekt.de. 6d23h29m48s IN NS ns.anime-projekt.de.
anime-projekt.de. 6d23h29m48s IN SOA ns.anime-projekt.de. hostmaster.anime-projekt.de. (
2003123001 ; serial
8H ; refresh
2H ; retry
1W ; expiry
11H ) ; minimum
;; AUTHORITY SECTION:
anime-projekt.de. 6d23h29m48s IN NS ns.schlund.de.
anime-projekt.de. 6d23h29m48s IN NS ns.anime-projekt.de.
;; ADDITIONAL SECTION:
mx.anime-projekt.de. 6d23h29m48s IN A 217.160.134.5
ns.schlund.de. 23h29m49s IN A 195.20.224.97
ns.anime-projekt.de. 23h29m48s IN A 217.160.134.5
;; Total query time: 1 msec
;; FROM: ipx10267 to SERVER: localhost 127.0.0.1
;; WHEN: Fri Dec 19 22:00:10 2003
;; MSG SIZE sent: 34 rcvd: 234
Das ist schon mächtig komisch!
dig @ns.schlund.de anime-projekt.de any
; <<>> DiG 8.3 <<>> @ns.schlund.de anime-projekt.de any
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 2
;; QUERY SECTION:
;; anime-projekt.de, type = ANY, class = IN
;; ANSWER SECTION:
anime-projekt.de. 1D IN MX 10 mail.anime-host.de.
anime-projekt.de. 1D IN A 80.190.243.171
anime-projekt.de. 1D IN NS ns.anime-host.de.
anime-projekt.de. 1D IN NS ns.schlund.de.
anime-projekt.de. 1D IN SOA ns.anime-host.de. hostmaster.anime-host.de. (
2003121901 ; serial
3H ; refresh
1H ; retry
1W ; expiry
1D ) ; minimum
;; AUTHORITY SECTION:
anime-projekt.de. 1D IN NS ns.anime-host.de.
anime-projekt.de. 1D IN NS ns.schlund.de.
;; ADDITIONAL SECTION:
ns.anime-host.de. 39m21s IN A 80.190.243.171
ns.schlund.de. 1D IN A 195.20.224.97
;; Total query time: 8 msec
;; FROM: ipx10267 to SERVER: ns.schlund.de 195.20.224.97
;; WHEN: Fri Dec 19 22:00:42 2003
;; MSG SIZE sent: 34 rcvd: 231
SO MÃ?SSTE ES SEIN!
Kann mir jemand weiterhelfen? Und bitte kommt mir nicht mit "Man solls halt besser selbst machen etc." ich bin zu faul, jede Domain neue Zonen anlegen, wozu habe ich so ein teures programm wenns nicht geht? :D
Danke für antworten (: