DNS problem, nslookup works, ping doesn't

前端 未结 14 967
無奈伤痛
無奈伤痛 2021-01-30 08:40

I am setting up a development server in my flat. I have set up an Ubuntu DNS server on it and have added the zone weddinglist (just weddinglist - no TLD. It\'s just an internal

相关标签:
14条回答
  • 2021-01-30 09:02

    Try ipconfig /displaydns and look for weddinglist. If it's cached as "name does not exist" (possibly because of a previous intermittent failed lookup), you can flush the cache with ipconfig /flushdns.

    nslookup doesn't use the cache, but rather queries the DNS server directly.

    It worked for me..

    from https://superuser.com/a/507892

    0 讨论(0)
  • 2021-01-30 09:07

    Do you have an entry for weddinglist in your hosts file? You can find this in:

    C:\WINDOWS\system32\drivers\etc
    

    nslookup always uses DNS whereas ping uses other methods for finding hostnames as well.

    0 讨论(0)
提交回复
热议问题