Freesco, NND, CDN, EOS
http://forum.freesco.pl/

bind problem z konfiguracją
http://forum.freesco.pl/viewtopic.php?f=22&t=13762
Strona 1 z 1

Autor:  jendrekc [ niedziela, 8 października 2006, 01:34 ]
Tytuł:  bind problem z konfiguracją

Witam.
Bind odpala się, ale nie widzi strefy z moją domeną ani nie pozwala pobrać tej strefy do zapasowego DNS-a.
Oto logi:
/var/log/messages
Cytuj:
Oct 8 01:09:25 router named[8116]: starting BIND 9.3.0
Oct 8 01:09:25 router named[8116]: loading configuration from '/etc/named.conf'
Oct 8 01:09:25 router named[8116]: no IPv6 interfaces found
Oct 8 01:09:25 router named[8116]: listening on IPv4 interface lo, 127.0.0.1#53
Oct 8 01:09:25 router named[8116]: listening on IPv4 interface eth0, 87.105.159
Oct 8 01:09:25 router named[8116]: listening on IPv4 interface eth1, 192.168.0.
Oct 8 01:09:25 router named[8116]: command channel listening on 127.0.0.1#953
Oct 8 01:09:25 router named[8116]: zone 0.0.127.in-addr.arpa/IN: loaded serial
Oct 8 01:09:25 router named[8116]: zone localhost/IN: loaded serial 42
Oct 8 01:09:25 router named[8116]: running


/var/log/errors

Cytuj:
Oct 8 01:09:25 router named[8116]: zone jendrekc.art.pl/IN: has no NS records

plik ze strefą jest zrobiony dokładnie o takiej samej nazwie.
i jeszcze po stronie zapasowego:
named.log
Cytuj:
08-Oct-2006 00:37:04.506 xfer-in: info: transfer of 'jendrekc.art.pl/IN' from 87.105.159.5#53: connected using 84.40.223.85#3
08-Oct-2006 00:37:04.593 xfer-in: error: transfer of 'jendrekc.art.pl/IN' from 87.105.159.5#53: failed while receiving respon
08-Oct-2006 00:37:04.593 xfer-in: info: transfer of 'jendrekc.art.pl/IN' from 87.105.159.5#53: end of transfer

O co tu biega?

Autor:  zciech [ niedziela, 8 października 2006, 04:19 ]
Tytuł: 

jendrekc.art.pl/IN: has no NS records
nie ma linii z ns (adres dns-a)

Autor:  jendrekc [ niedziela, 8 października 2006, 09:47 ]
Tytuł: 

Cytuj:

jendrekc.art.pl/IN: has no NS records
nie ma linii z ns (adres dns-a)


ta linia na pewno jest:
: [/] [] ()
$TTL    3600
jendrekc.art.pl. IN     SOA     ns.jendrekc.art.pl. root.jendrekc.art.pl. (
                2006100720      ; serial (yyyymmdd##)
                7220            ; refresh
                7200            ; retry
                3600000         ; expiry
                86400           ; minimum ttl
    )
;
IN      NS      ns.jendrekc.art.pl.
IN      NS      ns1.xdsl-8533.zgora.dialog.net.pl.
IN      MX  10  mail.jendrekc.art.pl.
IN      A       87.105.159.5
@       IN  A   87.105.159.5
ns      IN  A   87.105.159.5
ns1     IN  A   84.40.223.85
;serwer ftp
ftp     IN  CNAME @
www     IN  CNAME @
mail    IN  CNAME @


i jeszcze named.conf
: [/] [] ()
// Uncoment these to enable IPv6 connections support
// IPv4 will still work
//      listen-on { none; };
//      listen-on-v6 { any; };
};

zone "jendrekc.art.pl" IN {
        type master;
        file "jendrekc.art.pl.zone";
//      allow-update { none; };
        allow-transfer { 84.40.223.85; };
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
        allow-transfer { any; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "127.0.0.zone";
        allow-update { none; };
        allow-transfer { any; };
};

zone "." IN {
        type hint;
        file "root.hint";
};

//zone "example.org" IN {
//      type slave;
//      file "example.zone";
//      masters {
//              192.168.1.100;
//      };
//      allow-query { any; };
//      allow-transfer { any; };
//};

logging {
        channel xfer-log {
                file "/var/log/named.log";
                print-category yes;
                print-severity yes;
                print-time yes;
                severity info;
        };
        category xfer-in { xfer-log; };
        category xfer-out { xfer-log; };
        category notify { xfer-log; };
};

Autor:  jendrekc [ niedziela, 8 października 2006, 13:08 ]
Tytuł: 

Znalazłem rozwiązanie:
utworzyłem na nowo plik jendrekc.art.pl.zone komendą touch.
Wczśniej wyedytowałem plik localhost.zone, pozmieniałem wpisy i zapisałem joko.
Ale mam następny problem. Bind działa

: [/] [] ()
08-Oct-2006 12:40:32.876 notify: info: zone jendrekc.art.pl/IN: sending notifies
08-Oct-2006 12:40:32.882 notify: info: client 87.105.159.5#32772: received notif

a nie widać mojej www tzn. widać ale po ip

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/