[CentOS] Configuring BIND to answer to two domain names (four IP addresses)

James A. Peltier jpeltier at sfu.ca
Fri Sep 24 21:29:04 UTC 2010


----- Original Message -----
| All right, I think this should do it:
| 
| $ORIGIN exampleA.com.
| $TTL 86400
| exampleA.com. IN SOA ns1.exampleA.com. ns2.exampleA.com. (
| 2; Serial - increment me
| 10800
| 3600
| 604800
| 38400 )
| IN NS ns1.exampleA.com.
| IN NS ns2.exampleA.com.
| IN A 178.63.65.136
| IN A 178.63.65.188
| www IN A 178.63.65.136
| www IN A 178.63.65.188
| ns1 IN A 178.63.65.136
| ns2 IN A 178.63.65.188
| 
| What say the wise among us?
| 
| --
| Dotan Cohen
| 
| http://gibberish.co.il
| http://what-is-what.com
| _______________________________________________
| CentOS mailing list
| CentOS at centos.org
| http://lists.centos.org/mailman/listinfo/centos

Looks good.  you can change your 10800 3600 604800 and 38400 to hours, days or weeks represented by 1h, 1d or 1w respectively  to make it easier than calculating seconds. :)


--
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpeltier at sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
MSN     : subatomic_spam at hotmail.com

Does your OS has a man 8 lart?
http://www.xinu.nl/unix/humour/asr-manpages/lart.html





More information about the CentOS mailing list