Ubuntu 22 Amazon Workspace DNS Not working

0

I am using a Ubuntu 22 instance and last week when trying to deploy an application I was unable to get npm to download packages. It kept giving EAI_AGAIN errors indicative of DNS errors.

I followed AWS documentation and changed my DNS settings from 172.16.1.45 and 172.16.0.164 to Control D servers and now npm is working again.

How can I report this to Amazon Support - is this something they need to address?

asked 21 days ago60 views
1 Answer
1

The DNS issue you experienced with your Ubuntu 22 Amazon WorkSpace is a known problem that can occur due to various reasons. While changing the DNS settings to Control D servers resolved your immediate issue, it's important to note that modifying DNS settings directly on the WorkSpace is not the recommended approach.

Amazon WorkSpaces have specific guidelines for updating DNS server IP addresses. You should not update the DNS server IP addresses directly in the network interface properties or in the resolv.conf file. Doing so can cause the IP addresses to revert to the previous DNS server when certain services are restarted or when the WorkSpace is rebooted.

Instead, if you need to update DNS server settings, you should do so through the WorkSpaces management interface and, if applicable, in your Microsoft Active Directory settings. This ensures that the changes persist and are properly managed by the WorkSpaces service.

Regarding reporting this to Amazon Support, while you can certainly do so, it's worth noting that the issue might not necessarily be on Amazon's end. DNS resolution problems can stem from various sources, including network configurations, VPC settings, or even temporary service disruptions.

However, if you believe this is a persistent issue affecting multiple WorkSpaces or if you suspect it's related to the AWS infrastructure, you should indeed contact AWS Support. They can investigate whether there are any known issues with the DNS servers provided for WorkSpaces in your region or if there are any configuration problems specific to your WorkSpaces deployment.

To report the issue:

  1. Log in to the AWS Management Console
  2. Navigate to the Support Center
  3. Create a new support case, providing details about the DNS issues you experienced, the WorkSpace affected, and the steps you took to resolve it

Remember to revert any direct changes made to the WorkSpace's DNS configuration and instead work with AWS Support to implement a proper, persistent solution if needed. This will ensure your WorkSpaces maintain the correct configuration and continue to function as expected within the AWS environment.

Sources
Update DNS server IP address in WorkSpaces | AWS re:Post
Hardening DNS Resolution for Amazon WorkSpaces Personal | Desktop and Application Streaming

profile picture
answered 21 days ago
profile pictureAWS
EXPERT
reviewed 21 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions