[smokeping-users] another SmokePing DNS probe

Tobias Oetiker oetiker at ee.ethz.ch
Fri Jul 11 07:55:41 MEST 2003


For those interested in DNS.pm, here is another entry :-)
cheers
tobi


-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker   +41(0)1-632-5286

---------- Forwarded message ----------
From: Carl Elkins <carl.elkins at pace.co.uk>
To: André Stolze <stolze at uni-muenster.de>
Cc: oetiker at ee.ethz.ch
Date: Thu, 10 Jul 2003 19:14:33 +0100
X-Spam-Status: No, hits=-2.4 required=5.0
	tests=CASHCASHCASH,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA
	autolearn=ham version=2.54
Subject: Re: SmokePing DNS probe

André Stolze wrote:
> Hi,

[snip]

>>multiple DNS servers - it would only ever query one of the
>>configured set, seemingly chosen at random.
>
>
> This looks mysterious to me. As I think the probe schould use
> always the first of the entries.

>From the code, I'd agree, but I'll bet it's down to the values being
stored in a hash, and then order actually becomes indeterminate (well,
complex, and not guaranteed)...

>
>
>>I've made modifications, based on the forking behaviour of
>>the EchoPing probe, and now have a probe which consistently
>>works as expected.  Would you be interested in this version,
>>or would you prefer that I contact Tobias directly?
>>
>
> I think both would be great. My brobe was in the beginning only
> A kind of hack to check if an DNS-Server is up.

Understood - usually the way these things start out ;-)  I'm very
grateful for you supplying it in the first place, thus giving me the
opportunity to build on it, and to Tobi for the collection of useful
tools (cc'd on this).

> So I'm very
> Interested in something like a prfessional Versin ;-)

I'd hardly go that far ;-)
However, it has been polling 4 servers for nearly 24 hours, now, with
very little problem (there is an occasional perl exception caught &
logged, but it doesn't seem to cause any serious side-effects - I guess
it's down to the asynchronous calls to dig, but I'll look into that later).

>
> Regards
> André
[snip]
>
>

My DNS.pm is attached, to do with as you see fit.




Regards,

-- 
This e-mail and any attachments hereto are strictly confidential and
intended solely for the addressee.  If you are not the intended
addressee please notify the sender by return and delete the message.
You must not disclose, forward or copy this e-mail or attachments to
any third party without the prior consent of the sender.
-- 
Carl Elkins, Team Leader, Technical Support, IPTV Division
Pace Micro Technology plc,             Tel: +44 (0) 1223 598 521
1010 Cambourne Business Park,          Fax: +44 (0) 1223 598 034
Cambourne, Cambridge. CB3 6DP          WWW: http://www.pace.co.uk/


-- Attached file removed by Ecartis and put at URL below --
-- Type: TEXT/PLAIN
-- Size: 2k (3044 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/02-DNS.pm


--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list