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

Dotan Cohen dotancohen at gmail.com
Fri Sep 24 17:25:42 EDT 2010


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


More information about the CentOS mailing list