LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-25-2005, 10:15 PM   #1
wwnexc
Member
 
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264

Rep: Reputation: 30
Post Concept behind MX records


Even though i've done my homework and did quite a lot of googleing, I couldn't find the answer to one question about mx records, though.

I have a domain with godaddy.com (someaddress@mydomain.tdl). I am using their DNS-manager. I set the MX record of my website to: "myaddress.is-a-geek.com.". (is-a-geek.com" part is from my dyndns.com account). "myaddress.is-a-geek.com" itself (A-record) resolves to my real ip, which my smart ;-) router updates every time the ip changes.

I was wondering if in this case, if i send email to someaddress@mydomain.tdl (my godaddy.com domain), the mail would go to my real ip address (myaddress.is-a-geek.com (A) = 123.123.123.123), and get to my mailserver, behind a firewall, where ports 25 and 110 are open.

Question: Does myaddress.is-a-geek.com need an MX record in order for everything to work??

If it should work, i have some other problems ...
Is this how it is supposed work??

Thanks
 
Old 10-25-2005, 10:52 PM   #2
mikey3
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Your question is confusing to follow (for me at least). Basically I understood you have www.example.com and you have a server set up with an A record pointing to it at your home. Your A record is home.dyndns.com. So just add in an MX record to the dns for www.example.com and the data should be the A record of "home.dyndns.com". Thats all you have to do. No mx record for home.dyndns.com is necessary. MX records are actually just pointer records to A records.

mikey
 
Old 10-25-2005, 10:53 PM   #3
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,090

Rep: Reputation: 41
Im confused on you specific setup, I have never dealt with dyndns.org before. But Im almost certain that you have to have an mx record that points to an ipaddress, not an alias.

At least that is the way I have always thought it was...
 
Old 10-25-2005, 10:56 PM   #4
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
No, the MX record for mydomain.tdl is all you need.

If your is-a-geek.com hostname is the same as your LQ username and your box is currently up, the problem is your port 25 is not open on the internet side. If you're behind a NAT router, ensure that TCP 25 is port forwarded to your mail server. Another possibility is your ISP may be blocking port 25 inbound.

telnet 71.xxx.xxx.145 25
Trying 71.xxx.xxx.145...
telnet: Unable to connect to remote host: Connection refused

Last edited by Snowbat; 10-25-2005 at 11:16 PM.
 
Old 10-25-2005, 11:01 PM   #5
wwnexc
Member
 
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264

Original Poster
Rep: Reputation: 30
Thanks, snowbat -- i still have one question, though:
What should telnet say if it CAN connect?

I will try telnet tomorrow.

PS: tdl is supposed to be tld, for "top level domain" -- i guess i need more caffein
 
Old 10-25-2005, 11:20 PM   #6
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
Something like this:

telnet 192.168.1.5 25
Trying 192.168.1.5...
Connected to Cabra (192.168.1.5).
Escape character is '^]'.
220 localhost ESMTP Postfix (2.0.6) (Mandrake Linux)
 
Old 10-27-2005, 07:14 PM   #7
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,053

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
Let me add a little bit to the confusion.

wwnexc, dit you check this explanation as well?

jlinkels
 
Old 10-27-2005, 09:28 PM   #8
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
I'm now seeing a mail server at the is-a-geek.com host so wwnexc is making progress

telnet (REDACTED).is-a-geek.com 25
Trying 71.xxx.xxx.103...
Connected to (REDACTED).is-a-geek.com.
Escape character is '^]'.
220 (REDACTED).com ESMTP
quit
221 goodbye
Connection closed by foreign host
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing concept ajkannan83 Linux - Networking 1 09-30-2005 05:27 AM
MX record concept SiLiCoN Linux - Networking 3 06-17-2005 06:57 AM
Iptables Concept rulex Linux - Networking 2 06-13-2005 06:19 AM
A new concept for install luiwo Linux - Hardware 1 09-05-2004 04:28 AM
LBA-H/w or S/w Concept?? LinuxUser813 Linux - Hardware 0 07-06-2004 02:59 AM


All times are GMT -5. The time now is 09:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration