Bind9 configuration help
I'm trying to learn how to configure Bind9, and didn't get my setup
working. I have two servers, the main server (example.com, in address
184.108.40.206) has bind9, and a typical LAMP setup.
The second server has just IRC clients open, LigHTTPD etc, and it's
called test.example.com and that is in IP address 220.127.116.11.
example.com's zone configuration is:
But now when I goto test.example.com, It's not the other server, it is still 'example.com'. and dnsstuff.com says: NOTE: One or more CNAMEs were encountered. test.example.com is really www.example.com.
@ IN SOA ns1.example.com. hostmaster.example.com. (
IN NS ns1.example.com.
IN NS ns1.isp.fi.
IN NS ns2.isp.fi.
IN NS ns3.isp.fi.
example.com. IN A 18.104.22.168
22.214.171.1241.in-addr.arpa. IN PTR example.com.
test.example.com. IN A 126.96.36.199
www IN CNAME example.com.
ftp IN CNAME example.com.
ns1 IN CNAME example.com.
mail.example.com. IN MX 1 example.com.
edit: Sorry, I posted this to the wrong forum. Should be in GNU Linux Zone -> Servers.