Eu quero executar um servidor de DNS para ter meus próprios servidores de nomes:
ns1.radicalteam.ir e ns2.radicalteam.ir
Eu tenho um VPS e instalei o Centos 6.5 nele, e os domínios radicalteam.ir e soulati.ir
Eu configurei os servidores de nomes soulati.ir para ns1.radicalteam.ir e ns2.radicalteam.ir
Eu posso alcançar o radicaalteam.ir, mas o soulati.ir é inacessível. Qual é o problema?
Esta é a minha configuração no bind:
/etc/named.conf:
options {
listen-on port 53 { 185.94.97.188;127.0.0.1; };
allow-query { any; };
Allow-transfer {"none";};
Allow-recursion {"none";};
Recursion no;
};
zone "server.radicalteam.ir" {
type master;
file "/var/named/server.radicalteam.ir.zone";
};
zone "radicalteam.ir" {
type master;
file "/var/named/radicalteam.ir.zone";
};
/var/named/server.radicalteam.ir.zone:
$TTL 1D
@ IN SOA ns1.radicalteam.ir. admin.radicalteam.ir. (
1 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
server.radicalteam.ir. IN NS ns1.radicalteam.ir.
server.radicalteam.ir. IN NS ns2.radicalteam.ir.
server.radicalteam.ir. IN A 185.94.97.188
server.radicalteam.ir. IN MX 0 server.radicalteam.ir.
/var/named/radicalteam.ir.zone:
$TTL 1D
@ IN SOA ns1.radicalteam.ir. server.radicalteam.ir. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
radicalteam.ir. IN NS ns1.radicalteam.ir.
radicalteam.ir. IN NS ns2.radicalteam.ir.
radicalteam.ir. IN A 185.94.97.188
ns1 IN A 185.94.97.188
ns2 IN A 185.94.97.188
radicalteam.ir. IN MX 0 radicalteam.ir.
www IN CNAME radicalteam.ir.
nslookup -debug radicalteam.ir
Server: 127.0.1.1
Address: 127.0.1.1#53
------------
QUESTIONS:
radicalteam.ir, type = A, class = IN
ANSWERS:
-> radicalteam.ir
internet address = 185.94.97.188
ttl = 86400
AUTHORITY RECORDS:
-> radicalteam.ir
nameserver = ns2.radicalteam.ir.
ttl = 1290
-> radicalteam.ir
nameserver = ns1.radicalteam.ir.
ttl = 1290
ADDITIONAL RECORDS:
-> ns1.radicalteam.ir
internet address = 185.94.97.188
ttl = 1290
-> ns2.radicalteam.ir
internet address = 185.94.97.188
ttl = 56785
------------
Non-authoritative answer:
Name: radicalteam.ir
Address: 185.94.97.188
ping soulati.ir:
ping: unknown host soulati.ir
nslookup soulati.ir:
Server: 127.0.1.1
Address: 127.0.1.1#53
** server can't find soulati.ir: SERVFAIL
nslookup -debug soulati.ir
Server: 127.0.1.1
Address: 127.0.1.1#53
------------
QUESTIONS:
soulati.ir, type = A, class = IN
ANSWERS:
AUTHORITY RECORDS:
ADDITIONAL RECORDS:
------------
** server can't find soulati.ir: SERVFAIL