Monday, 18 April 2016

AWS: The specified VPC does not support DNS resolution, DNS hostnames, or both.

After creating a new VPC and attempting to use the RDS service I came across the following error when attempting to launch the new database instance:

The specified VPC does not support DNS resolution, DNS hostnames, or both.

You can enable DNS and hostname resolution  with the AWS CLI - by downloading the AWS Tools for PowerShell and running the following commands:

aws ec2 modify-vpc-attribute --vpc-id vpc-123456 --enable-dns-support --enable-dns-hostnames

aws ec2 modify-vpc-attribute --vpc-id vpc-123456 -enable-dns-hostnames

and re-running the step that flagged up the error initially.

0 comments:

Post a Comment