Questions tagged [nslookup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
90 views

Proper way to find the IP address of a website in linux

I am trying to find the IP address of this website ashesworkshop.org using kali linux. I have tried the following commands. dig ashesworkshop.org which returns me an error ; <<>> DiG 9.16....
0
votes
1answer
139 views

What is the difference between ping and nslookup in name resolution?

I am trying to understand the differences in the behavior of nslookup and ping when resolving hostnames to IP addresses. My confusion is summarized by this snippet from my terminal: lllamnyp@lllamnyp:~...
0
votes
1answer
129 views

Dig connection timed out while Ping and nslookup work fine

Whenever I run the command dig, the connection times out and no servers are reached.Specifying the DNS server to query makes no difference. Nslookup and Ping on the other hand seem to be working just ...
0
votes
0answers
16 views

What and how causes a system to ignore DNS settings?

I have nameservers setup in the network config file and resolv file but the system is still using root dns to look up using root servers. Could having search in the resolv file send the look up to the ...
-1
votes
1answer
113 views

linux + test dns resolving of hosts/ip's but without to wait a long time

we want to test , fast as possible the hosts/ip's resolving for example when we do the following host -a linux1 Trying "linux1.df.com" ;; connection timed out; no servers could be reached ...
0
votes
1answer
235 views

/etc/resolv.conf on CentOS7 doesn't seem to honor options

# uname -a Linux myserver 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) # cat /etc/...
0
votes
1answer
986 views

Reverse Lookups to Local DNS Server Failing on Ubuntu 18.04

On Ubuntu 16.04 REVERSE lookups to a local DNS/DHCP bind9 server on the local network are SUCCESSFUL, while on the other hand, on Ubuntu 18.04 (and higher) the REVERSE lookups FAIL. All systems are ...
2
votes
0answers
30 views

Inconsistent nslookup behaviour

When I run nslookup google.com 192.168.190.81 it works. tcpdump -n -vv output during above command is: 18:12:24.815483 IP (tos 0x0, ttl 64, id 8975, offset 0, flags [none], proto UDP (17), length 56) ...
0
votes
2answers
1k 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
1answer
61 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
2k 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 ...
3
votes
1answer
1k 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
3k 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 ...
2
votes
0answers
4k 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
126 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
10k 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
950 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
3answers
2k 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
584 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....
3
votes
2answers
5k 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
667 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
7k 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
733 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 ...
5
votes
2answers
4k 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
9k 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
268 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
571 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
413 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
877 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
247 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
567 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
119 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 ->...
10
votes
3answers
13k 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
375 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....
4
votes
1answer
3k 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
840 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
758 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'...
6
votes
2answers
12k 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
862 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
434 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
98 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
106 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
1k 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 ...
51
votes
2answers
62k 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: ;; -&...