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!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
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):
[url]http://i52.tinypic.com/5pfnvd.png[/url]
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[/quote]
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";[/quote]
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";
};[/quote]
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[/quote]
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[/quote]
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
GrzegorzOffline
Informacje debugowania
Time (s) Query 0.00016 SET CHARSET latin2 0.00007 SET NAMES latin2 0.00167 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.135.220.169' WHERE u.id=1 0.00100 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.135.220.169', 1738248287) 0.00072 SELECT * FROM punbb_online WHERE logged<1738247987 0.00079 DELETE FROM punbb_online WHERE ident='3.230.224.6' 0.00092 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=18907 AND t.moved_to IS NULL 0.00006 SELECT search_for, replace_with FROM punbb_censoring 0.00164 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=18907 ORDER BY p.id LIMIT 0,25 0.00089 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=18907 Total query time: 0.00792 s