|
Question : CNAME Domain redirection fails - BIND 9
|
|
I have a Red Hat ES4 server running BIND 9 and am having a problem using CNAME to redirect.
In this record, DOMAIN1 is the DNS record I host. DOMAIN2 is the domain name I want DOMAIN1 to redirect to. I do not host the DNS or the website for DOMAIN2.
DNS Entry:
$TTL 86400
@ IN SOA DOMAIN1.com. [email protected] ( 2006011001 ; serial number 3H ; refresh 15M ; retry 1W ; expire 1D ) ; minimum IN NS ns1.FOO.com. @ cname DOMAIN2.com. www cname DOMAIN2.com.
------ After running rndc reconfig and tailing /var/log/messages - I get the message:
Jan 10 11:48:09 ns1 named[1989]: dns_master_load: DOMAIN1.com:9: DOMAIN1.com: CNAME and other data
Any help is greatly appreciated as always.
RTPIT EC
|
Answer : CNAME Domain redirection fails - BIND 9
|
|
hi ,
Please also read the following article
http://howtos.linux.com/guides/linux-admin-made-easy/domain-name-server.shtml http://aplawrence.com/Unixart/understanding_soa.html
ns1.FOO.com IN A < site IP ADDRESS> like 192.168.0.1 FOO.com. IN A .Site IP...... Like 192.168.0.1 www IN A .Site IP...... Like 192.168.0.1 @ IN A .Site IP...... Like 192.168.0.1 DOMAIN1.com. IN CNAME DOMAIN2.com. DOMAIN2.com. IN A IP address 192.168.0.1 www.DOMAIN2.com IN A IP address 192.168.0.1
|
|
|