We have recently moved from another monitoring system to PA and are very happy.

One of the items our old monitoring system could do was a DNS query in which it would check for a expected return IP address.

Example: Query DNS server (ABC.local) for webpage: 123.com, expect IP address of returned. If a different ip address is returned it fails.

IVe not found a way to complete this other than write a program and publish the page ourselves. then do a webpage test.

Any ideas if this is possible within the current PA environment? Its a important check for us as a webpage hosting company.


asked 05 May '15, 01:41

Sduelund's gravatar image

accept rate: 25%

Hi Sduelund --

We have just added a DNS Monitor to our v6 Beta. You can see the documentation here:

DNS Monitor

If you would like to try the Beta, it is available now at:

PA Server Monitor BETA


answered 07 May '15, 17:33

Doug's gravatar image

Doug ♦♦
accept rate: 21%

edited 07 May '15, 17:34

Love your work guys! will give the Beta a go.

(08 May '15, 01:01) Sduelund

You can do this indirectly using an Execute Script monitor. You should be able to modify the below to work for you without too much hassle.

Lifted from: https://social.technet.microsoft.com/Forums/en-US/d93cb9a9-32ac-4494-ae47-9269092a10d2/how-to-nslookup-an-input-in-vbscript?forum=ITCG

Option Explicit
Dim objshell, strCmd, objExec, strLine, strIP

set objShell = CreateObject("Wscript.Shell")

strCmd = "%comspec% /c nslookup MyComputer"
Set objExec = objShell.Exec(strCmd)
Do Until objExec.StdOut.AtEndOfStream
    strLine = objExec.StdOut.ReadLine()
    If (Left(strLine, 8) = "Address:") Then
        strIP = Trim(Mid(strLine, 9))
        Wscript.Echo strIP
    End If

answered 07 May '15, 10:35

J_Michael's gravatar image

accept rate: 11%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 05 May '15, 01:41

Seen: 6,343 times

Last updated: 08 May '15, 01:01