HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- configuring DNS
Operating System - HP-UX
1825804
Members
2176
Online
109687
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
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
07-18-2003 02:20 AM
07-18-2003 02:20 AM
configuring DNS
Hi
can someone tell me how to enable/configure DNS in hpux 11i as I need to network several workstations.
thanks
Liz.
can someone tell me how to enable/configure DNS in hpux 11i as I need to network several workstations.
thanks
Liz.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 02:30 AM
07-18-2003 02:30 AM
Re: configuring DNS
Hi,
first you must know your DNS IP, obviously.
Then:
- modify /etc/nsswitch.conf.
if not exists, copy from /etc/nsswitch.compat
that looks like this:
#
# /etc/nsswitch.compat:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: compat
group: compat
hosts: nis [NOTFOUND=return] files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
Change all occurences to look like this:
#
# /etc/nsswitch.compat:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: files
group: files
hosts: files dns
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
You may want to include some settings, if dns is not avaiable:
hosts: files dns [NOTFOUND=return UNAVAIABLE=return]
- then edit /etc/resolv.conf
more /etc/resolv.conf
domain YOURDOMAIM.YOURSTUFF
nameserver YOUR.IP.HERE.PLEASE
- check permissions of these files, they must be readable by all (chmod ugo+r ... )
and then go !
HTH,
Massimo
first you must know your DNS IP, obviously.
Then:
- modify /etc/nsswitch.conf.
if not exists, copy from /etc/nsswitch.compat
that looks like this:
#
# /etc/nsswitch.compat:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: compat
group: compat
hosts: nis [NOTFOUND=return] files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
Change all occurences to look like this:
#
# /etc/nsswitch.compat:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: files
group: files
hosts: files dns
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
You may want to include some settings, if dns is not avaiable:
hosts: files dns [NOTFOUND=return UNAVAIABLE=return]
- then edit /etc/resolv.conf
more /etc/resolv.conf
domain YOURDOMAIM.YOURSTUFF
nameserver YOUR.IP.HERE.PLEASE
- check permissions of these files, they must be readable by all (chmod ugo+r ... )
and then go !
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 02:34 AM
07-18-2003 02:34 AM
Re: configuring DNS
Hi
Client
If you already have a DNS server setup then update the 2 files as follows:
1. /etc/resolv.conf
nameserver
2. /etc/nsswitch.conf
hosts: dns files
Server
Use the hosts_to_named command.
The Admin guide below (Chp 3) has details on setting up a DNS server.
http://www.docs.hp.com/hpux/pdf/B2355-90147.pdf
Cheers
Con
Client
If you already have a DNS server setup then update the 2 files as follows:
1. /etc/resolv.conf
nameserver
2. /etc/nsswitch.conf
hosts: dns files
Server
Use the hosts_to_named command.
The Admin guide below (Chp 3) has details on setting up a DNS server.
http://www.docs.hp.com/hpux/pdf/B2355-90147.pdf
Cheers
Con
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