Skip to main content

Questions tagged [nslookup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
246 votes
9 answers
1.0m views

How can I direct a query to specific DNS server?

I would like to issue a query to a specific DNS server, whose IP address I know. It doesn't really matter if it's on Windows or *nix. In Windows I can do something like: C:\Documents and Settings\...
Anton Daneyko's user avatar
15 votes
1 answer
30k views

nslookup DNS query won't display authoritative answer

I am trying to get the authoritative DNS servers for a server in Europe per my assignment instructions. I looked up how to do it and got two different ways. One is: nslookup -type=soa ox.ac.uk And ...
modernNeo's user avatar
  • 171
11 votes
1 answer
25k views

Why does nslookup give NXDOMAIN but dig works fine?

I don't see an exact answer for this elsewhere, so I'm going to be brave and ask here. I have a linode and have set up a DNS A record for my host which I'll call A.wc.net. When I look it up using ...
Rich's user avatar
  • 245
11 votes
1 answer
40k views

Using nslookup with google IPv6 DNS?

I am trying to use nslookup to query google.com with 2001:4860:4860::8888, which is google IPv6 DNS. But I get no response, eg connection. always times out. When I try same procedure just as DNS put ...
MegaManX's user avatar
  • 281
10 votes
2 answers
199k views

Why does nslookup return "DNS request timed out"

I was using a public computer on some public network and wanted to see how nslookup worked there. I tried set type=ns for some web-site and got this message: DNS request timed out. timeout was ...
ans's user avatar
  • 205
8 votes
2 answers
5k views

What does the # symbol after an IP address mean?

I resolved an IP address from a URL using nslookup and noticed the following: nslookup https://example.com Server 192.168.3.214 Address 192.168.3.214#53 What does the #53 at the end mean?
Linton's user avatar
  • 97
8 votes
4 answers
39k views

How to properly test a local DNS server locally?

Context I intended to set up a local DNS server with Technitium and would like to verify the local DNS server returns the correct response when it is being queried for a domain. It does not work while ...
a.t.'s user avatar
  • 423
7 votes
1 answer
7k views

NSLookup in PowerShell always throws RemoteException error

When I run nslookup from a PowerShell script, I always get an error (which is output to the console) despite the fact the lookup succeeds: PS C:\Windows\system32> $MyOutput = nslookup -q=SOA ...
I say Reinstate Monica's user avatar
5 votes
2 answers
4k views

NSlookup and linux Dig

On linux I can list all entries in the DNS table ending with "80" using: dig axfr my.domain | grep 80 How do I do that with NSlookup on windows? I have tried starting NSlookup and typing ls my....
u123's user avatar
  • 550
5 votes
2 answers
18k views

Ping fails to find host but NSLookup resolves okay on Windows

We have an intermittent problem on Windows 8 whereby Ping fails to find the host but NSLookup resolves it correctly. Ping host1 - fails with ping could not find host Ping host1.domain.local - also ...
NickC's user avatar
  • 311
4 votes
4 answers
24k views

Windows nslookup: Do reverse DNS lookup in one step?

A lot of times I need to see if a host's reverse DNS matches the A record it's associated with. So, what I do is nslookup superuser.com followed by nslookup 64.34.119.12. Is there a way to get ...
BenGC's user avatar
  • 435
3 votes
2 answers
20k views

Domain name is not resolving (Can't find: No answer)

I'm having a domain yantdom.com It has valid whois information: Name Server: ns1.myownns.ru Name Server: ns2.myownns.ru And the nameserver it's stored on works fine: $nslookup yantdom.com ns1....
Konstantin Bodnia's user avatar
3 votes
1 answer
43k views

How do I change the default server for nslookup?

So, I have two network cards in my computer on two separate networks. I'd like to have nslookup use slcity server as the default server. However, it automatically chooses sltv. How do I change the ...
plammer's user avatar
  • 45
3 votes
1 answer
5k views

nslookup different results using same dns server?

My understanding of nslookup is when you tell it what DNS server to use you are bypassing the NIC's defined DNS server, right? Here is an example, when I run nslookup from home: nslookup - 8.8.8.8 > ...
Philip Ingram's user avatar
3 votes
1 answer
18k views

what does it mean if nslookup and ping fail to resolve a host name but tracert does not?

This problem concerns an internal DNS server that for some reason sometimes fails to resolve the host names of some machines on the network. When it fails to resolve a host name, and this can happen ...
J Smith's user avatar
  • 187
3 votes
2 answers
18k views

Why I can't ping external IP and resolve DNS from this Linux Ubuntu machine?

I am not so into networking and systems engineering. I have an Ubuntu 18.04 VM that is in a network of a client that is 1) Unable to perform ping of addresses external to the network (but I can ...
AndreaNobili's user avatar
  • 7,201
3 votes
1 answer
8k views

Difference Nslookup vs. ping -a

We are trying to setup reverse look-up zones in our Windows environment. Prior to setting up the zones, nslookup would fail to resolve an IP to hostname. Oddly ping -a would resolve a hostname. ...
user2565554's user avatar
3 votes
2 answers
14k views

DNS does not resolve after VPN

connected remote vpn(random vpn provider) --OK Internet access add to route tables 10.0.0.0/8(lan) to go trough local network gateway ping localnetworkcomputer with ip (10.10.74.48) --OK ...
shinji14's user avatar
  • 145
3 votes
2 answers
349 views

findstr /X keeps printing lines with no matches

I'm using nslookup and findstr in a simple batch script to check if a website is up. However findstr keeps printing lines which doesn't contain any matches. The command goes like this: nslookup ...
Mizuki's user avatar
  • 33
3 votes
1 answer
3k views

What does nslookup -type=ns really do?

I know my question is a newbie answer. I been looking at the websites, but I can't really get a good answer or at least an answer that I can understand. So lets say I type in 'nslookup www.mit.edu'. I ...
Peter Sun's user avatar
  • 199
2 votes
1 answer
85k views

NSLOOKUP Default Server: UnKnown How to fix it [closed]

I execute NSLOOKUP and see C:>NSLOOKUP Default Server: UnKnown Address: 192.168.1.1 I am guessing that it should be something like C:> nslookup Default Server: ...
DmitryBoyko's user avatar
2 votes
1 answer
3k views

How can I successfully lookup hostname from an IP, but not vice versa?

Have a look at the following commands and their respective outputs: $ nslookup 202.83.21.28 8.8.8.8 Server: google-public-dns-a.google.com Address: 8.8.8.8 Name: broadband.actcorp.in Address: ...
John Red's user avatar
  • 183
2 votes
1 answer
15k views

NSLookup not working (Win10)

I'm currently having problems accessing one of my clients servers and it seems that there is probably a problem with the network connection between myself and the server. However one of the things I'...
Dalibor Čarapić's user avatar
2 votes
1 answer
4k views

LLMNR vs DNS - Why is 'ping' using llmnr instead of dns, unless I append a '.' to the hostname, and why is llmnr not working?

I am operating on a LAN closed off from the internet, and there are a few devices (A, B, C, ...) connected via ethernet cable to a single router making this LAN possible. Operating system on all ...
Hybr13's user avatar
  • 23
2 votes
4 answers
7k views

NSLookup Has Stopped Working (Won't Start)

NSLookup on Windows 10 x64 (10.0.14393) cannot be started anymore. Earlier today, I would be greeted by the prompt after running nslookup from CMD. Now, I am greeted with this screen: The program ...
Bit Fracture's user avatar
2 votes
2 answers
3k views

OSX - Using different DNS for different network interface

I've an OSX Mountain Lion system and, if it's possible, I need to use different DNS servers for different networks. I'm going to explain my situation: I'm at work. I'm connected to work network (by ...
Diego's user avatar
  • 51
2 votes
2 answers
11k views

NSLOOKUP fails while ping -a and Resolve-DnsName -DnsOnly succeeds

I am trying to complete an nslookup for a number of hosts on an affiliated domain, but all nslookups fail. The usual explanation is that the connection is due to NetBIOS however in this case Resolve-...
radix's user avatar
  • 33
2 votes
0 answers
1k views

Why does Chrome take longer to resolve new DNS entries when ping and nslookup works immediately?

I have an internal DNS server with a TTL set to 300. Whenever I add a new host, the command line ping and nslookup commands work immediately and resolve the new address without issue. However in ...
emmdee's user avatar
  • 121
1 vote
2 answers
2k views

How do I do a reverse DNS lookup from IP address to domain name?

I want to know the source of a server IP address domain name. For example, as shown in the picture, the domain name meping.igamecj.com replies with 20 addresses, so my main question is how do I use ...
liyan's user avatar
  • 13
1 vote
1 answer
12k views

What is responsible mail addr record?

I've been searching in google but I couldn't find documentation about it. E.g, using "nslookup" for look into soa registry of google.es you can see how responsible mail addr has the value of "dns-...
Peter11's user avatar
  • 35
1 vote
1 answer
6k views

why does nslookup return error 'can't find host'?

On a test VM, I have setup the /etc/hosts to resolve the machine name. Why is it that nslookup is unable to find the server? $hostname foo $hostname -f foo $cat /etc/hosts 10.2.192.62 ...
spuder's user avatar
  • 10k
1 vote
3 answers
2k views

How to you override the default dns configuration in ubuntu so that nslookup returns static values?

The nslookup, dig and ping return different values for me. I want foo.bar.name to always resolve statically to localhost on my machine. I used the command host foo.bar.name and edited /etc/hosts to ...
fossy's user avatar
  • 11
1 vote
2 answers
9k views

Why can't I connect to Google's SMTP server on port 25? [closed]

I'm working on an InfoSec exercise, specifically email spoofing. I started by executing the following commands: C:\Users\student>nslookup 6.0.0.10.in-addr.arpa primary name server = ...
user311226's user avatar
1 vote
2 answers
5k views

Finding out default DNS in OS X Terminal

When doing "nslookup" on a windows machine you get the address of the default DNS you're using (http://gyazo.com/313d1ad31c1927741aa266fc7f8542fc), but for some reason you don't in OS X (http://gyazo....
Axel Kennedal's user avatar
1 vote
2 answers
9k views

How to get IP address of my proxy server using CMD or PowerShell

I use a proxy application (like Psiphon or ProtonVPN) to connect to the internet. I want to get my IP address that I'm connected to the internet with. I need to use CMD or PowerShell because later on,...
Shayan's user avatar
  • 1,594
1 vote
2 answers
6k views

nslookup returning local router name and address

I am using nslookup to query external servers such as google.com, but when I do this what I am getting back is my router's name and IP address. Nslookup response after hitting google.com $ ...
ethane's user avatar
  • 113
1 vote
2 answers
110 views

CMD nslookup script returns "timed-out" error

I wanted to write a CMD script to automatically check the MX records for a set of domains (stored in a TXT file) for reporting purpose. When I do the nslookup for a single domain, there is no problem: ...
x0100's user avatar
  • 13
1 vote
1 answer
1k views

Why is nslookup on windows so slow?

I have always noticed that nslookup on any windows machine is... slow. Example in powershell: Measure-Command { nslookup superuser.com } TotalMilliseconds : 1318.4933 This typically takes 1.0 to 1.5 ...
Secto Kia's user avatar
  • 113
1 vote
1 answer
3k views

Unexpected IP Address When Using NSLookup

My desktop is running Windows 10 Enterprise 64-bit along with an ASUS RT-N56U router. My router's DHCP range is from 192.168.3.2 through 192.168.3.100 and the gateway is at 192.168.3.1. But this ...
Jazimov's user avatar
  • 357
1 vote
2 answers
5k views

Is it possible to show I got non-authoritative answer from which server?

I am not very clear with how the non-authoritative answer is given. For some domains I get this kind of results: root@localhost:~# nslookup > set query=ns > foo.org Server: 8.8.8.8 ...
kdlsw's user avatar
  • 65
1 vote
1 answer
6k views

What's the NXDOMAIN meaning of nslookup?

I use nslookup to check a domain's IP address: dele-MBP:~ dele$ nslookup www.ts111.com Server: 192.168.2.1 Address: 192.168.2.1#53 ** server can't find www.ts111.com: NXDOMAIN but what's the ...
244boy's user avatar
  • 615
1 vote
1 answer
16k views

Can connect to port 53 but nslookup fails

Trying to get my DNS back up and running after my server was shut down for a week. My issue is that I can ping / telnet port 53 fine from the outside world, and I can nslookup fine from inside the ...
Erik Johnson's user avatar
1 vote
1 answer
2k views

Can telnet but nslookup fails

The problem is exactly as described in the title... I'm puzzled. I've seen the opposite many times, but this... So once again, just to confirm: C:\users\274400>nslookup SERVERNAME Server: ...
Art Gertner's user avatar
  • 7,309
1 vote
1 answer
360 views

Why does “nslookup com” returns this IP?

I'm learning about DNS, so out of curiosity I typed: nslookup com And this is the output: Server: 192.168.1.1 Address: 192.168.1.1#53 Non-authoritative answer: Name: com.domain.name ...
Schrute's user avatar
  • 117
1 vote
1 answer
2k views

Trouble resolving hostnames with arp -a

I'm trying to lookup hostnames of computers on the same network as me. Sometimes when I use arp -a I get a question mark (?) for the hostname. I've tried using nslookup xx.xx.xx.xx and host xx.xx.xx....
winhowes's user avatar
  • 113
1 vote
1 answer
4k views

Arch Linux Domain resolution stopped working

After a system upgrade (pacman -Syu) today, no domain names can be looked up. Networking is working fine, I can "ping 8.8.8.8" and ping "1.1.1.1" which are my DNS servers. However, ...
BrainyXS's user avatar
1 vote
1 answer
3k views

Chain arp and nslookup to get hostname for each ip (Win)

I would like to see the name of the devices when i do arp -a. As far as I understand there is no option to do it directly with arp. So I thought that maybe it is possible to do nslookup for every ip ...
Stef's user avatar
  • 11
1 vote
1 answer
1k views

postfix in docker cannot resolve hostname of relay host

My postfix instance running in a docker container seems to be unable to resolve the hostname of my relay which is outbound.mailhop.org (formerly Oracle and now owned by DuoCircle). Relay fails with ...
everclear's user avatar
  • 121
1 vote
1 answer
342 views

How come this query shows the same address for non-authoritative answers and authoritative answers?

So, if i query slash16.org: nslookup -type=ns slash16.org Non-authoritative answer: slash16.org nameserver = ns-686.awsdns-21.net. slash16.org nameserver = ns-1989.awsdns-56.co.uk. slash16.org ...
koperandus's user avatar
1 vote
1 answer
5k views

Why is "dig localhost" so much quicker than "nslookup localhost"?

When looking up the address for localhost, nslookup localhost takes ~15 seconds: $ /usr/bin/time nslookup localhost ;; connection timed out; no servers could be reached Command exited with non-zero ...
Roger Lipscombe's user avatar