DNS not working for Nameserver

Questions regarding the DNS Server
BIND
mhuzkhan
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.

leomolinas
Posts: 4
Joined: Wed Nov 01, 2017 3:00 am

Re: DNS not working for Nameserver

Postby leomolinas » Thu Nov 02, 2017 6:00 am

mhuzkhan wrote: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.


Tienes que crear una ip elastica en aws, apuntando a la ip privada de tu instancia aws. Una ip elastica por cada ip privada así evitarás las ip publicas dinámicas que entrega aws.
Luego tiene que configurarlas dentro de lo vestacp, la idea era que las ip elásticas las asignaras antes de instalar vestacp así hubieran quedado registradas automáticamente y evitaría la configuracion manual


Return to “DNS Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron