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

Fri Sep 24 21:25:42 UTC 2010
Dotan Cohen <dotancohen at gmail.com>

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