- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to configured DHCP,DNS and sendmail
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
09-14-2007 08:01 AM
09-14-2007 08:01 AM
how to configured DHCP,DNS and sendmail
Can you please let me know the procedure step by step how to configure DHCP, DNS and sendmail in HP UX.
Thanks
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2007 08:28 AM
09-14-2007 08:28 AM
Re: how to configured DHCP,DNS and sendmail
1) Study;
2) Read the documentation;
3) Repeat Steps 1 & 2;
4) Implement.
How's that for a step-by-step procedure?
Since you are doing DHCP and DNS, it would probably be wise to study dynamic DNS as well. Oh drat, I used that 's' word again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2007 09:10 AM
09-14-2007 09:10 AM
Re: how to configured DHCP,DNS and sendmail
DNS (BIND) and DHCP - http://docs.hp.com/en/B2355-90775/index.html
Sendmail installation - http://h20293.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=SMAIL813
Configuration - http://docs.hp.com/en/5991-6611/index.html
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2007 07:27 PM
09-15-2007 07:27 PM
Re: how to configured DHCP,DNS and sendmail
DNS
=======
1) Configuring Primary DNS Sever
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
SENDMAIL
==================
- Add a record to /etc/hosts reflecting the exchange servers IP address and name.
10.10.1.36
- Update a record in /etc/mail/sendmail.cf to include the Exchange servers name, in the file search for the following line then add your Exchange server name after DS.
# "Smart" relay host (may be null)
DS
- Restart sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- If you already haven't, you may need to configure your DNS so when you send to outside addresses it can resolve the name. Thats just a matter of adding your DNS server to /etc/hosts and adding a record to /etc/resolv.conf.
For cheking : sendmail -d8.99 -d38.99 abc@yahoo.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2007 02:53 AM
09-16-2007 02:53 AM
Re: how to configured DHCP,DNS and sendmail
It is not normal to set up a sendmail server and DHCP at the same time. Mail servers need to have a fixed IP address so that senders and DNS servers can find them.
Quick fix: All of the above can be done by sam. Its not good systems administration to do this, but you can get through the checklist quickly, if you really want to work on a system and not pass an exam or job interview.
Default sendmail /etc/rc.config.d/mailservs
Change the default zero to 1 and sendmail is ready to get mail. How users are going to find the server if it uses DHCP is a mystery to me.
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
09-16-2007 06:19 PM
09-16-2007 06:19 PM
Re: how to configured DHCP,DNS and sendmail
here is ther reference
HP-UX Mailing Services Administratorâ s Guide
http://docs.hp.com/en/B2355-91064/index.html
DHCP/DNS
HP-UX IP Address and Client Management Administrator's Guide
http://docs.hp.com/en/B2355-90775/index.html
WK
please assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 05:36 AM
09-19-2007 05:36 AM
Re: how to configured DHCP,DNS and sendmail
Thank you very much for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 05:38 AM
09-19-2007 05:38 AM