LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2009, 01:25 AM   #1
manoj_b
LQ Newbie
 
Registered: Jun 2009
Posts: 2
Blog Entries: 1

Rep: Reputation: 0
Need help to configure internal Postfix server without DNS.


Hi guys..


I have little bit experience on postfix mail server. I have to configure postfix mail server for my internal network. I have gone through the postfix documentation and tried to configure postfix and finally i m able to do the telnet 127.0.0.1.

Now I need some help in this regards as,

1] Is it possible to send and receive mails(internally) without DNS.
2] If it is possible then please let me know the steps for same.
 
Old 07-03-2009, 01:56 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Name Resolution

Greetings!
Maybe I can shed some light on a few things;

Question 1:
"Is it possible to send and receive mails(internally) without DNS."
Yes, /etc/hosts is your friend in this case. However that only takes care of the UNIX/Linux hosts. For Windows, you'll have to take a copy of your /etc/hosts file and "Import LMHOSTS File".

Question 2:
"If it is possible then please let me know the steps for same."
After you've created an /etc/hosts file and passed it around to the hosts on the network, there shouldn't be a postfix-related change that you'll need to implement. Assuming, of course, that you're not trying to pass mail to another Mail Transfer Agent (MTA) like Exchange, Sun's Java Enterprise Management Message service, etc.
If you're attempting to experiment with other mail servers on different platforms, I would strongly suggest that you setup ISCs BIND (or another DNS service) somewhere on your LAN.

Doing that would also save you the trouble of manually updating your /etc/hosts file on ever single server, too. After all, not much may change on your LAN, but it can get very frustrating very quickly; especially if you're in the habit of setting up multiple IP addresses per host for various services....

Hope this helps!
 
Old 07-08-2009, 09:12 AM   #3
manoj_b
LQ Newbie
 
Registered: Jun 2009
Posts: 2
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Hi...xeleema,

Thanks for your response.

Can you please guide me to build internal DNS server for me(Specially only for MX).
 
Old 07-15-2009, 02:44 AM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
For a really thorough guide to DNS, there's already a few really good resources out there;

If you're into books (the dead-tree kind), I *highly* recommend getting O'reilly's "DNS & BIND".

The Internet Software Consortium maintains a great Administrator's Reference Manual for DNS, too - They have one for each major release of their DNS software (which is found in most Linux distributions).

Keep in mind that with /etc/hosts, there's no "MX" equivalent. You'll almost certainly have to setup a DNS service on your network. In fact, I would recommend that you setup two systems with DNS, and have one be the master.

If you *really* want an exercise in Linux, read up on some of the virtualization software available for Linux (*cough* Xen *cough*). Then setup two virtual systems to host your DNS.

Have fun!
 
  


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
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-28-2012 12:50 AM
how to configure another dns server to combine use with primary current dns server. hocheetiong Linux - Newbie 1 05-29-2008 07:57 PM
how to configure master dns in windows2003 server and its slave dns in rhel5 suneellinux Linux - Newbie 1 04-11-2008 06:13 PM
INTERNAL DNS server? toben Linux - Software 1 03-05-2008 10:45 AM
Setup Internal DNS Server loufeliz Linux - Networking 1 01-28-2005 02:59 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration