- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: configure DNS server
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
10-23-2001 01:09 AM
10-23-2001 01:09 AM
Anybody can teach me how to configure the DNS server and client?
Thanks.
Jackie Xu
Solved! Go to Solution.
- Tags:
- DNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 01:11 AM
10-23-2001 01:11 AM
Re: configure DNS server
Yes, the DNS-HOWTO
http://www.linuxdoc.org/HOWTO/DNS-HOWTO.html
Might be different for HPUX :)
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 01:21 AM
10-23-2001 01:21 AM
Re: configure DNS server
Thank you for your reply.But I don't know what is the different with Linux and HPUX.Any documentation can I download it from HP Website?
Thanks.
Jackie Xu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 01:23 AM
10-23-2001 01:23 AM
Re: configure DNS server
Lot of documents available
have a look at this site
http://us-support.external.hp.com/iv/bin/doc.pl/sid=9e5523390bf2bd3d35/screen=ivHome/?NODEID=English_SHW::WW_SW_NT_NETWORK_EN_E/Q1.1.2&WARP=1
Regards
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 11:42 AM
10-23-2001 11:42 AM
Re: configure DNS server
A real good description of the process can be found in the "HP Certified HP-UX System Administration" book by Rafeeq Ur Rehman. It is the study guide for certification. There are easy to follow step-by-step instructions to configure the DNS server and client.
One other thing jackie; if someone takes their time to assist you please take a moment to assign them points.
Thanks...
Richard Darling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 11:48 AM
10-23-2001 11:48 AM
Re: configure DNS server
Take a look at the thread below.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90741/B2355-90741_top.html&con=/hpux/onlinedocs/B2355-90741/00/00/21-con.html&toc=/hpux/onlinedocs/B2355-90741/00/00/21-toc.html&searchterms=configuring%20BIND&queryid=20011023-125143
Hope this helps.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 11:51 AM
10-23-2001 11:51 AM
Re: configure DNS server
Here is another thread,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=71b087a50bfe44271d/screen=ckiDisplayDocument?docId=200000045204865
Hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 12:06 PM
10-23-2001 12:06 PM
Re: configure DNS server
Also, I'm not a big fan of HP's default version of DNS as it is a bit dated. I would grab the latest version of bind from isc.org, compile it and use that.
Here's some good sources for information:
http://www.acmebw.com/askmrdns/
http://www.dns.net/dnsrd/
http://www.isc.org/products/BIND/
http://www.isc.org/ml-archives/bind-users/
http://www.nominum.com/resources/faqs/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 05:57 PM
10-23-2001 05:57 PM
Re: configure DNS server
Thanks everybody.That book As some experts said,but I am in china,so difficult to purchasing.I have been downloaded the PDF from http://Docs.hp.com/.Hope the file can help me.
Thanks everybody.
Jackie Xu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 07:49 AM
10-24-2001 07:49 AM
Re: configure DNS server
Read the man page for the command "hosts_to_named", as this will do almost everthing you need, but only on HP-UX systems.
Basically you edit your "/etc/hosts" file to contain olny the ip-addresses and "short-names" (no periods in), then you create a directory to store the DNS database files, change directory to that one and exute the command "hosts_to_named" with some options.
An example (I assume you are on "hosta"):
/etcthosts
1.2.3.4 hosta
1.2.3.5 hostb
1.2.3.6 hostc
mkdir /var/DNS
cd /var/DNS
hosts_to_named -r -b /etc/named.boot -n 1.2:255.255.0.0 -d your.domain.com
named
echo "domain your.domain.com\nnameserver 1.2.3.4" > /etc/resolv.conf
So, now your name server is configured, started, and your station is configured to be an DNS-client of its DNS-server.
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 08:03 PM
10-24-2001 08:03 PM
SolutionAs a matter of fact, i did configure my HP-UX box to be the primary DNS.
Here is what i did , hope this helps you
1. The primary dns machine,
a) create a list of host names and IP that will be used as the primary dns and the secondary dns
b) create a directory /etc/named.data, in this dir create a file name 'param', in this file list these down,
-d
-n
-z
-b /etc/named.boot
-s
The file 'param' will be actually used to create the DNS data file.
c) Run the command
hosts_to_named -f param
This command creates the server configuration and data files
d)go to /etc/rc.config.d dir and modify the file namesvrs, set the NAMED variable to 1. this is to allow the named process to start at every boot
e) start the DNS with these command
/sbin/init.d/named start
after this the name server should be running
2. Configuring the secondary DNS server
a) at the secondary server, create a dir /etc/named.data
b) copy the boot.sec and boot.sec.save from the /etc/named.boot dir from the primary server to this secondary server.
c)copy the db.127.0.0 and db.cache file from the primary server to sec server's /etc/named.data dir
d) If you did copy the boot.sec.save from the primary server, this enables the data files to be created also in the secondary server, so you also need to copy all files from /etc/named.data from the primary server
e) Change the variable NAMED to 1 at the /etc/rc.config.d/namesvrs on the sec dns server
f) start the named process using /sbin/init.d/named start
3) configuring the client server
a) at the client machine, in the file /etc/nsswitch.conf, you can specify below:
hosts: dns files
this means that the the DNS will be used first instead of the /etc/hosts file for host name resolution
b) at the /etc/resolv.conf file specify below:
nameserver
nameserver
After all this, you can use the nslookup command to test the DNS from the client
I hope this helps.
Regards