LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-01-2003, 01:55 AM   #1
puzz_1
Member
 
Registered: May 2003
Posts: 49

Rep: Reputation: 15
DNS for sendmail?


I am trying to setup sendmail on my linux box which is connected to a NAT enabled router. I have the router configured so it forwards port 25 to my linux box. Right now I use /etc/hosts to resolve IP's.
But if I were to use outlook or such, I probably have to use something like....
smtp.myIPaddress or smtp.mydomain

Do I have setup DNS for my LAN so that the smtp is resolved to the correct linux machine that is running sendmail?
 
Old 06-01-2003, 02:36 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Well it would make sense installing a DNS server. There is a hosts file in Windows also AFAIK but a DNS server is a cleaner solution!
 
Old 06-02-2003, 04:39 AM   #3
puzz_1
Member
 
Registered: May 2003
Posts: 49

Original Poster
Rep: Reputation: 15
What about external machines. If they were to use smtp.mydomain.com and my ISP just resolves the mydomain.com part? how does the smtp part get resolved. Do I have to set up DNS for my lan??
 
Old 06-02-2003, 04:54 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you'd have an MX record setup at your DNS provider, either locally or at your registrar.
 
  


Reply



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
Sendmail and DNS tonyr321 Linux - Networking 1 06-24-2005 09:55 AM
sendmail dns lookups davidsrsb Linux - Networking 1 06-09-2005 09:35 PM
sendmail without dns gregm Linux - Networking 0 03-30-2004 08:43 PM
sendmail and dns issue? rchilakapati Linux - Newbie 1 10-02-2003 05:14 AM
Sendmail, DNS help please!! WorldBuilder Linux - Networking 2 05-10-2003 05:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration