[EDIT] Problem gelöst / Punkt hinter Domain vergessen ....
Aber trotzdem noch die Frage: Kann man hier noch was verbessern ?? [/EDIT]
named.conf:
Code: Select all
options {
directory "/var/lib/named";
# forwarders { 195.20.224.2343; 195.20.224.99; };
# forward first;
# listen-on port 53 { 127.0.0.1; };
# listen-on-v6 { none; };
# query-source address * port 53;
# transfer-source * port 53;
# notify-source * port 53;
# transfer-source * port 53;
# notify-source * port 53;
# allow-query { 127.0.0.1; };
notify no;
auth-nxdomain no;
allow-transfer { 195.20.224.97; 195.20.225.34; };
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "xxx.160.217.in-addr.arpa" in {
type master;
file "217.160.xxx.zone";
};
zone "Domain1.tld" in {
type master;
file "Domain1.zone";
};
zone "Domain2.tld" in {
type master;
file "Domain2.zone";
};
zone "." in {
type hint;
file "root.hint";
};Code: Select all
$TTL 1W
@ IN SOA ns.Domain1.tld. root.Domain1.tld. (
2003073002 ; serial
8H ; refresh
2H ; retry
1W ; expiry
12H) ; minimum
IN NS ns
IN NS ns.schlund.de.
xxx IN PTR Domain1.tld.Code: Select all
$TTL 1W
@ IN SOA ns.Domain1.tld. root.Domain1.tld. (
2003073002 ; serial
8H ; refresh
2H ; retry
1W ; expiry
12H) ; minimum
IN NS ns
IN NS ns.schlund.de.
IN A 217.160.xxx.xxx
mail IN A 217.160.xxx.xxx
ns IN A 217.160.xxx.xxx
* IN A 217.160.xxx.xxxCode: Select all
$TTL 1W
@ IN SOA ns.Domain2.tld. root.Domain2.tld. (
2003073002 ; serial
8H ; refresh
2H ; retry
1W ; expiry
12H) ; minimum
IN NS ns.Domain1.tld.
IN NS ns.schlund.de.
IN A 217.160.xxx.xxx
* IN A 217.160.xxx.xxx
www IN A 217.160.xxx.xxx