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.
Szukałem na forum, na googlach etc. ale niewiele znalazłem na temat tego, co może być źle w mojej strefie ewentualnie w konfiguracji bind'a.
Oto wycinek z konfiguracji bind'a:
zone "a-plus.net.pl" IN { type master; file "/etc/bind/db.a-plus"; allow-transfer { 194.11.27.94; 194.145.96.21; }; notify yes; }
a tak wygląda plik strefy:
hagrid:/# cat /etc/bind/db.a-plus $TTL 86400 ;;$ORIGIN a-plus.net.pl. @ IN SOA dns1.a-plus.net.pl. papilarny.gmail.com. { 2007112901 ;; serial 1200 ;; refresh 1200 ;; retry 2419200 ;; expire 86400 ;; TTL } @ IN NS dns1.a-plus.net.pl. @ IN NS dns2.a-plus.net.pl. ;;@ IN NS dns1 ;;@ IN NS dns2 IN A 78.131.181.254 dns1 IN A 78.131.181.254 dns2 IN CNAME fns1.sgh.waw.pl. www IN A 78.131.181.254
Podobny konfig działał swego czasu na nnd ;/
dałem dns2 IN CNAME, po prostu próbując... wcześniej było dns2 IN A fns1.sgh.waw.pl
Ostatnio edytowany przez Papik (2007-12-03 11:22:08)
Offline
Teraz plik strafy wygląda tak:
$TTL 86400 $ORIGIN a-plus.net.pl. @ IN SOA dns1.a-plus.net.pl. papilarny.gmail.com. { 2007120401 ;; serial 1200 ;; refresh 1200 ;; retry 2419200 ;; expire 86400 ;; TTL } @ IN NS dns1 @ IN NS dns2 @ IN A 78.131.181.254 dns1 IN A 78.131.181.254 dns2 IN A fns1.sgh.waw.pl. www IN A 78.131.181.254
a cały plik /etc/bin/named.conf tak:
include "/etc/bind/named.conf.options"; // reduce log verbosity on issues outside our control logging { category lame-servers { null; }; category cname { null; }; }; // 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"; }; zone "a-plus.net.pl" { type master; file "/etc/bind/db.a-plus"; allow-transfer { 194.11.27.94; 194.145.96.21; }; notify yes; }; // add local zone definitions here include "/etc/bind/named.conf.local";
mojemu zajebistemu bindowi nie robi różnicy to, czy moją strefę dopiszę w /etc/bind/named.conf, czy w /etc/bind/named.conf.local
port mam oblokowany w firewallu ;/
Ostatnio edytowany przez Papik (2007-12-04 21:35:10)
Offline
Time (s) | Query |
---|---|
0.00007 | SET CHARSET latin2 |
0.00003 | SET NAMES latin2 |
0.00040 | 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.148.106.49' WHERE u.id=1 |
0.00145 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.148.106.49', 1732562412) |
0.00033 | SELECT * FROM punbb_online WHERE logged<1732562112 |
0.00028 | 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=9919 AND t.moved_to IS NULL |
0.00038 | SELECT search_for, replace_with FROM punbb_censoring |
0.00158 | 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=9919 ORDER BY p.id LIMIT 0,25 |
0.00095 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=9919 |
Total query time: 0.00547 s |