Questions tagged [nslookup]
The nslookup tag has no usage guidance.
116
questions
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\...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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....
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 ...
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 ...
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....
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 ...
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
> ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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: ...
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: ...
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'...
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 ...
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 ...
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 ...
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-...
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 ...
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 ...
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-...
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 ...
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 ...
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 = ...
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....
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,...
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
$ ...
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:
...
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 ...
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 ...
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
...
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 ...
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 ...
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: ...
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
...
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....
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, ...
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 ...
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 ...
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 ...
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 ...