LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dyndns.org and mail exchangers (https://www.linuxquestions.org/questions/linux-networking-3/dyndns-org-and-mail-exchangers-32462/)

d3funct 10-10-2002 02:17 PM

dyndns.org and mail exchangers
 
I use dyndns.org to serve my home RHL7.3 systems dynamic IP on dns as {hostname}.homelinux.net. This is how I get around AT&T's dhcp service when they renew my lease, and I can ssh to my system from work, or get to my webpage if necessary without having to worry if my IP changed lately. My issue here is that I want to serve mail from this box. I've read all the whitepapers on dyndns.org's site and it's a great DNS primer, but it doesn't explain to me what I'm to do with the "mail exchanger" box listed on my account form for my IP. Am I supposed to add something like "mail.{hostname}.homelinux.net" to associate my dynamic dns name with a virtual mailhost, or am I supposed to put in AT&T's mailserver name there and add an entry in my sendmail.cf file. How do I serve e-mail from my {hostname}.homelinux.net box using dyndns.org's services? Thanks in advance for any and all comments and assistance. :cool:

Geronimoo 10-10-2002 09:11 PM

Hi. Im a noobi too so if it dosent work, well there ya go.

I BELIEVE that...

The Mx records are for the mail so it can decide to where they are supposed to be going. The first Mx record should point at your (dynamic) IPs hostname ({hostname}.homelinux.net). Thats it. The second record is only used if the first isnt online. The first record has the lowest number, probably MX 10 or maybe 5.

I use dynamic IP with dns2go and the mail arrives at my IP (mx record no1), goes through my router wich has port 25 (mail) open and pointing at my mail servers internal IP (qmail). And that works!


All times are GMT -5. The time now is 07:47 PM.