- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- any way to list default behavior of /etc/resolv.co...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
04-17-2002 07:46 AM
04-17-2002 07:46 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 07:55 AM
04-17-2002 07:55 AM
Re: any way to list default behavior of /etc/resolv.conf
You can open the file /etc/nsswitch.conf file to look at the search order for various files like /etc/services, hosts, group , password, protocols....etc...etc...
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 07:56 AM
04-17-2002 07:56 AM
Re: any way to list default behavior of /etc/resolv.conf
Search type is in nsswitch.conf and default is files only.
resolv.conf sets domain name serach order & "addition" of domain names for shortname searches, & DNS server search order.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 08:04 AM
04-17-2002 08:04 AM
Re: any way to list default behavior of /etc/resolv.conf
You should be looking at /etc/nsswitch.conf. Man nsswitch.conf and check out the compiled-in default entries listed under "Useful Configurations". NIS is first for a number of the databases, including hostname resolution.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 08:05 AM
04-17-2002 08:05 AM
Re: any way to list default behavior of /etc/resolv.conf
The search order is defined in /etc/nsswitch.conf file , but it looks for /etc/rsolv.conf to find the nameserver where the DNS entries reside , so in case you donot have resolve .conf but the nsswitch point to that then there will eb problem to address even the local hostname . I do a simple test to find how the name is being resolved nslookup < local hostaname > and nslookup < other server name > and find out how the name is being resolved, incase there is some issue then may be rename resolv.conf and retry it and correct resolv.conf if need be.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 09:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 10:07 AM
04-17-2002 10:07 AM
Re: any way to list default behavior of /etc/resolv.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 12:31 PM
04-17-2002 12:31 PM
Re: any way to list default behavior of /etc/resolv.conf
Hi,
The use of nslookup gives you the correct
info even if you do not have a /etc/nsswitch.conf file
Enter this command:
nslookup -swdebug
It will give you some messages saying
that it can not find /etc/nsswitch.conf
but when you enter the command
policy
it will show you where it checks for
name-resolution
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 11:42 PM
04-17-2002 11:42 PM
Re: any way to list default behavior of /etc/resolv.conf
#nslookup
>policy
>exit