Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

svg

Reviews(1)
Hi,
thanks for your good script. this helped me to code it myself. Thanks!

i did some small modification to use a specific DNS as if you run such script behind your dyndns router and the router is a DNS server itself it could not resolve the "wrong" dns...
so the Host query section needs a external DNS server. What i did?
added in the parameters section this:
CurlHttpProxy=
DNSServer2use=

and in line 74 this:
HostResult=`host $DdnsHost $DNSServer2use`

now you simply put the IP of a external DNS server into the variable and "host" will use this to place the query to find "definedIP".

again: thanks for your good script!

cheers
Stephan