I have a RHEL5 box running bind9 as an intranet dns server for our office. I'm having trouble formulating the question. Please bear with me.
Assume my domain is bob.com and the dns records for bob.com are managed by my hosting provider. I would like to set up an intranet server: dev.bob.com , only visible on the intranet.
from the internal network:
dig bob.com @intranetdns
should return the server IP address from the hosting provider (e.g. 18.104.22.168) and
dig dev.bob.com @intranetdns
should return the dev server's local ip address (e.g. 192.168.1.10) from the local dns
I would like to be able to say "this hostname resolves to this IP address, go to the external DNS for everything else" I'm not a bind guru, though I have worked with it a bit and set up views etc.
How can I do this, is this possible?