Questions tagged [nslookup]

nslookup is a utility to query DNS name servers

Filter by
Sorted by
Tagged with
190 votes
5 answers
443k views

DNS - NSLOOKUP what is the meaning of the non-authoritative answer?

For some domains nslookup gives me a Non-authoritative answer section. What does this mean? Got answer: HEADER: opcode = QUERY, id = 3, rcode = NXDOMAIN header flags: response, ...
mahen3d's user avatar
  • 4,382
54 votes
7 answers
303k views

How can I find the LDAP server in the DNS on Windows?

For Linux, this command should return the DNS record for the LDAP server host -t srv _ldap._tcp.DOMAINNAME (found at Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT ...
mjn's user avatar
  • 943
42 votes
7 answers
34k views

Why can host and nslookup resolve a name but dig cannot?

Can anyone tell me why this is happening? I can resolve a hostname using host and/or nslookup but forward lookups do not work with dig; reverse lookups do: musashixxx@box:~$ host someserver ...
musashiXXX's user avatar
36 votes
5 answers
120k views

List TXT records for a domain with Windows nslookup

I want to inspect TXT records for my domain, such as SPF records. I tried the following command with nslookup but it didn't list the TXT records: nslookup -type=TXT example.com What is the correct ...
Josh's user avatar
  • 651
27 votes
5 answers
115k views

How to find all hostnames in DNS attached to one IP?

If I have multiple hosts configured on one machine (a la apache's VirtualHosts), how can I do a lookup on the IP and find all domains configured to reach it? For example, I have several web and email ...
warren's user avatar
  • 18.6k
25 votes
3 answers
142k views

nslookup for SRV records (or any non-A records) in non-interactive mode

Is the anyway to run nslookup (Centos 5 or Windows) such that it will look up record types other than A, without having to go to interactive mode and using set type=? For example, I'd like a command ...
DrStalker's user avatar
  • 6,976
25 votes
2 answers
23k views

SOA and Primary NS record (DNS)

The brunt of the question is this -- What is the relationship between the primary nameserver specified in the SOA record and the nameservers specified in the NS records. How are these things linked? ...
scraft3613's user avatar
24 votes
2 answers
32k views

How is DNS lookup order determined?

For example: we have registered domain name domain.com and added name server records at the registrars server: ns1.domain.com. ns2.domain.com. ns3.domain.com. Than we look up for domain.com. We get ...
Vitaly Kuznetsov's user avatar
20 votes
4 answers
59k views

Find out which DNS server answered your query

I have a seemingly simple question but couldn't find the answer to precisely that question after some search: I know that, if I want to look up the IP address of some domain name, I type, for example: ...
Staki42's user avatar
  • 303
19 votes
2 answers
969 views

Multiple reverse DNS record internal DNS

A user was having trouble connecting to the internet, some sites worked some sites did not. I do not think it has anything to do with networking gear, but just in case. 2 firewall, Palo-Alto 4 ...
Anthony Fornito's user avatar
16 votes
5 answers
134k views

What can cause a DNS lookup to ignore a hosts file entry?

I'm having a DNS resolving issue that is affecting the performance of my locally hosted web site when browse it on my local machine. If I attach my network's DNS suffix to my local machine name when ...
Dan Herbert's user avatar
16 votes
3 answers
190k views

What does "Default Server: Unknown" mean for Windows nslookup

I'd like to solve a question with your kind help, about nslookup on Windows. Please see my CMD commands below(run on WinXP SP2). C:\>ipconfig /all Windows IP Configuration Host Name . . ....
Jimm Chen's user avatar
  • 1,759
13 votes
1 answer
30k views

Nslookup not using hosts file

So I've set public IP on the hosts file for a certain public IP address, but it picks up private ip from nowhere or from DNS. Content of windows hosts file C:\Windows\System32\drivers\etc\Hosts ...
ajsdg's user avatar
  • 141
12 votes
4 answers
48k views

DNS searching with wildcards?

Anything like nslookup or dig offer the ability to search based on something contained in the name ... like a wildcard search or something? I'm trying to make a little script with a GUI wrapper for ...
TryTryAgain's user avatar
  • 1,152
12 votes
1 answer
7k views

What does #53 mean in nslookup nameserver address result?

When I run this: nslookup some.host.com I get results like this: Server: 4.2.2.1 Address: 4.2.2.1#53 Non-authoritative answer: Name: some.host.com Address: #.#.#.# "4.2.2.1" is ...
Ben Lee's user avatar
  • 666
11 votes
2 answers
16k views

How can I verify Windows DNS forwarders are working?

I thought I knew how to do this, but I guess not. Even the d2 debugging in nslookup doesn't show the actual forwarder being queried. So...let's say I set up DNS forwarders in a Windows DNS server ...
TheCleaner's user avatar
  • 32.7k
11 votes
3 answers
135k views

Finding all aliases for a server

Our network admin is away at the moment. I'm trying to find all aliases attached to a given server on our network (actually a number of servers) After googling around it seems like nslookup might do ...
Nick.Mc's user avatar
  • 155
10 votes
2 answers
11k views

My domain on AWS Route 53 wont propagate

Hi have created a record set for the domain: lazycatthemes.com on Route 53 (domain was purchased through route 53) and gave it the 4 NS settings that Route 53 told me to configure: ns-368.awsdns-46....
Duncan Edwards's user avatar
9 votes
4 answers
72k views

DNS can't resolve hostname; nslookup can

I have a user on Windows 7 that is trying to access a local server with a DNS name of windows.cs. We have two internal DNS servers. The DHCP server assigns users the two internal DNS servers as ...
Safado's user avatar
  • 4,786
8 votes
2 answers
1k views

How do I figure out what's wrong with my DNS record?

My network admins have created a DNS record for thedigitalteacher.com which should include an A record for the domain root pointing to 5.10.124.142, which is indeed the response I get if I use our ...
Gareth Boden's user avatar
8 votes
1 answer
11k views

Why do dig, host and nslookup return different results?

It seems my default (router) DNS server returns different results depending on the tool used to query it. Using dig: $ dig @192.168.1.2 test.example.com ; <<>> DiG 9.16.8-Debian <<&...
Jaap Joris Vens's user avatar
7 votes
1 answer
23k views

Why does nslookup return two or more ip address for yahoo.com or microsoft.com?

I am newbie with dns What is the exact reason that some sites report two or more ip address while others report single ip? 1) Is it feature or error in configuration? 2) Is it something related to ...
shinobi92's user avatar
7 votes
1 answer
48k views

