[CentOS] Configuring BIND to answer to two domain names (four IP addresses)
Dotan Cohen
dotancohen at gmail.com
Fri Sep 24 20:16:10 UTC 2010
Ah, some better examples here:
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-bind-zone.html
How is this file:
# cat /var/named/exampleA.com.hosts
$ORIGIN exampleA.com.
$TTL 1h
exampleA.com. IN SOA ns1.exampleA.com. ns2.exampleA.com. (
1; Serial - increment me
10800
3600
604800
38400 )
IN NS ns1.exampleA.com.
IN NS ns2.exampleA.com.
exampleA.com. IN A 1.1.1.1
exampleA.com. IN A 1.1.1.2
ns1 IN A 1.1.1.1
ns2 IN A 1.1.1.2
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
More information about the CentOS
mailing list