- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/hosts instead dns in HP-UX 09.00
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
11-29-2001 02:13 AM
11-29-2001 02:13 AM
/etc/hosts instead dns in HP-UX 09.00
All I could ever find in manuals was "delete resolc.conf". It don't work. Patching OS is not an option.
Uname info: HP-UX oldhpux1 A.09.00 D 9000/897
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 02:39 AM
11-29-2001 02:39 AM
Re: /etc/hosts instead dns in HP-UX 09.00
Are you running a name server on your local host (check for /etc/named.boot)?
Either of these will prevent resolution from ever reaching /etc/hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 03:03 AM
11-29-2001 03:03 AM
Re: /etc/hosts instead dns in HP-UX 09.00
The question here is, that the DNS this "server" uses is to be shut down. This machine still has few old clients, thouhg. I thought /etc/hosts shouldbe enough, cause there really isn't too many.
I'm pretty lost without SAM as you can see :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 03:29 AM
11-29-2001 03:29 AM
Re: /etc/hosts instead dns in HP-UX 09.00
the default name resol for hp-ux is DNS .
modify the nsswitch.conf that he will look like this :
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
this will tell him to go to resolv the host with the host file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 04:03 AM
11-29-2001 04:03 AM
Re: /etc/hosts instead dns in HP-UX 09.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 04:28 AM
11-29-2001 04:28 AM
Re: /etc/hosts instead dns in HP-UX 09.00
I like to give it a shot. I must mention that i am not an UX9 expert.
Try hosts_to_named (man)it enables you to create name server file formats witch can be used by named.
Hope this will help,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 04:29 AM
11-29-2001 04:29 AM
Re: /etc/hosts instead dns in HP-UX 09.00
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 04:29 AM
11-29-2001 04:29 AM
Re: /etc/hosts instead dns in HP-UX 09.00
Now it works anyway, thanks a lot ppl. I really appreciate your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 09:09 AM
11-29-2001 09:09 AM
Re: /etc/hosts instead dns in HP-UX 09.00
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 09:57 AM
11-29-2001 09:57 AM
Re: /etc/hosts instead dns in HP-UX 09.00
If you have removed /etc/resolv.conf and are not using DNS for hostname resolution have you tried reconfiguring /etc/nsswitch.conf file.
Take a look at the thread below,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/9-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/9-toc.html&searchterms=/etc/nsswitch.conf&queryid=20011129-100141
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/34-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/34-toc.html&searchterms=/etc/nsswitch.conf&queryid=20011129-100141
Hope this helps.
Regds