[Nagiosplug-devel] Testcase for is_hostname (was something else)

sean finney seanius at seanius.net
Fri Oct 27 16:50:24 CEST 2006


On Fri, 2006-10-27 at 15:01 +0100, Ton Voon wrote:

> Andreas, I'm not sure what you would like to see. Is it: 
>   "nonfqdn-but-ends-in-dot." => 0
>   "otherwise.something." => 1

i'd say something ending in '.' should be considered a valid hostname no
matter what (assume there are no other problems with it).  whether or
not it *resolves* ought to be an orthogonal issue.

or is the test also testing resolvable domains?


	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20061027/0159f41c/attachment.sig>


More information about the Devel mailing list