Configuring BIND to answer to two domain names (four IP addresses)
----- Original Message -----
| On a CentOS 5 server, I am having a hard time configuring BIND to
| answer to 4 IP addresses for 2 domain names.
| Currently, I have four IP addresses, for sake of discussion they are:
| Additionally, I have two domain names. For sake of discussion:
| My goal is to have 126.96.36.199 & 188.8.131.52 as the nameservers for
| exampleA.com, and 184.108.40.206 & 220.127.116.11 as the nameservers for
| exampleB.com. Apache is running on this machine, and should of course
| serve pages for the sites.
| I think that I've got the apache configuration down, but the BIND
| configuration is eluding me. I've read the following fine manual, but
| I am still stuck:
| Additionally, I have googled for "how to configure bind for multiple
| domain names" and the like, but I see no mention of the IP addresses
| configuration. Can I simply configure any IP address that the server
| answers to as the nameservers? What am I missing?
| Thank you in advance!
| Dotan Cohen
| CentOS mailing list
Have a read for the listen on directive for BIND which tells BIND what interfaces/IP Addresses to bind to. Alternatively, you could just configure BIND identically on both machines and ensure that they are setup in a master/slave configuration so that each name server could answer requests for both domains and publish both name server records in each domain.
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : firstname.lastname@example.org
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
MSN : email@example.com
Does your OS has a man 8 lart?
CentOS mailing list