Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 7th November 2009, 18:35
thavaht thavaht is offline
Join Date: Apr 2007
Location: Maputo - Mozambique
Posts: 54
Thanks: 7
Thanked 2 Times in 2 Posts
Default Virtual domains & BIND configutation

Hi all,

Need a help configuring BIND.
Ive setup a new server (lets say, named: doc. my_site.ac.mz) following a virtual users and domain howto and it works fine.

In my organization, a educational organization, there is a mail server running and configured to accept mails for the domain (my_site.ac.mz).

What is intended is to have two subdomains one for students and other for other people (e.g. doc.my_site.ac.mz and stu.my_site.ac.mz) with virtual users such as user1@doc.my_site.ac.mz, user2@doc.my_site.ac.mz, user1@stu.my_site.ac.mz, etc., and to have the new server accepting mail for these subdomains.

My questions is how to proper configure BIND so that email to user2@doc.my_site.ac.mz,..., user1@stu.my_site.ac.mz will be delivered to the new server?

So far the zone Ive set up looks like follows:

$TTL 14400
@      86400    IN      SOA     tels.my_site.ac.mz. hostmaster.my_site.ac.mz. (
                2009101501      ; serial, todays date+todays
                86400           ; refresh, seconds
                7200            ; retry, seconds
                3600000         ; expire, seconds
                86400 )         ; minimum, seconds
my_site.ac.mz. 86400 IN NS tels.my_site.ac.mz.
my_site.ac.mz. 86400 IN NS ns2.my_site.ac.mz.
tels                    IN A
ns2			    IN A
my_site.ac.mz. IN A
localhost.my_site.ac.mz. IN A
my_site.ac.mz. IN MX 10 mail.my_site.ac.mz.
mail        IN A
www         IN CNAME mail.my_site.ac.mz.
ftp         IN CNAME mail.my_site.ac.mz.
So I think adding the following lines :
doc.my_site.ac.mz. 86400 IN NS tels.my_site.ac.mz.
stu.my_site.ac.mz. 86400 IN NS tels.my_site.ac.mz.

doc.my_site.ac.mz. 	IN A
stu.my_site.ac.mz. 	IN A

doc.my_site.ac.mz. 	IN MX 10 doc.my_site.ac.mz.
stu.my_site.ac.mz. 	IN MX 10 doc.my_site.ac.mz.
Is that a valid configuration?
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission Denied Bind Slave Server Problems wxman Server Operation 17 22nd March 2014 13:30
Virtual Users and Domains howto and the ISPConfig3 howto for Ubuntu 9.10 loubart HOWTO-Related Questions 9 2nd December 2009 16:58
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 9th May 2009 00:00
ISPConfig and BIND on Debian sarge (rfc1912 : failed on zonecheck) arnaud Installation/Configuration 13 6th March 2007 13:40
Bind-Chroot-Howto (Debian) spaz HOWTO-Related Questions 5 9th March 2006 15:50

All times are GMT +2. The time now is 11:32.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.