EC2 instance is performing an unusual DNS Over HTTPS (DoH) communication with server


Guardduty Finding :** EC2 instance is performing an unusual DNS Over HTTPS (DoH) communication with server**

Is it a security threat when an EC2 instance of mine communicate with server

Can someone please share your insight?

asked 7 months ago766 views
1 Answer
Accepted Answer


You are interacting on with CloudFlare resolver: see

see for details

An Amazon EC2 instance is communicating with an unusual public DNS resolver.
Default severity: Medium

Data source: VPC flow logs

This finding informs you that the listed Amazon EC2 instance in your AWS environment
 is behaving in a way that deviates from the baseline behavior. This EC2 instance 
has no recent history of communicating with this public DNS resolver. The Unusual 
field in the finding details panel in the GuardDuty console can provide information 
about the queried DNS resolver.

Remediation recommendations:

If this activity is unexpected, your instance may be compromised. 
For more information, see Remediating a compromised EC2 instance.

So, basically, it says that your instance has started to talk with a new DNS server (it never queried it before). This unusual resolver will be listed on the Gard Duty panel.

The first link says it's CloudFlare: so, you probably don't want to prevent your instance from talking to it.



profile pictureAWS
answered 7 months ago
profile picture
reviewed 7 months ago
  • Thank you Mr.Durand.

    Would would the EC2 instance starts communicating suddenly with Cloudflare? Could you pls throw some light ? I am new to this.

  • You would need to review your EC2 setup and what’s installed.

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