- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Regarding DNS Configuration
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
тАО01-16-2010 12:16 AM
тАО01-16-2010 12:16 AM
I want configure the Primary and Slave DNS in hp-ux 11.23 version and the server model is rx3600. Can you have provide the required steps to complete this jobs.
Thanks
Surajit
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 12:30 AM
тАО01-16-2010 12:30 AM
Solutionhttp://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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 12:38 AM
тАО01-16-2010 12:38 AM
Re: Regarding DNS Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 04:04 AM
тАО01-16-2010 04:04 AM
Re: Regarding DNS Configuration
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 06:08 AM
тАО01-16-2010 06:08 AM
Re: Regarding DNS Configuration
I have another query.
1.Shall I need to install some bind patches first?
2.Whether the server need some internet connection or not? i.e.if we try to open firefox from the server will it be connected to the internet?
Again thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 06:40 AM
тАО01-16-2010 06:40 AM
Re: Regarding DNS Configuration
and also
internet is connection must required for connecting the outer world and also you need to register one domain name first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 06:52 AM
тАО01-16-2010 06:52 AM
Re: Regarding DNS Configuration
There is no bind package installed in our server.Where can I get this package? Is it free available in the internet?
After installing the bind package shall I follow your steps? Or I have to do some configuration changes after installing the bind package? Is there any particular version of bind package that shall we install?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 06:57 AM
тАО01-16-2010 06:57 AM
Re: Regarding DNS Configuration
Best of luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 07:16 AM
тАО01-16-2010 07:16 AM
Re: Regarding DNS Configuration
I will do this configuration in next week. and I shall let you know after the configuration will be over.
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 10:31 PM
тАО01-20-2010 10:31 PM
Re: Regarding DNS Configuration
I have added /etc/hosts file
128.1.1.1 syam.india.mum.com syam ( This is master server)
128.1.1.2 syam1.india.mum.com syam1 (This is for slave server)
and I have added in param file
-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
In param file I have given only the entry for the master server.i.e -d syam.india.mum.com
Now when I am running hosts_to_named -f param
It is giving the following error.
" 128.1.1.2 syam1.india.mum.com syam1
( First name not in syam.india.mum.com )
Please help me.