If you want hostA.domain.tld to return local hostB.domain.tld to return public hostC.domain.tld to return local Then you would have to create host overrides for each specific fqdn that you want to return local. Or you can go the other way and do a redirect, and then just create records that point to your public IP for those fqdn.. Depends on how many you have on what side, etc.