Named löst Fremddomains nicht richtig auf?

Bind, PowerDNS
Post Reply
BlackEye
Posts: 81
Joined: 2003-09-04 11:02
Location: Eschwege
Contact:
 

Named löst Fremddomains nicht richtig auf?

Post by BlackEye »

Hallo!

Ich verstehe das hier eigentlich gar nicht:
# dig gmx.de @localhost

; <<>> DiG 9.4.2-P2 <<>> gmx.de @localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32185
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;gmx.de. IN A

;; AUTHORITY SECTION:
gmx.de. 5254 IN SOA ns9.schlundtech.de. info.lionics.de. 2007053000 39940 14400 604800 86400

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Oct 30 08:48:43 2008
;; MSG SIZE rcvd: 89
Irgendwas ist da wohl faul an meiner named.conf?

Code: Select all

# cat /chroot/dns/etc/bind/named.conf
acl local {
    127.0.0.1;
    1.2.3.4;
};

acl localnet {
    1.2.3.1/29;
};

acl secondary {
   62.116.163.100;     // ns10.schlundtech.de
};

options {
        directory "/var/bind";

        forwarders { 62.116.163.100; };
        forward first;

        #listen-on-v6 { none; };
        #listen-on { 127.0.0.1; };

        notify yes;
        auth-nxdomain no;       # conform to RFC1035

        allow-transfer { secondary; };
        allow-recursion { local; localnet; };
        allow-query { local; localnet; };
        pid-file "/var/run/named/named.pid";
};

... zonefiles
Kann mir da jemand einen Tipp geben?
gierig
Posts: 297
Joined: 2002-10-15 16:59
Location: WHV
 

Re: Named löst Fremddomains nicht richtig auf?

Post by gierig »

@black eye

Code: Select all

  forwarders { 62.116.163.100; };
 forward first;

also ns10.schlundtech.de.
Dieser DNS löst aber nur die Domain auf für die er verantwortlich ist im sinne eins slave DNS.
Da alle Anfragen dahin gehen.....

Beide zeilen raus wenn du einen rekursiven DNS betreiben willst. Oder einen richtigen
forwarder Eintragen (gibt von deinem Provider auch)
BlackEye
Posts: 81
Joined: 2003-09-04 11:02
Location: Eschwege
Contact:
 

Re: Named löst Fremddomains nicht richtig auf?

Post by BlackEye »

Okay, danke für die Antworten. Dann habe ich das mit den "forwarders" missverstanden. Dachte da kommt der Server hinein, der meine Domains als Secondary aufnimmt.
Aber die Bücher sind auch nicht verkehrt. Werde mir da mal eines zulegen. Kann wohl nicht schaden...
Post Reply