Page 1 of 1

Own DNS server configuration for domain.

Posted: Wed Oct 11, 2017 12:45 am
by cybercoder
I did login to my domain handler panel and set my domain DNS server to my new VESTACP centOS7 server, only with IPv4 address (no FQDN).
Then i did read this topic: viewtopic.php?t=3990 and do step by steps it said.

The domain address was pointed to an old server and i know sometimes needed to DNS servers resolve new IP information.
So i decided to test DNS with nslookup command. When i did use " nslookup (or public IP address) on the server itself, it will resolve and show correct new IP address. But when i use nslookup x.x.x.x from another computer which is in the internet, (x.x.x.x is VESTACP server's public IPv4 address), It shows old IP address !!! as non-authoritative answer.

I got suspicious to BIND so i changed named.conf to:
listen-on port 53 { any; };
allow-query { any; };

But when i get query with nslookup outside of the server self, will show old IP address!

I did flush caches both sides.
I did disable another DNS servers on local machine.
and i did add server public IPv4 address as first nameserver in /etc/resolve.conf

But i can't find what is the problem!