Skip to content

gitenmitra/DNS-PING

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

DNS-PING

Way to find out if DNS is down or your instance

Problem: At times it happens that DNS provider services of a website URL is down and so to reduce response time by not diagnosing the infrastructure and informing the user to check with DNS provider.

Functionality: Lambda in python pings the URL to be monitored and fetch the response. If the response code is anything other than 200 it triggers CloudWatch event and send SNS to user.

Architecture diagram

Architecture diagram

How to Run the Script : Create a Lambda function called "DNS-PING" the run-time version Python 3.6 and above by using the attach code. Creation of the Lambda function will in turn create CloudWatch Logs groups for its logging. Lamda can be call every 5 mins or as per your business requirement.

About

Way find out if DNS is down or your instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages