I want to run a dns server to have my own nameservers :
ns1.radicalteam.ir and ns2.radicalteam.ir
I have a VPS and installed Centos 6.5 on it, and radicalteam.ir and soulati.ir domains
I've set soulati.ir nameservers to ns1.radicalteam.ir and ns2.radicalteam.ir
I can reach radicaalteam.ir but soulati.ir is unreachable . What is the problem ??
This is my configuration in 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