Ich habe den Nameserver soweit eingerichtet, habe aber leider irgendwo einen Fehler. Vielleicht könnt Ihr die Konfigurationen mal überfliegen:
/etc/Named.conf
Code: Select all
options {
directory "/var/named";
#forwarders { 10.11.12.13; 10.11.12.14; };
#forward first;
#listen-on port 53 { 127.0.0.1; };
listen-on-v6 { any; };
#query-source address * port 53;
#transfer-source * port 53;
#notify-source * port 53;
#allow-query { 127.0.0.1; };
notify no;
auth-nxdomain no;
#erlaubt das zone-update zu ns.schlund.de und ns2.schlund.de
allow-transfer { 195.20.224.97; 195.20.225.34; };
};
# The following three zone definitions don't need any modification.
# The first one defines localhost while the second defines the
# reverse lookup for localhost. The last zone "." is the
# definition of the root name servers.
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
[color=blue]zone "222.160.217.in.addr.arpa" in {
type master;
file "217.160.222.zone";
};[/color]
zone "." in {
type hint;
file "root.hint";
};
# You can insert further zone records for your own domains below.
zone "ho-media.de" {
type master;
file "default.hosts";
};
[color=red](letzes für alle Domains)[/color]
Code: Select all
$TTL 1W
@ IN SOA ns.ho-media.de. root.ho-media.de. (
2002022501 ; serial
8H ; refresh
2H ; retry
1W ; expiry
12H ) ; minimum
IN NS ns
IN NS ns.schlund.de.
190 IN PTR ho-media.de.
[color=red]Die letzte Zeile ist eine Leerzeile.[/color]
Code: Select all
$TTL 1W
@ IN SOA ns hostmaster (
2003063000
8H
2H
1W
12H
@ IN NS ns
@ IN NS ns.schlund.de.
@ IN A 217.160.222.190
* IN A 217.160.222.190
@ IN MX 80 mx
* IN MX 80 mx
[color=red]Auch hier ist die letzte Zeile eine Leerzeile.[/color]
Code: Select all
; <<>> DiG 9.1.3 <<>> @217.160.222.190 ho-handball.de
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 41858
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;ho-handball.de. IN A
;; Query time: 2 msec
;; SERVER: 217.160.222.190#53(217.160.222.190)
;; WHEN: Tue Dec 2 10:40:28 2003
;; MSG SIZE rcvd: 32