Many (most?) non-bind DNS server software will fail the dns protocol test in
monit as it is written (dbjdns, mydns and a couple others that I tested so
far), AFAIK because bind includes a "default" referral response to a query
about the root servers. Even the great and powerful Paul Vixie admitted that
this is something that most servers shouldn't be doing and others pointed out
non-broken client resolver libraries will reject/throw out such a response.
The relationship between BIND and some of the DNS RFCs act a good example of
why it sucks to take a certain application's behavior and codify it as a set
of standards, as we are currently experiencing with OOXML.
To work across all DNS servers, the test should have the following options:
Protocol: UDP or TCP
Query Type: A, NS, etc
and if you care about the exact value of the response rather than the fact
that there was or was not a response from the server an "expect" or "checksum"
section for checking the response.
Can this go on the list? http://www.tildeslash.com/monit/doc/next.php
or how do things get on the list?
How many hours do you think it would take to add a parameterized dns test?
Samuel Vogel wrote:
I would really like to do this, but actually I can only code python and
php and my C skills hardly can accomplish more than writing a few if's
and initializing variables...
I could provide alle the infos somebody of the mydns team would need to
accomplish this task. Since a DNS check is allready there, I'd hope
there is only a small problem, that needs to be fixed.
Regards,
Samy
Jan-Henrik Haukeland schrieb:
On 5. sep. 2007, at 08.07, Samuel Vogel wrote:
The logs point me to the Porblem, that mydns somehow fails the DNS
Test, even thou it answers all querys normaly
An excellent opportunity for you to create a patch of monit's dns test
@ protocol/dns.c :-)
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general