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

Kubernetes nslookup kubernetes.default fails

My Environment: OS - CentOS-8.2 Kubernetes Vesion: Client Version: v1.18.8 Server Version: v1.18.8 I have successfully configured Kubernetes cluster (One master & one worker), But currently while checking the dns resolution with below code it is…
user4948798
  • 1,924
  • 4
  • 43
  • 89
3
votes
2 answers

NSLookup using third party library in c#

I am using this c# librabry for nslookup to find nameservers of domains.Here is my c# code public async System.Threading.Tasks.Task> RunCmd(params string[] domains) { List NSL = new List(); var lookup = new…
Melvin
  • 877
  • 3
  • 11
  • 27
3
votes
1 answer

What does 'No such name' mean in DNS?

So i'm currently using Wireshark to investigate DNS traffic. In the command prompt, i am running the query nslookup to lookup a domain. In wireshark i am getting the following response: Flags: 0x8183 Standard query response, No such name 1...…
Reckope
  • 101
  • 1
  • 1
  • 8
3
votes
1 answer

Android name resolution in internal server doesn't work (device and emulator)

i try to connect (HttpClient) to an internal server in my app via wi-fi. But every time i got an UnknownHostException if I use the domain name of the server (http://domainname/..). If i use the Ip instead, it works well. This happens not only on…
Martin Christmann
  • 2,488
  • 2
  • 21
  • 17
3
votes
2 answers

ping, ssh, ... uses different IP than one resolved by nslookup, host,

After new install of Ubuntu15.10 my commands(ping, ssh, ...) are using different IP address than one resolved by nslookup, host, dig, ... How could this happen? user@ubuntu-15-10:~$ nslookup foobar.com Server: 127.0.1.1 Address: …
mirec
  • 627
  • 1
  • 8
  • 23
3
votes
1 answer

Scala or java lib to resolve host name with specific nameserver

Given a hostname like "example.com" I want to get its IP-addreses using specific nameserver. java.net.InetAddress has private static InetAddress getByName(String host, InetAddress reqAddr) which looks like what I need, but the blooper is that…
ov7a
  • 1,497
  • 4
  • 15
  • 34
3
votes
1 answer

NSLOOKUP in R (rstats)

I am new to scripting and R. In the Windows cmd.exe I can perform an NSLOOKUP on a domain by: nslookup www.google.com I have a dataset of domain names that I would like to verify as valid or invalid as part of my grouping process in R. Is there…
3
votes
2 answers

Different results between nslookup and Java's InetAddress getHostName

I'm trying to write a simple java program that will return the dns names of ip addresses which I do using the following code: InetAddress host = InetAddress.getByName(ip); String dnsName = host.getHostName(); When a dns name is registered…
Vasilis
  • 2,721
  • 7
  • 33
  • 54
3
votes
1 answer

DNS lookup with custom DNS server in Objective-C

From a Mac OS X app, I want to resolve some domain names using a specific DNS server (that has not been set in System Preferences), and easily retrieve the resolved addresses. I can do this in Terminal with nslookup google.com DNS_SERVER but can't…
hally
  • 35
  • 1
  • 5
2
votes
5 answers

how to write nslookup programmatically?

instead of using exec in our script to do an nslookup, is there an easy way to write it programmatically in PHP, Python, or Ruby?
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
2
votes
0 answers

nslookup: *** Can't find server name

I am using nslookup command line tool from Windows XP but i can't see the IP of the DNS Server i am conducting. I am getting the message: *** Can't find server name for address 192.168.1.1: Non-existent domain *** Default servers are not…
nikos
  • 2,893
  • 11
  • 30
  • 39
2
votes
1 answer

Why I can't see the CNAME record of a specific domain?

why when I want to see which CNAMES has a specific domain I can't see them using dig/nslookup? nslookup -type=any google.com Are CNAMES protected against public petitions? Output from command: ;; Truncated, retrying in TCP mode. Server: …
Gonzalo
  • 353
  • 2
  • 16
2
votes
1 answer

DNS issue on macOS

I'm encountering a weird DNS issue on macOS Catalina 10.15.4: traceroute google.com and ping google.com both returned unknown host. However, nslookup google.com and dig google.com returned correct results with correct DNS servers (I'm using 8.8.8.8…
Qi Xi
  • 63
  • 2
  • 9
2
votes
1 answer

Powershell Resolve-DnsName to variable

I'm trying to put data of Resolve-DnsName mmydomain.com to a variable. $data = Resolve-DnsName mmydomain.com Write-host $data As a result of this scrip, I can see only this string Microsoft.DnsClient.Commands.DnsRecord_A, while simple execution of…
Best Coder
  • 35
  • 1
  • 4
2
votes
2 answers

K8s service not pingable

I have a k8s service/deployment in a minikube cluster (name amq in default namespace: D20181472:argo-k8s gms$ kubectl get svc --all-namespaces NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE argo …
horcle_buzz
  • 2,101
  • 3
  • 30
  • 59
1 2
3
16 17