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
1 answer

NSLookup Script to update hosts file once a week.

First time poster so my apologies if this has been covered in a previous topic that I was unable to locate. Basically I'm tasked with creating a script to perform a NSLookup on 50 domain names, format the results and pass them to the hosts file.…
Zivs
  • 1
  • 2
-1
votes
1 answer

DNS Error from ISP Server

I have a strange DNS error when attempting to access the domain rrrr.com. I have called to my ISP technical support, but they said they would call back and have not. The domain is not accessible, but all the records and servers are correct. nslookup…
user1122069
  • 1,767
  • 1
  • 24
  • 52
-1
votes
2 answers

Put outcome from from nslookup into columns

I have a list of hosts in a testfile. I am trying to organize the output into 3 columns. I want to do nslookup on hostname and ilo-hostname and put the result into columns as below. Hostname IP-hostname ilo-hosntame Host-1 FQN …
Fredrik
  • 299
  • 2
  • 5
  • 12
-1
votes
2 answers

nslookup an ip address. some issues!!! and python script required

i do nslookup for this ip.. nslookup 74.125.225.79 and the hostname is given as: Host Name : ord08s07-in-f15.1e100.net -- but when i browse to 74.125.225.79 or using the ord08s07-in-f15.1e100.net it takes me to google.com I understand that it is a…
ihightower
  • 3,093
  • 6
  • 34
  • 49
-2
votes
1 answer

I need to do a nslookup of the RDS instance address. What is the best way to do this via terraform?

I need to do a nslookup of the RDS instance address. What is the best way to do this via terraform?
rk123
  • 85
  • 2
  • 12
-2
votes
1 answer

Using awk to get nameserver info from nslookup

Hello I am trying to pull the ns records for a few domains we own. I want to script it so the data is formatted in domain name, ns record, ns record, ns record domain name, ns record, ns record, ns record domain name, ns record, ns record, ns…
-2
votes
1 answer

Python Flask App Deployed to IIS Webserver 500's when using Subprocess nslookup

I have a simple flask app that works locally but gets 500'd when testing in IIS. Edit: I was wrong, initially thought was pandas read issue but the issue is actually coming from subprocess that tries to get the user's IP address: from flask import…
David Yang
  • 2,101
  • 13
  • 28
  • 46
-2
votes
2 answers

nslookup with http and without http return different answers

nslookup is returning different answers for these queries: nslookup my.example.com nslookup http://my.example.com I'm kind of confused because with http I would expect it to return NXDOMAIN error. Without http it returns a plain IP. But, and this…
Perimosh
  • 2,304
  • 3
  • 20
  • 38
-2
votes
1 answer

Issue with different nslookup responses for CNAMEs referencing same A Record

I have a complex DNS environment, consisting of multiple DNS hosts (environment is not AD Integrated DNS) where I have 2 x CNAME records, in different DNS Zones, that both reference the same A record (in another zone, and hosted on a different DNS…
subi75
  • 1
  • 2
-2
votes
1 answer

How do I parse relevant IP addresses from netstat and redirect it to NSlookup in a batch script?

How do you parse the IP addresses in the foreign address column and redirect them to nslookup whilst ignoring everything else? Proto Local Address Foreign Address State PID TCP 127.0.0.1:5354 0.0.0.0:0 …
Blake K Akiti
  • 173
  • 1
  • 3
  • 9
-2
votes
1 answer

how to detect a DNS resolution on hostname

If someone does a nslookup on http://foo.bar, can I set up something on the foo.bar server machine to detect that someone tried to DNS lookup the hostname? Are there any requests coming to foo.bar that I can see and detect their origin?
-3
votes
1 answer

Move website to new server but DNS resolving to old server's ip address

before I begin kindly note that I am a newbie and still learning. Yesterday 10 hours from now, I had to move all my hosted websites to a new server(to be more specific - from one droplet to a new droplet). So, since the websites were moved to a new…
dhruvparekh12
  • 92
  • 1
  • 13
-3
votes
1 answer

nslookup show different addresses from AWS

I have a domain portal.example.com which points to a ELB in AWS,and I have 3 instances behind the ELB. and I did a nslookup portal.exaple.com Server: 75.75.75.75 Address: 75.75.75.75#53 Non-authoritative answer: Name: …
user2002692
  • 971
  • 2
  • 17
  • 34
-4
votes
3 answers

Run command prompt commands in c#

Is there any way to run command prompt commands from within a C# application? I need the name of a computer but the only way I can access it is by typing in to the cmd prompt. nslookup myIPAdress Like if my ip was 134.123.12.12 I would type;…
-4
votes
1 answer

Finding out the Domain Name of an IP Address using C#

In my application, I should get the domain names of the few IP Addresses I give as Input. I guess this process is called NSLOOKUP. However, I would like to confirm if I'm right. Simple program to implement this and display a MessageBox output is…
1 2 3
16
17