WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2007, 06:53 PM
netman4ttm's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Virginia
Posts: 386
netman4ttm RepRank 1
Default Multiple Domains on one BIND server.

I'm running BSD 5.5 Bind 9.4.xx.
I have been running the name servers for my site for several years.
I need to make these name servers the authority for another domain; not related to the first domain. xxxx.com and yyyy.com
I have already done the Network Solutions changes.
Need to know how to get the name servers to work with this new domain.
__________________
"The future is here. It's just not evenly distributed.
Reply With Quote
  #2 (permalink)  
Old 08-24-2007, 01:45 PM
netman4ttm's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Virginia
Posts: 386
netman4ttm RepRank 1
Default Re: Multiple Domains on one BIND server.

Let me re-phrase this question.
How do you add a second fully qualified domain name to an ethernet interface?
I know alias works for ip numbers is there an equivalent for names?
__________________
"The future is here. It's just not evenly distributed.
Reply With Quote
  #3 (permalink)  
Old 08-31-2007, 10:37 PM
WebProWorld New Member
 

Join Date: Aug 2007
Location: Wisconsin
Posts: 6
eMonsterhost RepRank 0
Default Re: Multiple Domains on one BIND server.

Usually your domain registrar will allow up to 4 name servers in case of immenient failure. I have never heard of adding a domain name to an ethernet interface, perhaps i am misunderstanding your question or were not quite clear on things?
__________________
Ryan Lunzmann - Sys. Admin
Reply With Quote
  #4 (permalink)  
Old 09-14-2007, 02:21 AM
WebProWorld Member
 

Join Date: Aug 2007
Location: Hanoi - Dallas
Posts: 41
hpham RepRank 0
Default Re: Multiple Domains on one BIND server.

BIND can control thousands DNS records without trouble. You just need to add records for your domain into BIND. It will be easier if you have a control panel on your server. Do you have any?
Reply With Quote
  #5 (permalink)  
Old 09-24-2007, 08:12 AM
netman4ttm's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Virginia
Posts: 386
netman4ttm RepRank 1
Default Re: Multiple Domains on one BIND server.

I solved this one.
__________________
"The future is here. It's just not evenly distributed.
Reply With Quote
  #6 (permalink)  
Old 09-28-2007, 07:44 AM
edhan's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Singapore
Posts: 553
edhan RepRank 1
Question Re: Multiple Domains on one BIND server.

How did you do it? Care to share as I am thinking of doing that with my spare IP Addresses.
Reply With Quote
  #7 (permalink)  
Old 10-26-2007, 10:17 AM
netman4ttm's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Virginia
Posts: 386
netman4ttm RepRank 1
Default Re: Multiple Domains on one BIND server.

This is how I did it.

named.conf
looks like this
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
listen-on { 127.0.0.1; 216.54.100.2; };
allow-query { any; };
allow-transfer { none; };
allow-recursion { 216.54.100.0/29; 192.168.10.0/24; localhost; };
version "12345";
};

zone "." {
type hint;
file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "master/localhost.rev";
};

zone "mms-va.com" {
type master;
file "master/db.mms-va.com";
};

zone "100.54.216.in-addr.arpa" {
type master;
file "master/db.216.54.100";
};

zone "havanasilkdogsbythebay.com" {
type master;
file "master/db.havana";
};

db.mms-va.com looks like this

$TTL 172800
mms-va.com. IN SOA ns1.mms-va.com. root.sst.mms-va.com. (
2006102310 ;Serial
10800 ;Refresh
3600 ;Retry
604800 ;Expire
172800 ) ;TTL

IN NS ns1.mms-va.com.
IN NS ns2.mms-va.com.
MX 0 sst.mms-va.com.

localhost IN A 127.0.0.1
ns1 IN A 216.54.100.2
ns2 IN A 216.54.100.3
sst IN A 216.54.100.4
ipcop IN A 216.54.100.5
graph IN A 216.54.100.6

www IN CNAME ns1.mms-va.com.

db.havanas

looks like this

$TTL 3600
havanasilkdogsbythebay.com. IN SOA ns1.mms-va.com. root.sst.mms-va.com. (
2006102310 ;Serial
10800 ;Refresh
3600 ;Retry
604800 ;Expire
86400 ) ;TTL

IN NS ns1.mms-va.com.
IN NS ns2.mms-va.com.
MX 0 sst.mms-va.com.

localhost IN A 127.0.0.1
ns1 IN A 216.54.100.2
ns2 IN A 216.54.100.3
sst IN A 216.54.100.4
ipcop IN A 216.54.100.5
graph IN A 216.54.100.6

www IN CNAME ns1.mms-va.com.

You should note that db.mms-va.com and db.havana are exactly the same EXCEPT for the SOA (Start of Authority) line and there is no reverse ip available for the dogs.

If anyone has a better way of doing this please point it out

Also this post did not retain the formatting of the 3 files
__________________
"The future is here. It's just not evenly distributed.

Last edited by netman4ttm : 10-26-2007 at 10:20 AM. Reason: format
Reply With Quote
  #8 (permalink)  
Old 10-26-2007, 10:48 PM
edhan's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Singapore
Posts: 553
edhan RepRank 1
Default Re: Multiple Domains on one BIND server.

This is rather confusing. I will copy and check to see if I can understand all these.

Thanks for sharing.
Reply With Quote
  #9 (permalink)  
Old 10-29-2007, 11:42 AM
netman4ttm's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Virginia
Posts: 386
netman4ttm RepRank 1
Default Re: Multiple Domains on one BIND server.

edhan,
This is for BSD and Bind 9.
Your named.conf will have have to reflect where your OS expects the files to be placed.
The trick is the addition of the havanasilkdogs db file.
Simply copy your first zone: rename it: change only the SOA line to the new domain and it should work.
__________________
"The future is here. It's just not evenly distributed.

Last edited by netman4ttm : 10-29-2007 at 11:43 AM. Reason: punctuation
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Tags: , , ,



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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple links from same server privatefleet Google Discussion Forum 1 11-15-2005 12:40 AM
multiple domains yorks Search Engine Optimization Forum 2 09-06-2005 03:39 PM
multiple domains - how does one best do it? LoveNotWar Search Engine Optimization Forum 3 12-15-2004 01:17 PM
multiple domains sycharter.com Google Discussion Forum 2 10-06-2004 06:59 AM
Multiple Domains AirAThree Google AdWords/Google AdSense 5 09-14-2004 01:15 PM


Search Engine Optimization by vBSEO 3.2.0