Question
I Created DNS But it's local only and cannot ping it
Hi, on centos 7 i installed bind and I Created DNS But it’s local only and cannot ping it. Or access it. And on my domain panel I set the name servers as ns1.fatihinnotdefteri.com
ns2.fatihinnotdefteri.com
Forward records are:
$TTL 86400
@ IN SOA fatihinnotdefteri.com. root.fatihinnotdefteri.com. (
2011071001 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
@ IN NS ns1.fatihinnotdefteri.com.
@ IN NS ns2.fatihinnotdefteri.com.
@ IN A 46.101.247.88
@ IN MX 10 mail.fatihinnotdefteri.com.
mail IN A 46.101.247.88
ns1 IN A 46.101.247.88
ns2 IN A 46.101.247.88
www IN CNAME fatihinnotdefteri.com.
ftp IN CNAME fatihinnotdefteri.com.
and reverse records are
$TTL 86400
@ IN SOA fatihinnotdefteri.com. root.fatihinnotdefteri.com. (
2011071001 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
@ IN NS ns1.fatihinnotdefteri.com.
@ IN NS ns2.fatihinnotdefteri.com.
@ IN PTR fatihinnotdefteri.com
ns1 IN A 46.101.247.88
ns2 IN A 46.101.247.88
and these are the parts of my named.conf
options {
listen-on port 53 { 127.0.0.1;46.101.247.88; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost;46.101.192.1/18; };
zone "fatihinnotdefteri.com" IN {
type master;
file "forward.notdefteri";
allow-update { none; };
};
zone "247.101.46.in-addr.arpa" IN {
type master;
file "reverse.notdefteri";
allow-update { none; };
};
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×