Abhishek Parab
Abhishek Parab

Reputation: 11

How do I resolve my DNS through AWS?

I have Amazon EC2 instance running ubuntu. I have an elastic IP address also.

I have setup my domain and my DNS server.

I want to know how will I use AWS to connect to my DNS without using Amazon DNS server?

At first my website was running properly. But when I added the nameserver to list is my DNS of AWS it stopped working.

Upvotes: 0

Views: 947

Answers (2)

yossy roitburd
yossy roitburd

Reputation: 31

You need to go to your domain register and set the DNS servers to point to yout ubuntu EC2 instance and in the instance itself set the your ZONE file. Another option is to use Amazon DNS (route53) and then set DNS server to point to amazon service on your domain register

Upvotes: 0

IamK
IamK

Reputation: 2974

Edit the /etc/resolvconf/resolv.conf.d/base and put you server ip nameserver 127.0.0.1 and run sudo resolvconf -u to update resolvconf

Upvotes: 1

Related Questions