Dig shows wrong ip at server:

Discussion in 'Mac OS X Server, Xserve, and Networking' started by themacisgood, Jan 25, 2012.

  1. themacisgood macrumors newbie

    Joined:
    Jan 25, 2012
    #1
    Hi everyone..
    Ive got some jabbered notification callback to non existing host error in my log.

    Jan 17 21:49:29 server jabberd_notification/c2s[156]: [8] [::ffff:192.168.12.205, port=62298] connect
    Jan 17 21:49:29 server jabberd_notification/c2s[156]: SASL callback for non-existing host: serv.mydomain.com
    Jan 17 21:49:29 server jabberd_notification/c2s[156]: [8] [::ffff:192.168.12.205, port=62298] disconnect jid=unbound, packets: 0

    I would guess it has to do with the reverse dns. But the sudo changeip -checkhostname shows no errors. So I tried dig -x and got this:

    ; <<>> DiG 9.7.3-P3 <<>> -x 192.168.12.205
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37764
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;205.12.168.192.in-addr.arpa. IN PTR

    ;; ANSWER SECTION:
    205.12.168.192.in-addr.arpa. 10800 IN PTR serv.mydomain.com.

    ;; AUTHORITY SECTION:
    205.12.168.192.in-addr.arpa. 10800 IN NS serv.mydomain.com.

    ;; ADDITIONAL SECTION:
    serv.mydomain.com. 10800 IN A 192.168.12.205

    ;; Query time: 4 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Jan 25 12:58:54 2012
    ;; MSG SIZE rcvd: 103


    Everything looks fine (to my knowlagde), but I'm wondering if the server: should not state my 192.168.12.205 ip?

    many thanks.
     
  2. NogbadTheBad, Jan 25, 2012
    Last edited: Jan 25, 2012

    NogbadTheBad macrumors regular

    NogbadTheBad

    Joined:
    Aug 28, 2009
    Location:
    United Kingdom
    #2
    This is your IP address :-

    serv.mydomain.com. 10800 IN A 192.168.12.205

    IN A means its an A record
    IN CNAME means its an alias

    The entry in RED is the server that DIG queried, if you don't specify a server it uses the loopback address or if set via DHCP the DNS server address.

    ;; SERVER: 127.0.0.1#53(127.0.0.1)

    If you want to get dig to do your query from another server you'd have to use

    dig -x @otherserver 192.168.12.205

    http://en.wikipedia.org/wiki/List_of_DNS_record_types
     
  3. themacisgood thread starter macrumors newbie

    Joined:
    Jan 25, 2012
    #3
    Thanks for a fast reply. That explained it. I think the problem is in my reversed DNS. Ill check that with my ISP tomorrow. thanks again. These stuff is a bit tricky for non pros.

    Is generally it a bad idea to have multiple PTR when running a lion osx server with the usual standard stuff turned on?
     
  4. themacisgood thread starter macrumors newbie

    Joined:
    Jan 25, 2012
    #4
    Ist now solved. Once the reversed DNS was set up and everything restarted he could connect and the message is gone. :)
     

Share This Page