Domain name not resolving to IP

Obaid ur Rehman
Obaid ur Rehman used Ask the Experts™
on
Hi,

So my domain name registrar only allows me to add A/glue records. It does not have options to select between A/AAAA/CNAME/MX etc. I assume (because I am a newbie) that it does not host DNS server itself so I have to take care of it myself.

I have a LINUX server setup on CentOS 7 and BIND DNS server. I have created a master zone for the domain and added relevant records for FTP, Mail etc. The router is configured to forward http port to the server. I have listed the name servers on the registrar website (ns1.abc.com, ns2.abc.com). This info is also present on the BIND server.

I cannot access the website by the domain name abc.com but I can access it using the external IP. In my understanding I have setup the required things but I'm not sure if there are other things I have to look at. Am I missing something?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fractional CTO
Distinguished Expert 2018
Commented:
Provide your actual domain name, so people can test your DNS + provide a solution.
Top Expert 2016

Commented:
your registrar should allow you to use ns records

create a cloutflare.com account and setup your dns records there.
Obaid ur RehmanTechnical and Operations Manager

Author

Commented:
Hi again,

The domain is caretakers.pk

And the registrar does allow to use ns records, so I added my servers ns1.caretakers.pk and ns2.caretakers.pk on the registrar website and pointed towards my host IP to both.


My DNS server is BIND and it has a master zone for this domain as well as ns records.


Let me know if you'd need more information from my side.

Thanks!
Top Expert 2016
Commented:
so if BIND is setup correctly once we wait out the TTL timeout you should be golden
Obaid ur RehmanTechnical and Operations Manager

Author

Commented:
So I rechecked all the configuration and found some misconfiguration. Fixed them and it's working. Thank you both!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial