DNS not working for Nameserver

Questions regarding the DNS Server
Posts: 1
Joined: Tue Jun 20, 2017 10:37 am

DNS not working for Nameserver

Postby mhuzkhan » Tue Jun 20, 2017 11:06 am

Good Afternoon,

I am new to VestaCP, but I am trying to get it working for my setup, please see below for the setup config of the environment:

I have build an EC2 in AWS, Allowed all the ports through the security group for FTP, HTTP, HTTPS, DNS, SSH, SMTP, IMAP etc.
My domain name is with NameCheap, so I setup a private Nameserver with the following config:

ns1.domain.co.uk <IP of EC2>
ns2.domain.co.uk <IP of EC2>

I then changes the domains DNS/Nameservers and Pointed it to ns1.domain.co.uk & ns2.domain.co.uk.

In VestaCP, I created a domain (domain.co.uk) but I can't access the domain.co.uk as I get the following error: ERR_NAME_RESOLUTION_FAILED

I have waited more then 24hrs now but it still hasn't setup, I also added another domain domain2.co.uk and changes its Nameserver to ns1.domain.co.uk and ns2.domain.co.uk and that hasn't setup either, below is the Zone file config:

_dmarc TXT "v=DMARC1; p=none"
@ TXT "v=spf1 a mx ip4:<EC2 IP> ?all"
@ MX 10 mail.domain.co.uk.
ftp A <EC2 IP>
pop A <EC2 IP>
www A <EC2 IP>
mail A <EC2 IP>
ns2 A <EC2 IP>
ns1 A <EC2 IP>
@ A <EC2 IP>
@ NS ns2.domain.co.uk.
@ NS ns1.domain.co.uk.

I have set the DNS Template to child-ns.

Is there anything I am doing wrong, please advice.

Thank you.

Return to “DNS Server”

Who is online

Users browsing this forum: No registered users and 1 guest