Resolving two domains on one IP BInd9

This is a discussion on Resolving two domains on one IP BInd9 within the Bind Users forums, part of the DNS and Related Forums category; I have a redhat 9 box web server and email. one domain is bostonbrick.com, one is xkmail.com the ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-30-2004
Kevin Brown
 
Posts: n/a
Default Resolving two domains on one IP BInd9

I have a redhat 9 box web server and email.
one domain is bostonbrick.com, one is xkmail.com
the ip is 67.127.200.22, it is static
bind9 listens on 67.127.200.22
there is ns1.bostonbrick.com listening on 67.127.200.22, bostonbrick.com
and mail.bostonbrick.com listen on 67.127.200.22 also.
I just registered xkmail.com and it sits on 67.127.200.22
Problem is when I type in www.xkmail.com it sends back
bostonbrick.combut mail works great. Is this a dns issue or a apache issue?
Another small point is:
DO I setup ns1.xkmail.com ?
I thought I would jsut add an "A" record to ns1.bostonbrick.com

[root@ibm root]# cat /etc/bostonbrick.com.hosts
$ttl 10M
bostonbrick.com. IN SOA ibm.bostonbrick.com.
kevin.bostonbrick.c
om. (
2004121604
3600
5000
1209600
172800 )
bostonbrick.com. IN NS ns1.bostonbrick.com.
bostonbrick.com. IN A 67.127.200.22
mail.bostonbrick.com. IN A 67.127.200.22
www.bostonbrick.com. IN CNAME bostonbrick.com.
bostonbrick.com. IN MX 1 mail.bostonbrick.com.
ibostonbrick.com. IN PTR bostonbrick.com.
bostonbrick.com. IN TXT "v=spf1 a mx ptr"

[root@ibm root]# cat /etc/xkmail.com.hosts
$ttl 10M
xkmail.com. IN SOA ibm.xkmail.com. kevin.xkmail.com. (
2004121604
3600
5000
1209600
172800 )
xkmail.com. IN NS ns1.xkmail.com.
xkmail.com. IN A 67.127.200.22
mail.xkmail.com. IN A 67.127.200.22
www.xkmail.com. IN CNAME xkmail.com.
xkmail.com. IN MX 1 mail.xkmail.com.
xkmail.com. IN PTR xkmail.com.
xkmail.com. IN TXT "v=spf1 a mx ptr"

[root@ibm root]# cat /etc/named.conf
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
};

zone "." {
type hint;
file "/etc/db.cache";
};

zone "bostonbrick.com" {
type master;
file "/etc/bostonbrick.com.hosts";
};

zone "xkmail.com" {
type master;
file "/etc/xkmail.com.hosts";
};

ANy ideas let me know. I have a virtual server on apache for both
xkmail.com and bostonbrick.com

--
Kevin and Martha Brown
Dynamic Management
11448 Brawley Rd
RR 395-3
Oak Hills, CA 92345
760-956-9359
kevin@xkmail.com


Reply With Quote
Reply


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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:42 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0