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

bind
http://forum.freesco.pl/viewtopic.php?f=22&t=16871
Strona 1 z 1

Autor:  rafszym [ środa, 7 maja 2008, 12:52 ]
Tytuł:  bind

Próbuje uruchomić bind-a i w logach cały czas otrzymuję named[11373]: zone telemetria.pol.pl/IN: has no NS records po niżej mój config:

named.conf

//
// /etc/named.conf
//

options {
directory "/var/named";
pid-file "/var/run/named.pid";
auth-nxdomain yes;
datasize default;
// Uncoment these to enable IPv6 connections support
// IPv4 will still work
// listen-on { none; };
// listen-on-v6 { any; };
};

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 "telemetria.pol.pl" IN {
type master;
file "/var/named/telemetria.pol.pl";
allow-transfer { 213.241.70.5; 212.106.7.2; };
notify yes;
};

logging {
channel xfer-log {
file "/var/log/bind.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; };
};

config strefy telemetria.pol.pl

;
$TTL 3600
@ IN SOA ns.telemetria.pol.pl. root.telemetria.pol.pl. (
2005123154 ; Serial
7200 ; Refresh
3600 ; Retry
2419200 ; Expire
604800 ; Negative Cache TTL
)
;

IN NS ns.telemetria.pol.pl.

IN NS ns1.sint.pl.
IN NS ns2.sint.pl.

IN MX 10 mail.telemetria.pol.pl.
IN A 83.238.x.x

@ IN A 83.238.x.x
ns IN A 83.238.x.x

ns1 IN A 213.241.70.5
ns2 IN A 212.106.7.2

www IN CNAME @
ftp IN CNAME @
mail IN CNAME @

Co może być źle??

Autor:  jamp [ środa, 7 maja 2008, 13:32 ]
Tytuł:  Re: bind

rafszym pisze:
Próbuje uruchomić bind-a i w logach cały czas otrzymuję named[11373]: zone telemetria.pol.pl/IN: has no NS records...
: [/] [] ()
options {
        directory "/var/named";
...
};
..
zone "telemetria.pol.pl" IN {
        type master;
        file "/var/named/telemetria.pol.pl";
        allow-transfer { 213.241.70.5; 212.106.7.2; };
        notify  yes;
};

Co może być źle??
Chyba sciezka do pliku opisu strefy :)
: [/] [] ()
zone "telemetria.pol.pl" IN {
        type master;
        file "telemetria.pol.pl";
        allow-transfer { 213.241.70.5; 212.106.7.2; };
        notify  yes;
};

Autor:  rafszym [ środa, 7 maja 2008, 14:06 ]
Tytuł: 

To raczej nie ścieżk

Autor:  Maciek [ środa, 7 maja 2008, 16:03 ]
Tytuł: 

No pokaszanione masz:
: [/] [] ()
[maciek@dom ~]$ host -a telemetria.pol.pl
Trying "telemetria.pol.pl"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39413
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;telemetria.pol.pl.             IN      ANY

;; ANSWER SECTION:
telemetria.pol.pl.      86400   IN      MX      0 av.dc.sint.pl.
telemetria.pol.pl.      86400   IN      A       195.114.161.61
telemetria.pol.pl.      86400   IN      NS      ns1.sint.pl.
telemetria.pol.pl.      86400   IN      NS      ns2.sint.pl.
telemetria.pol.pl.      86400   IN      SOA     ns1.sint.pl. rszymanski.gazowniaserwis.com.pl. 2008050721 10801 3601 1209601 86400

Received 180 bytes from 192.168.1.1#53 in 48 ms


Zdecyduj się w końcu jakie masz serwery nazw. To na początek. MX jest zupełnie inny niż ty podajesz. Zapewne NSy się teraz kłócą, który jest najważniejszy.

Autor:  tasiorek [ środa, 7 maja 2008, 23:51 ]
Tytuł: 

Byc moze to nowa strefa/nowe NSy lub cus. Blad o ktorym piszesz jest spowodowanym tym, ze przez wpisami zaczynajacymi sie od IN nie masz pustego znaku. Jesli chcesz zrobic jakis wpis dla telemetria.pol.pl, to uzyj @ jak to zrobiles w innej linii, albo postaw spacje, lub znak tabulacji przed IN.

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