Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
svg
bysvg, May 23, 2012
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
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