- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- External DNS and email 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
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
тАО06-11-2003 12:10 PM
тАО06-11-2003 12:10 PM
if we took the setup for being the external DNS off the current email server? The DNS and the email server
are on one server currenty (and through our firewall). We want to setup another
server be on the outside of our network as our external DNS. We want to bring
the email server on the inside of our network. I am assuming there would need
to be some special config or setup on either the email server or the DNS for
the new setup to work to get outside email either in our out.....
Solved! Go to Solution.
- Tags:
- DNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 12:15 PM
тАО06-11-2003 12:15 PM
Re: External DNS and email server
/etc/resolve.conf would need the following:
domain yourdomain
nameserver IP of new DNS server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 12:21 PM
тАО06-11-2003 12:21 PM
Re: External DNS and email server
Ok....would we need to keep the dns server name the same as what it currently is for this to work? How would external mail coming into us know how to be routed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 12:29 PM
тАО06-11-2003 12:29 PM
SolutionKeep in mind that upstream DNS servers need to be aware that the IP address of your DNS server is changing. Until they receive this info, DNS queries for your domain will fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 01:39 PM
тАО06-11-2003 01:39 PM
Re: External DNS and email server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 03:44 PM
тАО06-11-2003 03:44 PM
Re: External DNS and email server
To accept mail, the server merely needs to have a proper DNS record and the sendmail daemon running.
As far as sendmail goes you need to configure it to accept mail. I do it in the sendmail.mc record.
Here is the information....
DNS record for investmenttool.com
[root@jerusalem named]# more investmenttool.com.zone
$TTL 86400
@ IN SOA @ investmenttool.com (
4 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
@ IN NS dns1.investmenttool.com.
@ IN NS dns2.investmenttool.com.
@ IN MX 10 investmenttool.com. ; primary mail exchanger
@ A 66.92.143.194
www A 66.92.143.194
news A 66.92.143.194
shell A 66.92.143.194
smtp A 66.92.143.194
dns1 A 66.92.143.194
dns2 A 66.92.143.194
quote A 66.92.143.194
jerusalem CNAME investmenttool.com.
localhost CNAME investmenttool.com.
ftp CNAME investmenttool.com.
mail CNAME investmenttool.com.
Pay attention to the mx record that is the key thing you need on the external DNS server. The external dns server needs to be on the Internet though it can be behind a firewall so long as the firewall passses all data on port53 to the DNS server.
Now the sendmail.mc record.
You need the following line in the file.
DAEMON_OPTIONS(`Port=smtp,Addr=66.92.143.194, Name=MTA')
This enables the sendmail deamon to accept mail for the domain, again I'm using real IP addresses here so no cutting and pasting. If you don't have this built into your sendmail.cf file mail will be rejected.
Lastly a script to generate and correct sendmail.cf
That is attached.
This script stops and starts the sendmail deamon and needs to be run as root.
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
тАО06-11-2003 03:49 PM
тАО06-11-2003 03:49 PM
Re: External DNS and email server
The buildmail file is from Linux, it will require adaptation to work in hpux. I have a modified version, its at work. It can also be found in this post.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3526b941255cd71190080090279cd0f9,00.html
I also didn't give accurate locations for the sendmail.cf file for HP-UX. I thought I was in a Linux forum.
Sorry.
Hopefully one of these answers will help and be worth a point or two.
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
тАО06-26-2003 06:27 AM
тАО06-26-2003 06:27 AM
Re: External DNS and email server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2003 06:40 AM
тАО06-26-2003 06:40 AM
Re: External DNS and email server
1) You want your email server to be able to resovle DNS on inbound mail via /etc/resolv.conf
Why? Because standard anti-spam configuration will reject mail from mail servers that can't be resolved. That can cut down a lot on spam.
2) If your server is exposed to the Internet, has an external IP address and your DNS server has an MX record that points to that same external IP address, and sendmail daemon is running, you'll accept inbound mail. Check my earlier posted config files for what you need to do to sendmail.mc to actually accept the mail.
3) If you are forwarding all mail from a firewall to your server, its even easier. When you change the IP address of the inbound mail server, change the forward on the firewall.
4) To use this server to SEND outbound mail, it has to have DNS resolution. When sending mail the sendmail daemon(smtp) looks up the mx record for the portion of the address after the @ sign. Then it knows what server to try and talk to.
SEP
Points anyone?
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com