HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- nslookup on Linux
Operating System - Linux
1826496
Members
3084
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2004 05:01 AM
10-27-2004 05:01 AM
Hi,
I'm seeing some differences in the way nslookup shows Resolved IP and Host info...
On RedHat 2.1, I use nslookup for look up on an IP and get: (Reverse Address DNS Address and Hostname resolved)
Example:) 52.205.102.10.in-addr.arpa
If I do this on an HP-UX 11.11 I only get the forward IP.
What I'm wondering is if this is correct behavior consistent with what each OS shows you or could there be something wrong with my Host Configurations in /etc/resolv.conf or /etc/nsswitch.conf on either one of these nodes specifically?
I'm seeing some differences in the way nslookup shows Resolved IP and Host info...
On RedHat 2.1, I use nslookup for look up on an IP and get: (Reverse Address DNS Address and Hostname resolved)
Example:) 52.205.102.10.in-addr.arpa
If I do this on an HP-UX 11.11 I only get the forward IP.
What I'm wondering is if this is correct behavior consistent with what each OS shows you or could there be something wrong with my Host Configurations in /etc/resolv.conf or /etc/nsswitch.conf on either one of these nodes specifically?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2004 05:54 AM
10-27-2004 05:54 AM
Solution
nslookup performance is determined by a number of files:
/etc/resolv.conf
/etc/nsswitch.conf
depending on the above /etc/hosts
You might want to check out the behavior of dig. It should be consistent with nslookup, but Linux has warned for years about de-supporting nslookup. If there are variances you may have nothing to change.
For reverse lookups you usually have to provide nslookup a parameter nslookup -x or nslookup -r
SEP
/etc/resolv.conf
/etc/nsswitch.conf
depending on the above /etc/hosts
You might want to check out the behavior of dig. It should be consistent with nslookup, but Linux has warned for years about de-supporting nslookup. If there are variances you may have nothing to change.
For reverse lookups you usually have to provide nslookup a parameter nslookup -x or nslookup -r
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 12:22 PM
11-01-2004 12:22 PM
Re: nslookup on Linux
hi Ken,
try to compare it with
dig and host commad
reverse lookup is done with same option -x
dig -x ip
host -x ip
br Jan
try to compare it with
dig and host commad
reverse lookup is done with same option -x
dig -x ip
host -x ip
br Jan
GSM, Intelligent Networks, UNIX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2004 01:38 AM
11-07-2004 01:38 AM
Re: nslookup on Linux
The output that nslookup produces on linux and hp-ux looks different. Both provide the same information but it is formated differently.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP