Ad Widget

Collapse

DNS resolution check failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vsergione
    Junior Member
    • Oct 2023
    • 28

    #1

    DNS resolution check failed

    Hi guys,

    We have a problem in our network with the DNS resolution check.

    Out of 600+ checks, 100+ are failing, that is they return a 0. We use this agent check: net.dns[,{HOST.DNS},A,,,]

    We investigated the issue on some hosts:
    - checking if {HOST.DNS} is indeed the one configured in the host (was correct)
    - checking if making local lookup on the machine from the console will return an error (all good)
    - NS server configured correctly (done)
    - tried various combinations (instead of a macro, to use the actual host name or the FQDN; tried also with a different hostname which was resolved when running the query from the console on the machine)

    So far, no result.

    Also, worth to mention is that all those machines are Windows.

    Any help would be much appreciated!

    Thanks
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Is the problem so that the item sometimes returns 0 on some hosts, or that it always returns 0 on specific hosts?

    Markku

    Comment

    • Brambo
      Senior Member
      • Jul 2023
      • 245

      #3
      Looking at the examples https://www.zabbix.com/documentation..._agent#net.dns
      You have a , to many at the end of the item key?
      I Think you can even leave them completely if you don't set a value in a field after the A, see example net.dns[,1.100.51.198.in-addr.arpa,PTR]
      And as 100 of many fail are they all using the same template to resolve this or are they host items?

      Comment

      Working...