Questions tagged [nslookup]

GENERAL NSLOOKUP SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com. nslookup (name server "lookup") is a utility that queries the Domain Name System (DNS) to obtain domain name or IP address mapping.

nslookup is commonly used to refer to the network administration command-line tool found in most operating system, but can also be used to reference component libraries, which are available for a variety of programming languages.

References:

256 questions
-1
votes
2 answers

Program is printing memory values instead of actual values

Kind of got into a bit of a brain stump here. I was using the nslookup package and i wanted to get the ip address of a domain (in this case google). When I run the code below, i get an output of: "
-1
votes
1 answer

Unable to resolve IP adress to my domain name but the other way round works

I am able to resolve my domain name to IP address but not the other way. i.e., unable to resolve IP address to domain name. When I do a nslookup my IP address is getting resolved to the same IP address instead of domain name mydomain.in is my…
Avihs
  • 23
  • 5
-1
votes
1 answer

the dns server ping use is different from the dns server nslookup use

on my computer(windows 10), the dns server that ping.exe use is different from the dns server nslookup use. i set 192.168.123.1 to be my computer's dns server, which is my router. so nslookup uses it as the dns server: PS C:\Users\peter>…
peter zhang
  • 1,247
  • 1
  • 10
  • 19
-1
votes
1 answer

Python nslookup IP list

Morning I wonder if anyone can point me in the right direction Im new to Python and just starting to learn how it works ? As a test Im reading internal IP's from a text file running a loop with nslookup which runs fine. But im not sure how to export…
FiveTen
  • 1
  • 3
-1
votes
1 answer

Does DNS lookup to "localhost" return any other host IP address other than "127.0.0.1"?

WIFI's LAN interface(192.168.1.254) is connected to lan-client(192.168.1.68) whose host name is "localhost" and also WIFI's localhost uses the loopback IP address 127.0.0.1. While doing DNS lookup to "localhost", it returns both address…
Rose
  • 11
  • 6
-1
votes
2 answers

Why does my vps reply to dns queries even if it has no dns server running?

I've got a cheap openvz Ubuntu vps and i'm trying to run my own dns server on it for learning purpose. The dns server works fine in localhost (on the vps through ssh), i can query it using dig google.com @127.0.0.1 and i get the expected result…
Gio Iann
  • 1
  • 1
-1
votes
1 answer

nslookup not work correctly

Hi I'm learning about nslookup but when I try with this command (nslookup -type=NS cam.ac.uk) my terminal returns this... Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: cam.ac.uk nameserver =…
-1
votes
3 answers

Need help for simle bash script

Can someone help me with the syntax for a simple bash script that trying to write: echo ping -c 1 echo nslookup Basically I want to receive output of one line from the ping and the nslookup information for a domain that I'm checking. Unfortunately…
-1
votes
1 answer

No way to get a domain name from IP address based on A record?

dig redhat.com ;; QUESTION SECTION: ;redhat.com. IN A ;; ANSWER SECTION: redhat.com. 3600 IN A 209.132.183.105 We get the ip address 209.132.183.105----the A record of domain redhat.com. Now i want to get the domain name from…
showkey
  • 482
  • 42
  • 140
  • 295
-1
votes
1 answer

Output manipulation for nslookup

I've got a small nslookup .cmd, that gives me more output than needed. I already know the names of the machines I'm looking for, as well as the DNS name, the only Information I need is the machines address. @echo off set variable=1 :start nslookup…
Xerling
  • 3
  • 2
-1
votes
1 answer

Internal machine responds to different IP that its internet connection IP

I have a website running on AWS with the domain using Route 53 for the DNS. I used to have an A record (dev.talkingcouch.uk) pointing to my development machine and it worked fine. Today I find that my machine is responding to a different IP than is…
Doahh
  • 590
  • 1
  • 8
  • 20
-1
votes
1 answer

Understanding response message of nslookup debug query

I need to understand what following response message really means. I tried googling it but couldn't get specific answer. what does Questions,Answers,Authority Records and Additional Records really mean? REQUEST QUERY: nslookup -debug…
Brother
  • 39
  • 1
  • 2
  • 8
-1
votes
1 answer

DNS Resolution with 2 A records

So I'm a Windows / Network admin, have been for 2 years, but today I had a question that I didn't really know the answer to. Say I do a nslookup, and the query retrieves 2 A records. Which A records does say, a browser use? If we do an nslookup for…
Tom
  • 3
  • 3
-1
votes
1 answer

What is the equivalent of nslookup in vb.net?

I use nslookup on my cmd line and I am then returned my standard server ip address but I can't seem to get this address using vb.net. I did manage to read up on DSN and vb.net but it still made little sense to me could somebody help me get this ip…
LabRat
  • 1,996
  • 11
  • 56
  • 91
-1
votes
1 answer

Website redirects me at localhost (Dns error)

I'm trying to reach a website (it.rojadirecta.eu) but it redirects me at localhost. I've used the command prompt and typed "nslookup it.rojadirecta.eu" and infacts it shows my host. How can i fix that? Thanks for the help. [Windows 8.1]
FraKR
  • 3
  • 3
1 2 3
16
17