Questions tagged [nslookup]

nslookup is a utility to query DNS name servers

nslookup is a utility to query DNS name servers. It has two modes: interactive and non-interactive. Interactive mode allows the user to query name servers for information about various hosts and domains or to print a list of hosts in a domain. Non-interactive mode is used to print just the name and requested information for a host or domain. It is available on several systems like Unix-like systems and Windows systems.

221 questions
188
votes
5 answers

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, want recursion, recursion avail. questions…
mahen3d
  • 4,342
  • 14
  • 36
  • 57
53
votes
7 answers

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 servername) How could I get the same on the Windows command…
mjn
  • 933
  • 2
  • 12
  • 26
41
votes
7 answers

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 someserver.somenet.internal has address…
musashiXXX
  • 510
  • 1
  • 4
  • 7
36
votes
5 answers

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 command, or is there a better tool use on Windows…
Josh
  • 651
  • 2
  • 6
  • 15
27
votes
5 answers

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 domains hooked-to my server. How can I find all…
warren
  • 18,369
  • 23
  • 84
  • 135
25
votes
3 answers

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 like the following: nslookup --type=SRV…
DrStalker
  • 6,946
  • 24
  • 79
  • 107
25
votes
2 answers

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? When I query most websites, I get…
scraft3613
  • 490
  • 1
  • 5
  • 12
24
votes
2 answers

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 all 3 name server adressess. 1. Which one of that…
Vitaly Kuznetsov
  • 343
  • 2
  • 3
  • 6
19
votes
3 answers

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: nslookup google.de and get Server: …
Staki42
  • 293
  • 1
  • 2
  • 5
19
votes
2 answers

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 Cisco Nexus 55XXT Switch We did not make any network…
Anthony Fornito
  • 9,546
  • 1
  • 34
  • 124
16
votes
5 answers

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 I go to the URL in my browser, the site has…
Dan Herbert
  • 263
  • 1
  • 3
  • 6
16
votes
3 answers

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 . . . . . . . . . . . . : vchjXPsp3MUI Primary…
Jimm Chen
  • 1,749
  • 5
  • 18
  • 32
12
votes
1 answer

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 210.210.210.10 my.domain.com …
12
votes
4 answers

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 our helpdesk team. Ideally, I'd like them to be…
TryTryAgain
  • 1,152
  • 5
  • 22
  • 41
12
votes
1 answer

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 at the top of my /etc/resolv.conf, so that makes…
Ben Lee
  • 666
  • 2
  • 9
  • 24
1
2 3
14 15