- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS and Hosts
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
07-20-2004 06:52 AM
07-20-2004 06:52 AM
DNS and Hosts
How can I do for resolving with DNS ?
because a try with nslookup send this
Using /etc/hosts on: Ka.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 07:01 AM
07-20-2004 07:01 AM
Re: DNS and Hosts
look at /etc/nsswitch.conf and /etc/resolv.conf
purchase: http://www.oreilly.com/catalog/dns4/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 07:05 AM
07-20-2004 07:05 AM
Re: DNS and Hosts
2. Configure your /etc/nsswitch.conf file for the hosts entry to look up the dns server first,
eg:
hosts: dns nis [NOTFOUND=return] files
regds,
Abdul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 07:07 AM
07-20-2004 07:07 AM
Re: DNS and Hosts
hostname resolvation(s) are based on hosts: entry in the /etc/nsswitch.conf file.
IF you set hosts as,
hosts: dns files ldap nis
dns will be used in the begin to resolve the hostname. IF it is not succeeded files, then ldap and nis will be used.
To make ur hostname resolved using dns,
use the dns before files option.
dns will resolve hostname with /etc/resolv.conf and hosts will be using /etc/hosts file.
/etc/resolv.conf
domain domainname1.dom2.domn.com
nameserver
nameserver
It will resolve the hostnames using nameserver1 ... nameservern one by one,if it is not resolved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 07:08 AM
07-20-2004 07:08 AM
Re: DNS and Hosts
hosts: dns [NOTFOUND=continue] files
You also need to setup /etc/resolv.conf:
domain
nameserver
nameserver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 07:11 AM
07-20-2004 07:11 AM
Re: DNS and Hosts
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=636264
It will give more details and view on this.