In <user-f2f6f8e2dc9f@xymon.invalid> Milan Kocian <user-d0e37a854cb1@xymon.invalid> writes:
when we are talking about, I have one question in this area (DNS).
I don't understand why http tests resolve hostnames when you explicitly
define ip address in test. Is this intention to make dns test together ?
(I have small patch to disable it :-).
It's because webservers often use the hostname-part of the URL to
determine how to process the request. E.g. if you have 10 sites
hosted on the same physical box (= same IP), then you must specify
the "hostname" in the URL to hit the right virtual webserver.
That's why you can override the DNS lookup:
10.0.0.1 www.foo.com # http://abc.foo.com=192.168.1.2/
Regards,
Henrik