Ask Your Question
0

how to configure named.conf

asked 2014-09-29 11:39:09 -0500

salam gravatar image

Hello I am trying to configure dns using bind-utils package. In my scenario, I have two smtp servers on two virtual machines using fedora 20 linux operating system on the same subnet 255.255.255.0, I made the servers' ips static (one 192.168.220.143, 192.168.220.144). How can I configure the DNS? I installed the bind-utils only on one Virtual machine. Do I need to install another bind-utils on the other Virtual machine? Please help me. Thank you. Regards, Salam

edit retag flag offensive close merge delete

Comments

For VM's or Physical server are same "bind rpm" are use.

Rajat gravatar imageRajat ( 2014-09-30 02:04:26 -0500 )edit

for virtual machine

salam gravatar imagesalam ( 2014-10-01 07:55:19 -0500 )edit

Thank you for your feedback. What if I want users to access their accounts using another VM on the same subnet and using Evolution, what things I have to do?

salam gravatar imagesalam ( 2014-10-02 15:08:37 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-09-29 17:02:54 -0500

cobra gravatar image

You only need one to work as a DNS server - and on that machine you will need these packages:

bind
bind-chroot (optional, but highly recommended)
bind-utils
bind-libs

On the other machine you only need this package:

bind-utils

Configuring the server is a very well documented activity - there are many guides out there in the wild. You could search for your own, or try one of these:

http://www.server-world.info/en/note?os=Fedora_17&p=dns (for Fedora 17 but still applies) http://www.ehowstuff.com/how-to-install-and-configure-bind-9-dns-on-centos-6-3/ (for CentOS - an identical configuration)

You also might want to consider not using Fedora for this test - if you're setting up a server to do email and DNS, then you should consider using a 'server' type OS, such as CentOS, which has a much longer support period. You avoid having to reinstall or upgrade and re-work your configs for these services every couple of releases (about once a year).

edit flag offensive delete link more

Comments

Thank you it was a big help. I did configured two dns. And I used two SMTP servers with clients. when I am trying to send email from one machine to another it is not reached. Even though I have added the dns for both sides, and in the hosts What to do you think the problem is?

salam gravatar imagesalam ( 2014-10-12 05:14:17 -0500 )edit

There are several tests you can do with a mailserver. Start by looking in /var/log/maillog on the smtp server. Also try using telnet to port 25 on the smtp server and sending smtp to it by typing at the console. That's usually quite revealing.

cobra gravatar imagecobra ( 2014-10-12 16:03:56 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-09-29 11:39:09 -0500

Seen: 204 times

Last updated: Sep 29 '14