Xymon Mailing List Archive search

DNS Test - BB-Hosts

5 messages in this thread

list Michael S. Fisher · Wed, 2 Sep 2009 09:35:28 -0700 ·
Hi All!

I am trying to perform DNS record lookups via the bb-hosts dns directive.
My directive is as follows:

0.0.0.0 dnsserver.domain.com    # dns=a:www.google.com

if have also tried

0.0.0.0 dnsserver.domain.com    # dns=www.google.com

The result does not show the record lookups but only shows that the DNS
service is OK (up)

Can anybody shed some light as to why this is not performing the nslookups?

THANKS!
list Michael S. Fisher · Fri, 4 Sep 2009 08:08:19 -0700 ·

PING

list Josh Luthman · Fri, 4 Sep 2009 11:26:01 -0400 ·
Have you read the man page on bb-hosts?

On 9/4/09, user-ab09d151b26b@xymon.invalid <user-ab09d151b26b@xymon.invalid> wrote:
PING

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
list Michael S. Fisher · Fri, 4 Sep 2009 08:39:43 -0700 ·
I have read the man page inside and out. I have setup the dns test on our
dns server with the directive dns=a:www.google.com

This should resolve the A record for www.google.com

I am only getting the DNS test is OK and not the nslookup. Is there
something else im missing. All i should have to do is specify the dns=a:
right?


                                                                                        Josh Luthman                                                               <josh at imaginenetw                                                          orksllc.com>                                               To                                        user-ae9b8668bcde@xymon.invalid                                   09/04/2009 08:31                                           cc              AM                                                                                                                               Subject                                        Re: [hobbit] DNS Test - BB-Hosts                 Please respond to                                                           user-ae9b8668bcde@xymon.invalid                                                                                                                                                                                                                                                                                                                                                           
quoted from Josh Luthman


Have you read the man page on bb-hosts?

On 9/4/09, user-ab09d151b26b@xymon.invalid <user-ab09d151b26b@xymon.invalid> wrote:
PING

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
list Alan Sparks · Fri, 04 Sep 2009 10:15:48 -0600 ·
That's all you need.  I added "dns=a:www.google.com" after my name
server's # test part and it works OK, no other change needed.
-Alan

Service dns on zeus is OK (up)

id: 51386
flags: qr rd ra 
opcode: QUERY
rcode: NOERROR
Questions:
	www.google.com .		A
Answers:
	www.google.com .	263699	CNAME	www.l.google.com.
	www.l.google.com.	300	A	74.125.93.99
	www.l.google.com.	300	A	74.125.93.103
	www.l.google.com.	300	A	74.125.93.104
	www.l.google.com.	300	A	74.125.93.147
NS records:
	l.google.com   .	5118	NS	d.l.google.com.
	l.google.com   .	5118	NS	e.l.google.com.
	l.google.com   .	5118	NS	f.l.google.com.
	l.google.com   .	5118	NS	g.l.google.com.
	l.google.com   .	5118	NS	a.l.google.com.
	l.google.com   .	5118	NS	b.l.google.com.
Additional records:
	a.l.google.com .	4864	A	74.125.53.9
	b.l.google.com .	4864	A	74.125.45.9
	f.l.google.com .	4864	A	72.14.203.9

Seconds: 0.162
quoted from Michael S. Fisher


user-ab09d151b26b@xymon.invalid wrote:
I have read the man page inside and out. I have setup the dns test on
our dns server with the directive dns=a:www.google.com

This should resolve the A record for www.google.com

I am only getting the DNS test is OK and not the nslookup. Is there
something else im missing. All i should have to do is specify the
dns=a: right?


Inactive hide details for Josh Luthman
<user-4c45a83f15cb@xymon.invalid>Josh Luthman <user-4c45a83f15cb@xymon.invalid>


                        *Josh Luthman <user-4c45a83f15cb@xymon.invalid>*

                        09/04/2009 08:31 AM
                        Please respond to
                        user-ae9b8668bcde@xymon.invalid

	
To
	
user-ae9b8668bcde@xymon.invalid

cc
quoted from Michael S. Fisher
	

Subject
	
Re: [hobbit] DNS Test - BB-Hosts

	
Have you read the man page on bb-hosts?

On 9/4/09, user-ab09d151b26b@xymon.invalid <user-ab09d151b26b@xymon.invalid> wrote:
PING

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle