: 25 sierpnia 2012, 21:38
named.conf
inserv.pl.db
dnsy
Skonfigurowałem znów zgodnie z instrukcją na http://debian.one.pl/index.php?url=12 niestety po wpisaniu polecenia:
Wyświetla się:
Już tracę siły do tego ustrojstwa.
Kod: Zaznacz cały
// 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";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
zone "ns1.inserv.pl" {
type master;
file "/etc/bind/dnsy";
allow-transfer { none; };
allow-query { any; };
notify yes;
};
zone "ns2.inserv.pl" {
type slave;
file "/etc/bind/dnsy";
allow-query { any; };
masters { 91.121.194.45; };
};
zone "dk001.inserv.pl" { type master; file "/etc/bind/dk001.inserv.pl.db"; };
zone "inserv.pl" { type master; file "/etc/bind/inserv.pl.db"; };
zone "host.inserv.pl" { type master; file "/etc/bind/host.inserv.pl.db"; };
inserv.pl.db
Kod: Zaznacz cały
$TTL 14400
@ IN SOA ns1.inserv.pl. hostmaster.inserv.pl. (
2012081502
14400
3600
1209600
86400 )
inserv.pl. 14400 IN NS ns1.inserv.pl.
inserv.pl. 14400 IN NS ns2.inserv.pl.
adv 14400 IN A 91.121.194.45
djfibs 14400 IN A 91.121.194.45
ftp 14400 IN A 91.121.194.45
hosting 14400 IN A 91.121.194.45
inserv.pl. 14400 IN A 91.121.194.45
localhost 14400 IN A 127.0.0.1
luxstore 14400 IN A 91.121.194.45
mail 14400 IN A 91.121.194.45
ns1 14400 IN A 91.121.194.45
ns2 14400 IN A 178.33.51.138
pop 14400 IN A 91.121.194.45
serv 14400 IN A 91.121.194.45
smtp 14400 IN A 91.121.194.45
test 14400 IN A 91.121.194.45
www 14400 IN A 91.121.194.45
[url]www.adv[/url] 14400 IN A 91.121.194.45
[url]www.djfibs[/url] 14400 IN A 91.121.194.45
[url]www.hosting[/url] 14400 IN A 91.121.194.45
[url]www.luxstore[/url] 14400 IN A 91.121.194.45
[url]www.serv[/url] 14400 IN A 91.121.194.45
[url]www.test[/url] 14400 IN A 91.121.194.45
inserv.pl. 14400 IN MX 10 mail
inserv.pl. 14400 IN TXT "v=spf1 a mx ip4:91.121.194.45 ~all"
dnsy
Kod: Zaznacz cały
$TTL 14400
@ IN NS ns1.inserv.pl.
@ IN NS ns2.inserv.pl.
ns1 IN A 91.121.194.45
ns2 IN A 178.33.51.138
Skonfigurowałem znów zgodnie z instrukcją na http://debian.one.pl/index.php?url=12 niestety po wpisaniu polecenia:
Kod: Zaznacz cały
root@dk001:/etc/bind# dig @ns1.inserv.pl inserv.pl
Kod: Zaznacz cały
; <<>> DiG 9.7.3 <<>> @ns1.inserv.pl inserv.pl
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached