This question already has an answer here:
I have a mailserver that should resolve everything from mydomain.com to an internal DNS server and everything else (to send email) from an external DNS server. The internal DNS server can't resolve (forward) from the public internet.
It appears to me that that can't be done in resolv.conf and i wonder if i need to setup DNS locally on that mailserver.
Or are there other ways?