I have been using Windows 2003 to run DNS, IIS, PHP, MySQL on one box and Kerio Connect email server on another box. I am tired of paying for Microsoft licenses so I am converting over to using CentOS 6.0. I had no problems converting over and securing Apache, PHP, MySQL and linux version of Kerio Connect email server but am having problems with BIND. Since I am not familiar with BIND all that much I used webmin to help me configure it. I secured the service using chroot. I don't know if I even configured the options correctly for multi domain server. To sum up the problem that I need help with, I am able to resolve to every domain that I am hosting web pages for and email services but when trying to send an email from the internet to these domains they always bounce back. The only domain that I can send emails to is the primary domain (domain1 listed in the files below). I verified that the CentOS firewall is opened for port 53/TCP and 53/UDP. HELP PLEASE!!!!!!!
Here is my config file for the 1st domain (I replaced the domain names and IP in these files for security reasons) domain1.com.hosts:
[code]
$ttl 60M
domain1.com. IN SOA ns1.domain1.com. webmaster@domain1.com. (
1315977665
15M
10M
1440M
10M )
domain1.com. IN NS ns1.
mail.domain1.com. IN MX 10 123.123.123.68
www.domain1.com. IN A 123.123.123.66
mail.domain1.com. IN A 123.123.123.68
domain1.com. IN A 123.123.123.66
[/code]
Here is my config file for the 2nd domain domain2.com.hosts:
[code]
$ttl 60M
domain2.com. IN SOA ns1.domain1.com. webmaster@domain1.com. (
1316069249
15M
10M
1440M
10M )
domain2.com. IN NS ns1.
mail.domain2.com. IN MX 10 123.123.123.68
www.domain2.com. IN A 123.123.123.66
mail.domain2.com. IN A 123.123.123.68
[/code]
Here is my named.conf file:
[code]
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
};
zone "." {
type hint;
file "/etc/db.cache";
};
zone "domain1.com" {
type master;
file "/var/named/domain1.com.hosts";
};
controls {
};
zone "domain2.com" {
type master;
file "/var/named/domain2.com.hosts";
};
[/code]
Please help me figure out that is going on here.
[Moderator edited to inset [i]code[/i] tags so as to preserve the formatting.]
Help with Bind
General support questions
Return to “CentOS 6 - General Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support