I want to point my domain to cPanel for hosting and Google Apps for email and same time I want the domain to ignore mx entry on the server so if the server goes down I can still receiving emails to Google Apps
Any Ideas?
If you just want Google to handle your mail, and bypass your server all together, just edit your domain's DNS settings with Google's MX records, while pointing everything else to the cPanel server.
Here's what a BIND config file looks like on one of the domains I manage that does just this (slightly modified):
@ IN MX 1 ASPMX.L.GOOGLE.COM.
@ IN MX 5 ALT1.ASPMX.L.GOOGLE.COM.
@ IN MX 5 ALT2.ASPMX.L.GOOGLE.COM.
@ IN MX 10 ASPMX2.GOOGLEMAIL.COM.
@ IN MX 10 ASPMX3.GOOGLEMAIL.COM.
@ IN A {cPanel IP Address}
www IN A {IP Address}
You can edit www with a wildcard such as...
*. IN A {IP Address}