# Network Availability Monitoring in Dynatrace to Monitor DNS

**URL:** <https://community.dynatrace.com/t/network-availability-monitoring-in-dynatrace-to-monitor-dns/46487>\
**Category:** Open Q&A\
**Tags:** azure, network-monitoring\
**Created:** [July 5, 2024, 4:54pm UTC](https://community.dynatrace.com/t/network-availability-monitoring-in-dynatrace-to-monitor-dns/46487 "2024-07-05T16:54:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohangurrampati](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@Mohangurrampati](https://community.dynatrace.com/u/Mohangurrampati)\
**Post date:** [July 5, 2024, 4:54pm UTC](https://community.dynatrace.com/t/network-availability-monitoring-in-dynatrace-to-monitor-dns/46487/1 "2024-07-05T16:54:07Z")

</div>

Hi,

We have DNS servers in the onprem Data Center, and our VMs are in the Azure cloud. We have a domain controller in Azure that connects to DNS, and the domain controller will do replications to Azure VMs for name resolution. If the DNS server goes down, all our applications will be down, so we now want to monitor the DNS server in Dynatrace closely. Can someone provide any steps to onboard DNS servers in Dynatrace and start to monitor

Thanks

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [July 5, 2024, 7:03pm UTC](https://community.dynatrace.com/t/network-availability-monitoring-in-dynatrace-to-monitor-dns/46487/2 "2024-07-05T19:03:25Z")

</div>

[@Mohangurrampati](https://community.dynatrace.com/user/77827), Easiest way is to install OneAgent, and then monitor the OS service corresponding to the DNS process.

Also, you get details of what is happening from DNS clients where you have OneAgent installed. You can also trigger metrics from those systems, if you want.

BTW, removed the file you uploaded, as it contained info that probably is better not publicly visible.

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [July 18, 2024, 6:49pm UTC](https://community.dynatrace.com/t/network-availability-monitoring-in-dynatrace-to-monitor-dns/46487/3 "2024-07-18T18:49:53Z")

</div>

[@Mohangurrampati](https://community.dynatrace.com/user/77827),

Congratulations, you happened to guess the new “Network Availability Monitoring” offering two weeks before it became public 🙂

---

<div class="post-metadata">

**Author:** ![agravier](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agravier/32/29303_2.png) [@agravier](https://community.dynatrace.com/u/agravier)\
**Post date:** [July 19, 2024, 1:22pm UTC](https://community.dynatrace.com/t/network-availability-monitoring-in-dynatrace-to-monitor-dns/46487/4 "2024-07-19T13:22:34Z")

</div>

Hello&nbsp;[@Mohangurrampati](https://community.dynatrace.com/user/77827)&nbsp;,

I can only approve of what [@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;says!

In addition, another approach is possible with monitoring the name resolution query time from the DNS client.  
The OneAgent collects DNS metrics host.dns\* with the dnsServerIp dimension, which is the target DNS server.

 ![AurelienGravier_1-1721395168291.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/30acd419538550879bd3e0b327b4553b6b114dda.png)

Here is an example of a possible custom dashboard :

 ![AurelienGravier_2-1721395267331.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/3017dc2da5ab56ad67e4d3ae10fc02af54e01160.png)

Regards, Aurélien

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [July 19, 2024, 5:44pm UTC](https://community.dynatrace.com/t/network-availability-monitoring-in-dynatrace-to-monitor-dns/46487/5 "2024-07-19T17:44:07Z")

</div>

[@AurelienGravier](https://community.dynatrace.com/user/44995),

Yes, these are the metrics I was referring to. They are very good! I have a similar dashboard in most of my clients, and it’s quite impressive what you can discover. This week I discovered something that I had not ever seen, the YXDOMAIN (Name that should not exist, does exist) error 🤣
