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; };
};
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Usually it takes around 24hrs. If it doesnt work we need to find out why not ;) What output do you get locally with
That shown in the picture should work and create a glue record. When did you create this? Could be that you need to wait dor a global dns update and your ISP dns update.
Have you also got the ports forwarded for DNS when using a firewall? And Bind is running on it etc?
Thats in your own bind server, but you need to have a glue record at your registrar to get it working.