- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DNS setup for hp-ux machine
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
Discussions
Discussions
Forums
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
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
тАО02-03-2010 08:40 PM
тАО02-03-2010 08:40 PM
I need to do a DNS setup and pointing to MailGateWay (MGW).
MY Machine is HP-Ux 11.11
model rp3440
Kindly give me some procedure to follow for the setup.
Thanks you All.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 08:47 PM
тАО02-03-2010 08:47 PM
Re: DNS setup for hp-ux machine
Check below link, hope it will resolve ur problem,
http://docs.hp.com/en/32022-90051/ch08s01.html
http://docs.hp.com/en/5971-3504/ch03s06.html
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 08:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 09:16 PM
тАО02-03-2010 09:16 PM
Re: DNS setup for hp-ux machine
Check below thread, for Step by steps procedure given.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1400669
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 09:42 PM
тАО02-03-2010 09:42 PM
Re: DNS setup for hp-ux machine
Check the below links:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1298360
http://tldp.org/HOWTO/DNS-HOWTO.html
Rgds-Kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 11:43 PM
тАО02-03-2010 11:43 PM
Re: DNS setup for hp-ux machine
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062972401
I hope the following could be useful to you.
Configuring DNS
====================
I.Configure your Master DNS:-
============================
1 Delete all entries from /etc/hosts except local host entry and hosts in your domain.
Put FQDN for all hosts.See the example for a server called syam
#vi /etc/hosts
127.0.0.1 localhost
128.1.1.1 syam.india.mum.com syam
128.1.1.2 syam2.india.mum.com syam1
128.1.1.3 test.india.mum.com test
2 Create a directory for the DNS database file and cd to it
#mkdir /etc/named.data
#chmod 755 /etc/named.data
#cd /etc/named.data
3. Create a param file for your domain
#vi param
-d syam.india.mum.com # Use your domain name(s) here
-n 128.1.1 # Use your subnet address(es) here
-z 128.1.1.1 # Use your master server's IP here
-b /etc/named.conf
4. Run hosts_to_named
#hosts_to_named -f param
5. Download db.cache to the current dir.
6. Enable NAMED in the /etc/rc.config.d/namesvrs
#vi /etc/rc.config.d/namesvrs
NAMED=1
NAMED_AGRS=""
7. Start the named daemon
#/sbin/init.d/named start
II. Configuring Slave DNS:-
===============================
1. Create a directory for the DNS database file and cd to it
#mkdir /etc/named.data
#chmod 755 /etc/named.data
#cd /etc/named.data
2. FTP copies the db.* files from the master DNS.
#ftp 128.1.1.1 # Use your master DNS Server's IP Here
>mget /etc/named.data/db.*
>bye
3. FTP a copy of conf.sec.save from the master DNS server and move it into place on the slave server as /etc/named.conf
#ftp 128.1.1.1 # Use your Master DNS IP here.
>get /etc/named.data/conf.sec.save
>bye
#mv /etc/named.data/conf.sec.save /etc/named.conf
4. Enable NAMED in the /etc/rc.config.d/namesvrs
#vi /etc/rc.config.d/namesvrs
NAMED=1
NAMED_ARGS=""
5. Start the named daemon
#/sbin/init.d/named start
III. Configure the DNS clients;-
==================================
1. Modify the resolver file. Include the DNS IPs in the search list.Include both Master and mSlave server in the namesservers list.
#vi /etc/resolve.conf
search xyz.india.mum.com # replace this with your domain name
nameservers 128.1.1.1 # Replace 128.1.1.1 with your Master DNS IP
nameservers 128.1.1.2 # Replace 128.1.1.2 with your Slave DNS IP
2. If your /etc/nsswitch.conf exists, delete it. You can experiment with the default behaviour for now.
#mv /etc/nsswitch.conf /etc/nsswitch.conf.orig
3. Slave DNS and Clients need to modify /etc/hosts at this time.
#vi /etc/hosts
127.0.0.1 localhost
128.1.1.3 test.india.mum.com test
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 12:51 AM
тАО02-04-2010 12:51 AM
Re: DNS setup for hp-ux machine
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BIND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 04:52 PM
тАО02-04-2010 04:52 PM
Re: DNS setup for hp-ux machine
Yesterday i have configured the 2 hpux servers as DNS client.
I edited and updated the host entry in /etc/nsswitch.conf file as
hosts: files dns
and also edited /et/c/resolv.conf and create the entries for Primary and secondary DNS servers as
nameserver
When i pinged the mgw it is pinging for one server and for the other server i have received the message as
$ /usr/sbin/ping mgw
/usr/sbin/ping: unknown host mgw
Kindly recommend me how to troubleshoot this.
Thanks you all for giving your advises.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 05:06 PM
тАО02-04-2010 05:06 PM
Re: DNS setup for hp-ux machine
You can do this without DNS.
/etc/hosts networking is sufficient to resolve the names.
The nice thing is BIND works the same way, with the same configuration files as BIND on Linux.
Same source code.
http://docs.hp.com/en/5900-0161/5900-0161.pdf
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 09:16 PM
тАО02-04-2010 09:16 PM
Re: DNS setup for hp-ux machine
For one of the server is working nicely whereas other is not pinging as i followed the same steps.