BIND with Multiple Domains on Ubuntu 8.04
phuschnickens
Beverly Hills, Michigan Member
Let me first start by saying that I've read many of the available resources for figuring this out and I'm still having trouble. I read a post on the ubuntu forums with almost the same thread title but still can't get it right. This is a link to my thread on ubuntuforums.org link
I want to setup one BIND DNS Server to manage records for two different public domain names. I'm running ubuntu 8.04.
I've checked this out with pingability.com and while the first zone works perfectly, the second zone has multiple errors. The errors include "No host (A) record. No MX record." (and more) Everything I read makes it looks like this is right. Please let me know if I need to provide more info. THANKS!
named.conf.local:
royaloakproofsite.com.hosts (Zone 1):
bosshotline.com.hosts (Zone 2):
Thanks
phu
I want to setup one BIND DNS Server to manage records for two different public domain names. I'm running ubuntu 8.04.
I've checked this out with pingability.com and while the first zone works perfectly, the second zone has multiple errors. The errors include "No host (A) record. No MX record." (and more) Everything I read makes it looks like this is right. Please let me know if I need to provide more info. THANKS!
named.conf.local:
// // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; zone "royaloakproofsite.com" { type master; file "/etc/bind/royaloakproofsite.com.hosts"; allow-query { any; }; allow-transfer { 66.184.65.74; }; }; zone "bosshotline.com" { type master; file "/etc/bind/bosshotline.com.hosts"; allow-query { any; }; allow-transfer { 66.184.65.74; }; };
royaloakproofsite.com.hosts (Zone 1):
$ttl 38400 royaloakproofsite.com. IN SOA ns1.royaloakproofsite.com. jpfulton.royaloakproofsite.com. ( 1055026220 6H 1H 5D 20M ) royaloakproofsite.com. IN A 66.184.65.74 mysql IN A 66.184.65.74 www IN CNAME royaloakproofsite.com. royaloakproofsite.com. IN NS ns1.royaloakproofsite.com. royaloakproofsite.com. IN NS ns2.royaloakproofsite.com. royaloakproofsite.com. IN MX 5 mail.royaloakproofsite.com. mail IN A 66.184.65.74
bosshotline.com.hosts (Zone 2):
$ttl 38400 bosshotline.com. IN SOA ns1.royaloakproofsite.com. jpfulton.bosshotline.com. ( 1055026224 6H 1H 5D 20M ) bosshotline.com. IN A 66.184.65.74 bosshotline.com. IN NS ns1.royaloakproofsite.com. bosshotline.com. IN NS ns2.royaloakproofsite.com. bosshotline.com. IN MX 10 mail.bosshotline.com. mail IN A 66.184.65.74 mysql IN A 66.184.65.74 www IN CNAME bosshotline.com.
Thanks
phu
0
Comments
K, wasn't sure about that.
SOLUTION:
I was wrong in my first post when I said "first master zone is working perfectly" it WAS working perfectly until I guess and checked the second zone so many times that I screwed up the first one... so I went back and fixed the first zone, once that was working I made a copy of that file, renamed appropriately and made the proper edits. "Proper edits" was, of course, the tough part. See below:
royaloakproofsite.com.hosts (master zone#1)
bosshotline.com.hosts (master zone#2)
Hope this can help someone!
thanks
phu