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.

224 questions
206
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 = 1, answers = 0, authority…
mahen3d
  • 4,722
55
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
  • 953
46
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 192.168.0.252…
38
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 7?
Josh
  • 671
29
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
  • 19,467
28
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…
26
votes
4 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: 127.0.1.1…
26
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 this:…
26
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…
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…
18
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 Dns Suffix . . . . .…
17
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…
16
votes
3 answers

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 this for me but it seems it doesn't. All of these…
Nick.Mc
  • 203
16
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 nslookup my.domain.com…
12
votes
3 answers

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.com ns-1963.awsdns-53.co.uk ns-848.awsdns-42.net…
1
2 3
…
14 15