- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Search out the others
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
06-02-2006 02:36 AM
06-02-2006 02:36 AM
Search out the others
hosts: files dns
now he is thus:
hosts: files
What it can be causing this?
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 02:41 AM
06-02-2006 02:41 AM
Re: Search out the others
did you remove the dns server entry?
If no dns server is defined, the system would not know where to look.
Add your dns server and all should be ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 02:53 AM
06-02-2006 02:53 AM
Re: Search out the others
Dns decides the name of the servers but I would like that it I resolv /etc/hosts first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 02:55 AM
06-02-2006 02:55 AM
Re: Search out the others
It forgives I did not express right would like to know because it does not decide the names for the etc/hosts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 02:56 AM
06-02-2006 02:56 AM
Re: Search out the others
the nsswitch.conf file should look something like this:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continus TRYAGAIN=return]
Search /etc/hosts, if entry no found goto the dns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 02:56 AM
06-02-2006 02:56 AM
Re: Search out the others
If you want to consult the '/etc/hosts' first and then DNS, do:
hosts: files [NOTFOUND=continue] dns
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 02:58 AM
06-02-2006 02:58 AM
Re: Search out the others
hosts: files dns
will search dns only if the hostname can't be resolved in /etc/hosts.
hosts: files
Will only search /etc/hosts. It will not try and resolve a hostname against dns.
If you plan to use dns, you will also need to setup the /etc/resolv.conf file.