Results 1 to 3 of 3

Thread: Inconsistancy between nslookup and ping

  1. #1
    Join Date
    Jul 2009
    Location
    Shropshire England
    Beans
    238
    Distro
    Lubuntu 16.04 Xenial Xerus

    Inconsistancy between nslookup and ping

    Hi

    A simple question can you help me explain why this happens
    please note that this machine was at one time 10.2.10.35 but I changed the subnet mask to
    10.10.1.x/255.255.255.0

    i can ping 10.10.1.35 but what is making it look for 10.2.10.35 the old address?

    There is a windows 2000 Adv Server at 10.10.1.10 the ubuntu pc 11.04 has joined the domain using likewise. On the server ping freds works.

    Code:
    ME\administrator@freds:~$ nslookup freds.me.dyndns-ip.com
    Server:        10.10.1.10
    Address:    10.10.1.10#53
    
    Name:    freds.me.dyndns-ip.com
    Address: 10.10.1.35
    
    ME\administrator@freds:~$ ping freds.me.dyndns-ip.com
    PING freds.me.dyndns-ip.com (10.2.10.35) 56(84) bytes of data.
    ^C
    --- freds.n-rutherford.dyndns-ip.com ping statistics ---
    10 packets transmitted, 0 received, 100% packet loss, time 9072ms
    
    ME\administrator@freds:~$
    Last edited by Neill_R; January 5th, 2012 at 12:38 PM.

  2. #2
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,524
    Distro
    Ubuntu Development Release

    Re: Inconsistancy between nslookup and ping

    One possibility is that the DNS reverse files were not updated to reflect the change.
    Another possibility is local "hosts" file(s), if there were entries made for this name, were not updated to reflect the change.
    There might be other reasons, I don't know.

    Hope this helps.

    Edit: (I tihnk) Sometimes windows computers need to be told to forget old DNS stuff. I think (don't quote me) the command is "ipconfig /flushdns"
    Last edited by Doug S; January 5th, 2012 at 07:42 PM. Reason: thought of something else

  3. #3
    Join Date
    Jul 2009
    Location
    Shropshire England
    Beans
    238
    Distro
    Lubuntu 16.04 Xenial Xerus

    SOLVED Re: Inconsistancy between nslookup and ping

    Spot on it was my hosts file /etc/hosts removed the offending 10.2.10.35 reference and it now works. Thank you for reminding me of this file did the windows PC but forgot this one.

    Thank you

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •