Check IP or hostname resolution
Document details
Classification
- DocType
- Reference
- Category
- Procedure
- Topic
- Migration, Network
- Scope
- Unix Administration
Systems
- OS
- Solaris
Lifecycle
- Priority
- Normal
- Date
- 2021-01-22
Other
- Filename
- /etc/hosts, /etc/nsswitch.conf
- Tag
- network, DNS, hosts, nsswitch, resolve
Quality
25
- Date key
- DocType key
- Category key
- Tag key
- Topic key
- Scope key
- Known values for Status, Priority, DocType, Category and WorkType
- Two or more sections
- Steps section
- Write more: about 162 words+22
- Add a table or a list of five or more items+8
- Review it: it is 5 years old+8
- Set a final status+5
- Open with a Description or Introduction section+4
- Link it from another document+4
- Add a Summary key+3
- Link to a related document+3
- Cite a source+3
- Add a References section+3
- Add the Introduction section+2
- Add the Prerequisites section+2
- Add the Verification section+2
- Add an image or a diagram+2
- Add the Author key+1
- Add the WorkType key+1
- Add the Status key+1
- Add the Product key+1
Quality measures structure, metadata, links and age. It does not check that the content is correct. How the score works
History
- Date
- 2021-01-22 00:00:00
- Source file
-
DNSIPHOSTNAME-RESOLUTION.md: View source , Edit , Edit in the editor - Built
- Saturday, November 28, 2026 at 09:27
Table of Contents
Contents
Information
How to check properly IP/hostname resolution
Procedure
-
nslookupwill perform a DNS request -
getent hosts <hostname>will perform a resolution by looking first in/etc/hosts, and if not found, then in DNS (/etc/nsswitch.conf)