Questions tagged [nslookup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
178 views

I can not install nslookup in my CentOS server

I can not install nslookup in my CentOS 7.2: yum install nslookup [root@localhost network-scripts]# yum install -y nslookup added plugin:fastestmirror Loading mirror speeds from cached hostfile * ...
0
votes
0answers
14 views

nslookup ip query

I am member of the domain at work, and we have our local DNS resolver. Sometimes I'd like to know the hostname of a specific IP, so I run the IP through nslookup which uses our domain-controller/DNS ...
0
votes
1answer
39 views

Performing forward lookup and reserve lookup

How exactly do I perform forward and reserve lookups between a data server and a client? Specifically this is between a vcenter and a virtual server As far as I'm aware, I perform: root@vcenter~/...
0
votes
2answers
485 views

Look Up IPs From Text File, Generate Another Text File With Specific Formatting

I'd like a way of looking up all the domains in a text file (one domain per line) and generating another text file with the output as the IP address, a space, the domain name, a space and then the ...
2
votes
1answer
384 views

DNS issues on a single Wifi - Linux Mint 19.1

I'm having DNS problems with one WiFi network which I've been using for a long time. I tried to do an hotspot with my phone and everything worked as normal, so the issue is only on that network. ping ...
16
votes
3answers
2k views

How can it be that ssh somename works, while nslookup somename does not?

How to know the IP address of some host somename I can ssh to? If I do nslookup on this host it says "no answer". How can ssh resolve it's name then? Neither /etc/hosts nor .ssh/config explanation ...
0
votes
0answers
909 views

nslookup: return only IP address

My research indicated nslookup was never really intended for scripted use: use dig instead, which with the +short option produces machine-readable output according to the query parameters. dig +...
0
votes
1answer
44 views

Nslookup cannot find name servers without www

Our site is responding to nslookup if it is fully written. nslookup www.example.com - it responds and shows name servers. But if we write without www, like nslookup example.com - it cannot find ...
0
votes
1answer
8k views

Ping 'Name or service not known' how can I clear cache

For several days now, after several reboots I still am faced with the issue of my CentOS 7 machine not being able to ping my domain. [root@ip126 ~]# ping sub.mydomain.eu ping: sub.mydomain.eu: Name ...
2
votes
1answer
397 views

nslookup awk to a file showing “answer”

I am currently running a script that uses nslookup on a bunch of hosts and then uses awk to print desired lines into a table. I am printing one line to file1 and another to file2, then using paste ...
0
votes
2answers
816 views

Using Awk to print desired lines of nslookup

I'm looking to print the name and IP that results from an nslookup so I can output them to a file. When I run an nslookup on a host, I get a result like this: Server: 10.10.10.10 Address: 10.10.10....
0
votes
0answers
397 views

connection refused ssh and dns

I cannot to ssh or nslookup to this machine vm1 that has the ip 192.168.56.2 from ferrari which has the ip 172.45.20.3. I do not know why, but I am able to ssh to the 192.168.56.2 from my host machine....
2
votes
2answers
3k views

Why does nslookup fail for DNS records set to a private address?

Setup On some networks I'm able to use nslookup to resolve a domain name that is pointed to a private ip address: @work> nslookup my192.ddns.net Server: 10.1.2.3 Address: 10.1.2.3#53 Non-...
0
votes
0answers
547 views

how to do domain ip lookup in debian

I can use a web-service to lookup the IP Address allotted to a website and then do a reverse lookup to get more info. about range of the IP Address to whom it was allocated to. But from what brief ...
1
vote
1answer
4k views

How does hostname resolution / lookup happen in Linux? [closed]

I am new to Linux and need to know how the nslookup command resolves hostnames. What are the configuration files that are used by the nslookup command? I need to know the exhaustive list of files ...
1
vote
1answer
301 views

Why does ping resolve to a different address than traceroute? and lynx?

We have a managed server with centos, recently it starts showing strange behavior: root@server [/tmp]# ping www.google.com PING www.google.com (172.217.8.196) 56(84) bytes of data. 64 bytes from ...
1
vote
1answer
1k views

Resolve local host without any DNS server?

Is there any way to resolve local host without any DNS server? Below is my config # ifconfig eth4 Link encap:Ethernet HWaddr 00:50:56:9C:4D:2F inet6 addr: 2004:c0a8:5b01:1:250:56ff:...
4
votes
2answers
3k views

Universal way to check if “docker.for.mac.localhost” DNS name is resolvable?

Preface I want to write a universal shell-script which will add a proper IP address of docker host machine to /etc/hosts inside of container. You will probably advice me to put the service I want to ...
2
votes
2answers
3k views

dig / nslookup cannot resolve, but ping can

I'm experimenting with a Win10 IoT board that runs a web interface on minwinpc.local. This works fine in the browser, and also when I use ping. However, when I use dig or nslookup, I cannot get ...
1
vote
1answer
7k views

CentOS7 unable to resolve nslookup for short hostname

I tried setting up a DNS Lookup on CentOS 7 (in a Virtual Box VM), which works for FQDN on the same virtual machine as the DNS. However when I try to resolve the short hostname, it fails. I have seen ...
1
vote
2answers
165 views

Fedora VMs: nslookup works, ping does not when disconnected from Internet [closed]

I need your help in understanding why I'm facing this strange problem. So I'll get to the set up: Windows 10 laptop as a host let's call this host win10. Vmware installed on win10 two Linux VMs on ...
0
votes
1answer
504 views

DNS caching problem

I have a DNS server, where I put A record with TTL set to 0: example.host.com <some.ip.addr.one> Then I do dig example.host.com And get specified ip address. Later I change update record ...
0
votes
1answer
330 views

How to unescape semicolon output in double quoted dig/nslookup output?

When querying for a TXT DNS record that contains a semicolon (;) using both dig and nslookup version 9.8.3-P1, its output of the text record is in double quoted output format: Non-authoritative ...
1
vote
0answers
741 views

Can't ping 8.8.8.8 from router, but can ping it from LAN?

I have pfSense router with 2 WANs. I noticed, that if one WAN is down, then I can't ping 8.8.8.8 from router. Simultaneously, I am able to ping this address from within LAN, i.e. it can pass through ...
0
votes
2answers
205 views

How to force machines connected to an AP to use the local AP DNS?

I am sharing documents by running a hotspot in conjonction to dnsmasq that redirect all name queries to an IP <IP> where the documents can be found create_ap wlan0 wlan0 HereAreTheDocuments ...
1
vote
1answer
511 views

Nslookup doesn't show full info on CentOS 7 docker image

I'm using https://hub.docker.com/_/centos/ CentOS 7 docker image. I created service with 3 replicas inside cluster and i'd like to query internal docker dns. For BusyBox image nslookup works exactly ...
0
votes
1answer
109 views

Understand the nslookup output.

nslookup returns the following output on mac: www.yahoo.com -> 46.228.47.115, 46.228.47.114, 2a00:1288:110:2::4001 As I understand following IPs in DNS map to www.yahoo.com: www.yahoo.com ->...
8
votes
3answers
9k views

Resolving hostname takes 5 seconds

I've a master bind9 DNS server and 2 slave servers running on IPv4 (Debian Jessie), using /etc/bind/named.conf: listen-on-v6 { none; }; When I try to connect from different server(s) each connection ...
0
votes
1answer
339 views

Determining Domain Base Name from Nslookup Results [closed]

I am trying to search all IP addresses that connected to my server and want to find abusive servers from nslookup results. nslookup 31.204.150.10 | grep "in-addr" Some example results: 209.190.54....
3
votes
1answer
2k views

dig does not resolve unqualified domain names, but nslookup does

I have a lab set up with DNS running on a CentOS7 server (dns01.local.lab). The local.lab domain is defined in named.conf: zone "local.lab" IN { type master; file "local.lab.zone"; allow-...
1
vote
1answer
2k views

“crypto failure” error when running various commands

I'm finding that a few commands (for now dig and nslookup) that fail no matter what with the following output: 19-Jan-2016 15:01:50.219 ENGINE_by_id failed (crypto failure) 19-Jan-2016 15:01:50.219 ...
0
votes
1answer
648 views

How to use ls in nslookup on HP-UX? [closed]

I don't understand how to use the ls option in nslookup on HP-UX. It failed both interactively: > ls Using /etc/hosts on: hpux looking up FILES Trying DNS Name: ls. > set ls *** Invalid ...
1
vote
1answer
593 views

'nslookup' is not working on multiple network interfaces cards in linux

I am having two NICs eth0 and eth1 for my Linux VM out of which one is in public and other in private network. When I am using nslookup for same by hostname its giving following error: ** server can'...
4
votes
2answers
8k views

Retrieve IPv6 address of website using terminal

Both the nslookup and host commands return IPv4 addresses only. How can i retrieve the IPv6 address of a website using the terminal? (I have googled around, unfortunately I couldn't find anything ...
3
votes
3answers
474 views

How to see the actual nameservers of a domain instead of the “nsrecords”

A domain has nameservers and ns records. These should not, but can theoretically be different. There are multiple ways to see the ns records of a domain: dig: ➜ ~ dig +short NS stackoverflow.com ...
0
votes
1answer
236 views

dig domain replay SOA

I have a domain and when I use dig jeeja.biz it just gives me my server ip address. ;; ANSWER SECTION: jeeja.biz. 13914 IN A 209.15.212.171 But when I use the same command on another ...
0
votes
3answers
95 views

Can't identify IP addresses

I got several interesting :) e-mails from IP addresses where I can't identify country and owner (internet provider), it's by example 10.180.221.97 10.220.113.130 10.52.135.39 I tried several IP ...
-1
votes
2answers
99 views

OpenDNS automatic diagnostics

I've contacted OpenDNS support because advertising is not filtered on this site http://www.backpackerboard.co.nz/ They asked me to read these manual instructions OpenDNS Diagnostic Tool: What to ...
1
vote
1answer
760 views

any option to ignore a dns server ip from /etc/resolv.conf when doing nslookup?

We have a list of dns server IPs in /etc/resolv.conf. When doing nslookup for a particular scenario we would like to ingore the second entry below, so that naming resolution occurs via other 3 DNS ...
0
votes
3answers
3k views

DNS Issue in ubuntu 14.04

I am facing DNS resolving issue sometimes in my Ubuntu 14.04.2 LTS trusty. I have configured my system with network manager to work with static IP assignment. I have also tried by changing DNS server ...
44
votes
2answers
50k views

dig vs nslookup

Why do the commands dig and nslookup sometimes print different results? ~$ dig facebook.com ; <<>> DiG 9.9.2-P1 <<>> facebook.com ;; global options: +cmd ;; Got answer: ;; -&...