ich versuche mich gerade an der Nameserver Konfiguration, leider komme nun nicht mehr Weiter.
Wenn ich den ZoneCheck bei der Denic mache erhalte ich folgende Warnung:
Die IP von meinem Server AAA.AAA.AAA.AAA & BBB.BBB.BBB.BBB---- warning ----
NS is not an alias
w: NS is not allowed to point to a CNAME alias
* Ref: IETF RFC1912 (p.7)
Having NS records pointing to a CNAME is bad and may conflict badly with current BIND servers. In fact, current BIND implementations will ignore such records, possibly leading to a lame delegation. There is a certain amount of security checking done in BIND to prevent spoofing DNS NS records. Also, older BIND servers reportedly will get caught in an infinite query loop trying to figure out the address for the aliased nameserver, causing a continuous stream of DNS requests to be sent.
Die .de Domain nenne ich jetzt mal: neue.de
Dann besitze ich noch eine .com Domain die auf dem Nameserver von meinem Hoster liegt diese Nenne ich alte.com
Code: Select all
22:51:16-root@ns1:/etc/bind#cat named.conf.options
options {
        directory "/var/cache/bind";
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        allow-query { 127.0.0.0/8; AAA.AAA.AAA.AAA/32; BBB.BBB.BBB.BBB/32; };
        allow-transfer { 127.0.0.0/8; AAA.AAA.AAA.AAA/32; BBB.BBB.BBB.BBB/32; };
        allow-recursion { 127.0.0.0/8; AAA.AAA.AAA.AAA/32; BBB.BBB.BBB.BBB/32; };
};
Code: Select all
22:51:13-root@ns1:/etc/bind#cat named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "neue.de" in {
       type                     master;
       file                     "/etc/bind/zones/neue.de.zone";
       allow-query { any; };
       notify explicit;
       allow-transfer { any; };
};
Code: Select all
22:47:45-root@ns1:/etc/bind/zones#cat neue.de.zone
$TTL    1d
@       IN SOA ns1.alte.com. admin.neue.de. (
                2007121902      ; Serial
                14400           ; Refresh
                1800            ; Retry
                604800          ; Expire
                86400 )         ; Minimum
@                IN     NS      ns1.alte.com.
@                IN     NS      ns2.alte.com.
@                IN     A       AAA.AAA.AAA.AAA
localhost        IN     A       127.0.0.1
mail             IN     A       AAA.AAA.AAA.AAA
www              IN     A       AAA.AAA.AAA.AAA
ns1              IN     A       AAA.AAA.AAA.AAA
ns2              IN     A       BBB.BBB.BBB.BBB
ftp              IN     CNAME   www
imap             IN     CNAME   www
loopback         IN     CNAME   localhost
pop              IN     CNAME   www
relay            IN     CNAME   www
smtp             IN     CNAME   www
@                IN     MX 10   mail
Code: Select all
$TTL 86400
@	IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
		2007121901     ; serial
		14400          ; refresh
		1800           ; retry
		604800         ; expire
		86400 )        ; minimum
 
@                IN	NS	robotns3.second-ns.com.
@                IN	NS	robotns2.second-ns.de.
@                IN	NS	ns1.first-ns.de.
 
@                IN	A	AAA.AAA.AAA.AAA
alternativ       IN	A	BBB.BBB.BBB.BBB
localhost        IN	A	127.0.0.1
mail             IN	A	AAA.AAA.AAA.AAA
ns1              IN	A	AAA.AAA.AAA.AAA
ns2              IN	A	BBB.BBB.BBB.BBB
www              IN	A	AAA.AAA.AAA.AAA
ftp              IN	CNAME	www
imap             IN	CNAME	www
loopback         IN	CNAME	localhost
pop              IN	CNAME	www
relay            IN	CNAME	www
smtp             IN	CNAME	www
@                IN	MX 10	mail