How to override a DNS entry on internal network? (for soem hosts only!)
Chris Buxton
cbuxton at menandmice.com
Tue Jul 22 00:47:24 UTC 2008
No, but you can come closer than your first attempt.
Instead of creating a private version of mydomain.com, create a
private zone named host1.mydomain.com. That will replace the public
version of host1.mydomain.com with your private version. However, the
side effect is that it will also replace (or remove) any public record
with a name of somethingelse.host1.mydomain.com - that is, your zone
will replace an entire domain tree starting at host1.mydomain.com, not
just a particular node in the namespace tree.
Chris Buxton
Professional Services
Men & Mice
On Jul 18, 2008, at 11:18 AM, maram66 at gmail.com wrote:
> Hello!
>
> We have a bind DNS in our company, and we would like to be able to use
> it to override the mappings provided by an external master DNS server
> for our domain.
>
> For example...
>
> There is a ns1.mydomain.com somewhere out there on the internet and it
> translates the following hostnames:
>
> host1.mydomain.com (123.123.123.123)
> host2.mydomain.com (123.123.123.124)
>
> we now want to be able to override the entry for host1.mydomain.com if
> looked up from within the company intranet which is served by the
> Company intranet DNS...
>
> BUT
>
> ... in this intranet DNS we want to edit only the hosts that we want
> to override. Meaning there was no host2.mydomain.com entry in
> intranet DNS then the Internet DNS Server should be looked up and the
> 123.123.123.124 IP returned.
>
> I was able to set the intranet DNS to override the whole domain but I
> don't want to have to enter each Master record of the internet DNS. Is
> there some way to pass the query to another domain DNS if no local
> entry found?
>
> Any other suggestions?
>
More information about the bind-users
mailing list