How to get authoritative answers from nslookup? [closed]

Why is it "Non-authoritative"? Even when I look for yahoo.com ip with ns3.yahoo.com I get Non-authoritative answer. Why does a yahoo server keep stackoverflow's ip? From where do I get stackoverflow'...
Xiobiq's user avatar
  • 179
7 votes
1 answer
27k views

Why is nslookup reporting two IP addresses?

I made a DNS change a few hours ago and I just ran the following command with the following output: nslookup mydomain.com ns1.mynameserver.com Server: ns1.mynameserver.com Address: 111.111.111.111 ...
Jeff's user avatar
  • 345
7 votes
5 answers
35k views

Ping hostname works but nslookup to hostname doesn't

I have a Windows 2008 standard server which can ping by hostname and give me the proper IP address back however if I try to do an nslookup on the hostname I receive: server: nmgdc1.nmg.local Address ...
Joshuah's user avatar
  • 71
6 votes
3 answers
6k views

Simple dig output?

In a script I want to be able to write an IP address to somewhere easily, so I thought using dig (or a similar command) with back-ticks. However the simplest output I've been able to come up to wrt ...
knocte's user avatar
  • 357
6 votes
2 answers
7k views

Why is nslookup and dig giving me a "Warning: ID mismatch ... got 0" error?

I'm trying to troubleshoot some persistent connectivity issues and I'm frequently getting the following error message when using dig or nslookup. bash$ nslookup > www.google.com ;; Warning: ID ...
Ralph Callaway's user avatar
6 votes
1 answer
22k views

Ubuntu DNS Lookup Failure

Some one installed and configured ubuntu on a virtual machine hosted on a machine in our network. I've recently noticed that all DNS lookup's fail but i cant find a solution to this. I've tried a ...
Lee's user avatar
  • 183
6 votes
0 answers
14k views

OSX nslookup can resolve a lan hostname, but ping cannot? [closed]

I'm having an issue which recurs every few days, whereby ping cannot resolve a hostname on my LAN (but nslookup is able to). This is on OSX 10.9.2 (latest). The machine in this case is called 'solo',...
carpii's user avatar
  • 541
5 votes
2 answers
21k views

IP address used by nslookup and ping is different

I have a web server hosted in the network. It has a domain name registered. However, I also host a DNS server for the LAN. So, when someone wants to access the web server, it would check the DNS ...
ht2's user avatar
  • 61
5 votes
1 answer
12k views

Resolve hostname without FQDN

I'm trying to configure Bind for internal LAN usage only (Linux server, Windows clients) and I would like to resolve workstation both by fqdn and shortname. For example, without DNS server, supposing ...
Eddie C.'s user avatar
  • 535
5 votes
1 answer
14k views

Can't resolve local IP using remote dns server

I'm trying to do something I thought would be pretty simple. Mapping local.mydomain.com to 192.168.0.1 using my registrar's DNS server.(namecheap.com) I've added an A Record for local with value of ...
Keivan's user avatar
  • 173
5 votes
4 answers
16k views

Determine if DNS server is master or slave with DiG

Is there a way to use DiG or nslookup to determine if a server is set to Master or Slave? And if a server is slave, return the Master's IP address?
Michael Moser's user avatar
5 votes
1 answer
60k views

server can't find XXX.in-addr.arpa: NXDOMAIN

I am facing a problem while configuring BIND DNS showing server can't find XXX.in-addr.arpa: NXDOMAIN while reverse dns check! everything works on forward DNS lookup but reverse DNS lookup fails. ...
Ashwin Mekala's user avatar
4 votes
2 answers
3k views

