How about adding a trailing '.' to the name?
I have dns_lut.monitor (lut = 'lookup time') which logs the response time.
I thought that I had released it, but now I see that I have not added the
pod man page, so that is why it was not released.
Here are my options, with tiny documentation:
"n|name=s" => \$NameToLookup, # FQDN should terminate with a "." to prevent
recursion
"v|verbose" => \$Verbose,
"p|pingfirst" => \$PingFirst, # Don't try DNS lookup if down
"t|timeout=i" => \$TimeOut,
"T|alarmtime=i" => \$AlarmTime,
"l|log=s" => \$LogFile,
"d|debug" => \$Debug,
Jon
On Thu, 19 Oct 2006, Bill Chmura wrote:
>
> Hey all,
>
> I've made a modification to dns-query.monitor to accept a config file
> for the underlying NET::DNS::Resolver. That works fine.
>
> However, no matter what I do, i cannot get it to stop adding my search
> path onto the domain I want to check. Because I want to check specific
> subdomains, they always pass.
>
> I've been trying to use
>
> recurse
> dnsrch
>
> options in my config file, but they don't seem to work. I will post a
> patch if anyone wants this once I figure out how to effectively make
> patch files :)
>
> If anyone else has done this that would be great.
>
> basically if I put in a bad domain name like www.bddddomain.com, it
> tries that, then tries it again, adding my local search domain and says
> its good.
>
> www.bdddddomain.com.gooddomain.com
>
> I thought dnsrch would have helped....
>
>
> [yesterday our internet connection went down, thanks to Mon I knew about
> it about a minute after it happened and had our provider on the phone
> minutes before the first complaint rolled in... had an e-mail out
> internally after that to head off the rest of them... thanks mon]
>
>
>
>
> _______________________________________________
> mon mailing list
> [email protected]
> http://linux.kernel.org/mailman/listinfo/mon
>
_______________________________________________
mon mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/mon