This is my zones file
zone "domain.com"{
type master;
file "/etc/bind/db.override";
};
zone "cpanel.domain.com"{
type forward;
forwarders { 8.8.8.8;8.8.4.4; };
forward only;
}
The root domain resolves to this file
;
; BIND data file for overridden IPs
;
$TTL 86400
@ IN SOA ns1 root (
2012100401 ; serial
604800 ; refresh 1w
86400 ; retry 1d
2419200 ; expiry 4w
86400 ; minimum TTL 1d
)
; need atleast a nameserver
IN NS ns1
; specify nameserver IP address
ns1 IN A `My IP`
; provide IP address for domain itself
@ IN A `My IP`
;all other subdomains
* IN A `My IP`
The main domain.com resolves fine but then it resolves cpanel.domain.com to the same IP as the root when I actually want to be determined by Google's DNS which should be something completely different.