Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2011-05-04 15:27:07

  tabi19 - Użytkownik

tabi19
Użytkownik
Skąd: Praszka (Opolskie)
Zarejestrowany: 2010-09-24

ISPConfig 3 + Bind = problem

Witam.
Zainstalowałem na moim RPS'ie Debiana Lenny (dystrybucję "czystą").
Do tego doinstalowałem apache, php, mysql, postfixa, dovecot'a, binda.
Następnie zainstalowałem panel ISPConfig 3.

Utworzyłem strefę dla domeny "tabhost.tk" (wygląda ona tak):

http://i52.tinypic.com/5pfnvd.png

Strefa w configu binda wygląda tak:

$TTL        86400
@       IN      SOA     ns1.tabhost.tk. grzegorztabor15.gmail.com. (
                        2011050406       ; serial, todays date + todays serial #
                        28800              ; refresh, seconds
                        7200              ; retry, seconds
                        604800              ; expire, seconds
                        86400 )            ; minimum, seconds
;

mail 86400 A        188.165.49.232
ns1 86400 A        188.165.49.232
ns2 86400 A        188.165.49.232
tabhost.tk. 86400 A        188.165.49.232
tabhost.tk.      MX    10   mail.tabhost.tk.
tabhost.tk.      NS        ns1.tabhost.tk.
tabhost.tk.      NS        ns2.tabhost.tk.
www 86400 A        188.165.49.232

named.conf:

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
        type hint;
        file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

named.conf.local :

zone "emeryci-praszka.tk" {
        type master;
        allow-transfer {none;};
        file "/etc/bind/pri.emeryci-praszka.tk";
};
zone "down4free.pl" {
        type master;
        allow-transfer {none;};
        file "/etc/bind/pri.down4free.pl";
};
zone "tabhost2.tk" {
        type master;
        allow-transfer {none;};
        file "/etc/bind/pri.tabhost2.tk";
};
zone "tabhost.tk" {
        type master;
        allow-transfer {none;};
        file "/etc/bind/pri.tabhost.tk";
};

zone "r30612.ovh.net" {
        type slave;
        masters {188.165.49.232;};
        allow-transfer {none;};
        file "/etc/bind/slave/sec.r30612.ovh.net";
};

W dot.tk podałem DNS'y ns1.tabhost.tk oraz ns2.tabhost.tk, wynik DIG'a:

r30612:/etc/bind# dig tabhost.tk

; <<>> DiG 9.6-ESV-R4 <<>> tabhost.tk
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11679
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;tabhost.tk.                    IN      A

;; ANSWER SECTION:
tabhost.tk.             86400   IN      A       188.165.49.232

;; AUTHORITY SECTION:
tabhost.tk.             86400   IN      NS      ns1.tabhost.tk.
tabhost.tk.             86400   IN      NS      ns2.tabhost.tk.

;; ADDITIONAL SECTION:
ns1.tabhost.tk.         86400   IN      A       188.165.49.232
ns2.tabhost.tk.         86400   IN      A       188.165.49.232

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed May  4 14:57:47 2011
;; MSG SIZE  rcvd: 112

daemon.log :

May  4 00:52:39 stock named[2037]: command channel listening on 127.0.0.1#953
May  4 00:52:39 stock named[2037]: zone 0.in-addr.arpa/IN: loaded serial 1
May  4 00:52:39 stock named[2037]: zone 127.in-addr.arpa/IN: loaded serial 1
May  4 00:52:39 stock named[2037]: zone 255.in-addr.arpa/IN: loaded serial 1
May  4 00:52:39 stock named[2037]: zone localhost/IN: loaded serial 2
May  4 00:52:39 stock named[2037]: zone down4free.pl/IN: loaded serial 2011050409
May  4 00:52:39 stock named[2037]: zone emeryci-praszka.tk/IN: loaded serial 2011050405
May  4 00:52:39 stock named[2037]: zone tabhost.tk/IN: loaded serial 2011050406
May  4 00:52:39 stock named[2037]: zone tabhost2.tk/IN: NS 'ns1.tabhost2.tk' has no address records (A or AAAA)
May  4 00:52:39 stock named[2037]: zone tabhost2.tk/IN: NS 'ns2.tabhost2.tk' has no address records (A or AAAA)
May  4 00:52:39 stock named[2037]: zone tabhost2.tk/IN: loaded serial 2011050401
May  4 00:52:39 stock named[2037]: zone down4free.pl/IN: sending notifies (serial 2011050409)
May  4 00:52:39 stock named[2037]: zone tabhost.tk/IN: sending notifies (serial 2011050406)
May  4 00:52:39 stock named[2037]: zone tabhost2.tk/IN: sending notifies (serial 2011050401)
May  4 00:52:39 stock named[2037]: zone emeryci-praszka.tk/IN: sending notifies (serial 2011050405)
May  4 00:52:39 stock named[2037]: running
May  4 00:53:02 stock named[2037]: received control channel command 'reload'
May  4 00:53:02 stock named[2037]: loading configuration from '/etc/bind/named.conf'
May  4 00:53:02 stock named[2037]: using default UDP/IPv4 port range: [1024, 65535]
May  4 00:53:02 stock named[2037]: using default UDP/IPv6 port range: [1024, 65535]
May  4 00:53:02 stock named[2037]: no IPv6 interfaces found
May  4 00:53:02 stock named[2037]: reloading configuration succeeded
May  4 00:53:02 stock named[2037]: reloading zones succeeded
May  4 00:53:02 stock named[2037]: zone r30612.ovh.net/IN: refresh: failure trying master 188.165.49.232#53 (source 0.0.0.0#0): operation canceled
May  4 00:53:02 stock named[2037]: zone tabhost2.tk/IN: loaded serial 2011050403

Czyli wszystko wygląda raczej ok.. Jednak DNS'y nie aktualizują się u mnie, a zwykle trwa to dosłownie kilka godzin..
O co chodzi ?
Czemu to nie działa ?

Proszę o pomoc.
Pozdrawiam
Grzegorz

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)