Monitor your DNS entries and get alerted if your DNS server's latency is slow or it returns with unexpected values in A, AAAA, CNAME, TXT, or MX records.
Steps to configure the DNS check:
Log in to Atatus. Then choose Synthetics from the dashboard.
To create the New check click on Create a New Check and select New API/Web Check.
1. Define request:
i) Choose the type of request as DNS method in the drop down menu.
ii) Define your request: * Enter the domain name. E.g: www.example.com * Enter the DNS server's name(optional), which can be a domain name or an IP address. * Enter the DNS server port. If you do not specify, 53 is the default DNS server port.
iii) Give your DNS check a name. Your checks will be better organized if you add tags, so you can find them more easily in the dashboard.
iv) Try running a sample check by clicking Test check.
2. Define assertions
Upon clicking the Test Check button, you are automatically prompted with a basic assertion about the response from your server. It provides an indication of whether a check has been successful.
Every assertion can be customized. If you want to define your own assertion:
i) Click the Add Assertion button.
ii) Select the type and add the values accordingly.
Here are the list of types, operators and value types available in assertions.
|Type||Record Type||Operator||Value Type|
|response time||is less than||Integer(in ms)|
|every available record||of type A, of type AAAA, of type MX, of type TXT, of type NS, of type CNAME||is, contains, matches regex, does not matches, regex||String Regex|
|atleast one record||of type A, of type AAAA, of type MX, of type TXT, of type NS, of type CNAME||is, contains, matches regex, does not matches, regex||String Regex|
3. Select Location
The locations can be selected one at a time or all at once. Select the respective location by clicking on the check box.
4. Set a frequency for testing
The frequency at which you want the check to run can be selected. The default frequency is once every minute.
5. Defining alert conditions
In defining alert conditions, you can make sure your check isn't triggered by intermittent network activity, so that you are only notified when your endpoint really has a problem.
There is a threshold amount of consecutive failures the location must experience before it is considered failed. You can set the retry count based on your preference.
Additionally, you can configure your check to notify when your endpoint goes down at a certain number of locations. The following alerting rule is set to send a notification if the check fails for three minutes on two different locations.
6. Notify your team
After creating alerts, specify any email address you want your check to send alerts to.
In addition, you can use integration channels such as Slack, PagerDuty, Microsoft Teams, webhooks and much more. Synthetic alerts are triggered after you set up the appropriate integration with the notification tools.
i) You can set up new notification channels here by clicking the Setup new notification channels button.
ii) In the Notification Channel section, click Create New Notification channel.
iii) Choose your desired channel type such as Slack, Teams, PagerDuty and so on.
iv) Provide all the necessary details.
v) Click on Create Channel.
Once you've completed your check, click on Create New Check.