Come join our live training webinar every other Wednesday at 11am PST and hear LogicMonitor experts explain best practices and answer common questions. We understand these are uncertain times, and we are here to help!
The collector includes dnsjava (dnsjava.org) to allow scripting of DNS based objects.
See https://dnsjava.org/dnsjava-current/doc/ for the full java documentation.
As a simple example, a datasource could use a script such as the below to ensure that the local DNS resolvers are working:
records = new Lookup("gmail.com", Type.MX).run()