Xymon Mailing List Archive search

DNS Test - No Record Lookup

list Michael S. Fisher
Wed, 23 Sep 2009 14:07:50 -0700
Message-Id: <user-0ca6d539f58c@xymon.invalid>

Pinging solaris AND solaris.domain.com correctly respond with the right IP
address....DNS resolution was never really a problem on the xymon box as
most of my configs reference host name....The DNS test however has NEVER
worked and has ALWAYS outputed just the "DNS service is up (ok)" message

But im at a point now where we need to monitor dns records and this brings
me back to square 1


                                                                                        Josh Luthman                                                               <josh at imaginenetw                                                          orksllc.com>                                               To                                        user-ae9b8668bcde@xymon.invalid                                   09/23/2009 02:05                                           cc              PM                                                                                                                               Subject                                        Re: [hobbit] DNS Test - No Record                Please respond to         Lookup                                            user-ae9b8668bcde@xymon.invalid                                                                                                                                                                                                                                                                                                                                                                                                                                      


Oh sorry - Gmail hit the A answer - this is what matters:

;; ANSWER SECTION:
solaris.domain.com. 259200 IN A 192.168.X.X

If you do a ping solaris.domain.com does it resolve to 192.168.x.x?  Were
changes made to this record recently?

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


On Wed, Sep 23, 2009 at 4:47 PM, <user-ab09d151b26b@xymon.invalid> wrote:
  solaris.domain.com exists...it came back with NOERROR??


  ; <<>> DiG 9.5.0b2 <<>> @solaris.domain.com solaris.domain.com

        ; (1 server found)
        ;; global options: printcmd
        ;; Got answer:
        ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9661


        Michael S. Fisher
        ISD | Active Directory Support
        user-ab09d151b26b@xymon.invalid
        +X XXX XXX XXXX

  Inactive hide details for Josh Luthman ---09/23/2009 01:45:15
  PM---Neither solaris or solaris.domain.comJosh Luthman ---09/23/2009
  01:45:15 PM---Neither solaris or solaris.domain.com
                                                                                                    Josh Luthman <                                                             josh at imaginene                                                             tworksllc.com>                                                                                                            To                                                                                                     09/23/2009                   user-ae9b8668bcde@xymon.invalid                                01:45 PM                                                                                                                  cc                                                                                                                                                                                                                          Subject                                                                                       Please respond to                          Re: [hobbit] DNS                  user-ae9b8668bcde@xymon.invalid                           Test - No Record                                                           Lookup                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 


  Neither solaris or solaris.domain.com exist.  That's your problem.  You
  need to fix your DNS servers (listed in /etc/resolv.conf) and add those
  records.

  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


  On Wed, Sep 23, 2009 at 4:40 PM, <user-ab09d151b26b@xymon.invalid> wrote:
        [xymon at xymon]$ dig solaris @solaris

        ; <<>> DiG 9.5.0b2 <<>> solaris @solaris


        ;; global options: printcmd
        ;; Got answer:
        ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2107
        ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL:
        0

        ;; QUESTION SECTION:
        ;solaris. IN A

        ;; AUTHORITY SECTION:
        . 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM.
        2009092201 1800 900 604800 86400

        ;; Query time: 39 msec

        ;; SERVER: 192.168.X.X#53(192.168.X.X)
        ;; WHEN: Wed Sep 23 13:36:58 2009
        ;; MSG SIZE rcvd: 98

        [xymon at xymon]$ dig @solaris.domain.com solaris.domain.com

        ; <<>> DiG 9.5.0b2 <<>> @solaris.domain.com solaris.domain.com

        ; (1 server found)
        ;; global options: printcmd
        ;; Got answer:
        ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9661

        ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1,
        ADDITIONAL: 0

        ;; QUESTION SECTION:
        ;solaris.domain.com. IN A

        ;; ANSWER SECTION:
        solaris.domain.com. 259200 IN A 192.168.X.X

        ;; AUTHORITY SECTION:
        domain.com. 259200 IN NS solaris.domain.com.


        ;; Query time: 1 msec
        ;; SERVER: 192.168.X.X#53(192.168.X.X)
        ;; WHEN: Wed Sep 23 13:37:05 2009
        ;; MSG SIZE rcvd: 61


        Inactive hide details for Josh Luthman ---09/23/2009 01:34:55
        PM---Can you provide the output ofJosh Luthman ---09/23/2009
        01:34:55 PM---Can you provide the output of


                                                                              Josh Luthman <user-4c45a83f15cb@xymon.invalid>                                                                                                                                                                                       09/23/2009 01:34 PM                                                  To                                                                                                                                     user-ae9b8668bcde@xymon.invalid                                                                                                                                                       cc                                                                                           Please respond to                                                            user-ae9b8668bcde@xymon.invalid                                                                                                                                                                                          Subject                                                                                                                                     Re: [hobbit] DNS                                                           Test - No Record                                                           Lookup                                                                                                                                                                                                                                                                                                                                                                                                                                                                              


        Can you provide the output of

        dig solaris @solaris

        dig solaris.domain.com @solaris.domain.com

        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


        On Wed, Sep 23, 2009 at 4:26 PM, <user-ab09d151b26b@xymon.invalid> wrote:
                    I have chanegd the bb-hosts entry to be
                    192.168.X.X solaris.domain.com # dns nis ntp telnet
                    pop3 pop3s imap imaps

                    And i renamed through bb with the command ./bb
                    127.0.0.1 "rename solaris solaris.domain.com"

                    No dice....UGH


                    Inactive hide details for Craig Cook ---09/23/2009
                    01:13:51 PM--->##############The bb-hosts file entry is
                    as follows: >Craig Cook ---09/23/2009 01:13:51
                    PM--->##############The bb-hosts file entry is as
                    follows: >
                                                                                                                       Craig Cook                                                                 <                                                                          Craig.Cook                                                                 @carquest.                  To                                             com>                                                                                          "                                                                          hobbit at hswn                                             09/23/2009         .dk" <                                                  01:13 PM           hobbit at hswn                                                                .dk>                                                                                                                                                           cc                                                                                                                                                                          Please respond to                               Subject                     user-ae9b8668bcde@xymon.invalid                                                                                                        Re:                                                                        [hobbit]                                                                   DNS Test -                                                                 No Record                                                                  Lookup                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
##############The bb-hosts file entry is as follows:

page solaris Solaris
192.168.X.X solaris # Name:"SOLARIS" dns nis ntp
                    telnet pop3 pop3s imap imaps
                    You are not using FQDN.

                    Try (as the xymon user on the xymon host)

                    dig @solaris solaris

                    You may not be resolving correctly. Confirm
                    /etc/resolv.conf is correct

                    Try adding your domain to bb-hosts

                    192.168.X.X solaris.example.com # Name:"SOLARIS" dns
                    nis ntp telnet pop3 pop3s imap imaps

                    Also try removing ‘ Name:"SOLARIS” ‘ (I don’t think
                    that will matter though)


                    Craig