What are all the possible causes of the "An Active Directory Domain Controller (AD DC) for the domain ..." error message?

Earlier I was having issues connecting one of my workstations (client) to my domain, and I thought it was because the domain was not in my possession yet (reference: this question). But, due to the ...
michael's user avatar
  • 171
4 votes
1 answer
20k views

How do I fix name-server "mismatched NS record"?

I am a beginner here, so please be easy on me. I have bought my domain name from a local registrar of my country(mitsu.in) and bought my domain name www.ashurocks.in from there for about 8 months ago....
ashutosh's user avatar
  • 151
4 votes
1 answer
1k views

My Vista's nslookup returns an ipv4 address for an ipv6 site

the command: nslookup ipv6.google.com doesn't work quite well. somtimes it returns an correct ipv6 address, sometimes it returns an ipv4 address. How can this happen? [im using OpenDNS] much ...
deo's user avatar
  • 143
3 votes
2 answers
22k views

nslookup not resolving hostname

I can't seem to get nslookup to resolve correctly. Here is my hosts file: [root@clc-host ge2011.11]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 ...
EHQ's user avatar
  • 39
3 votes
5 answers
911 views

Detecting what causes the delay between entering a domain name and load of the page

My website takes awfully long time after entering the domain name and before the content starts showing up. I assume this is something to do with the dns resolution or the networks. How do I go about ...
Quintin Par's user avatar
  • 4,423
3 votes
1 answer
5k views

Route53 subdomain not resolved with nslookup

My problem I am trying to build a personal CDN to share static file with my contacts. The design includes an S3 bucket, a CloudFront distribution and a subdomain registered via Route53, all ...
Adam Matan's user avatar
  • 13.4k
3 votes
3 answers
5k views

Strange redirect to localhost! http://dp.000.in/?

I just accidentally typed imadb.com and after 2 redirects (I think) I ended up at: http://dp.000.in/ You can imagine my surprise when I noticed I was seeing my webpages on my local host! Can someone ...
zaf's user avatar
  • 157
3 votes
1 answer
3k views

Google Public DNS is returning a SERVFAIL for my domain

Hope some one will help me in resolving the issue. My Domain name is "prohosterz.com" Google Public DNS is returning a SERVFAIL for my domain: $ dig prohosterz.com @8.8.8.8 ; > DiG 9.9.2 > ...
user116539's user avatar
3 votes
1 answer
2k views

Trying to understand DNS resolution inconsistency

I'm using a DNS issue I've run into to help me understand DNS resolution better. I can't seem to figure out the inconsistency I'm seeing when resolving www.fandompost.com. At the top of my query list ...
Digital ink's user avatar
3 votes
1 answer
22k views

DNS lookups with/without recursion in NSLOOKUP

I am playing around with NSLOOKUP trying to learn about recursive DNS lookups. I am looking up a bogus host name and I seem to be getting the same results whether I enable or disable recursion. With ...
Citrus's user avatar
  • 31
3 votes
1 answer
3k views

Cannot find solution to "One or more of your nameservers did not return any of your NS records." on intoDNS site

I have set up DNS on my Linux Centos server and when I test on this site I get the following errors: WARNING: One or more of your nameservers did not return any of your NS records. ERROR: ...
setenson mile's user avatar
3 votes
1 answer
8k views

dig succeeds, nslookup fails (with dnsmasq as the server)

I installed dnsmasq on a machine of mine (It's a Kubuntu 12.04 LTS), backed only by /etc/hosts (no connection to the Internet until later). Now, if I dig mymachine, I get 192.168.0.1, but if I try to ...
einpoklum's user avatar
  • 1,682
3 votes
0 answers
440 views

Different nslookup answers on different clients in local network with local DNS

Situation: I have a few clients in a local network. I have a server named amp003 with IP address 192.168.4.13 I have two DNS servers (each one on relative DC server). On client 1 I did following: ...
Areso's user avatar
  • 41
2 votes
3 answers
4k views

Why does "nslookup -type=mx YAHOO.COMYAHOO.COMOO.COM" return a valid mail exchanger?

For the first one it returns: Non-authoritative answer: YAHOO.COMYAHOO.COMOO.COM MX preference = 5, mail exchanger = mail.h-email.net Also if you just duplicate the tld like C:\Users\dmorri>...
Darrell Morris's user avatar
2 votes
3 answers
17k views

nslookup fails but ping succeeds for nonexistent domains

I have two different FreeBSD servers (different hosting companies), both exhibit this same behavior: They pick a specific IP address (216.239.120.238) for every domain that does NOT exist. nslookup ...
JimB's user avatar
  • 197
2 votes
3 answers
323 views

How to get pairs of name server - ip for some domain? [closed]

I want to get pairs of name server - ip for some domain. For example, there is serverfault.com domain. I want to get: NS1.SERVERFAULT.COM - 198.252.206.80 NS2.SERVERFAULT.COM - 198.252.206.81 Is it ...
Denis's user avatar
  • 145

1
2 3 4 5