By Fattur
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!
Thats in your own bind server, but you need to have a glue record at your registrar to get it working.
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?
Usually it takes around 24hrs. If it doesnt work we need to find out why not ;) What output do you get locally with
dig fatihinnotdefteri.com ANY
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.