Redirecting subdomain to different resolver

feralert feralert at
Thu Oct 20 14:51:13 UTC 2011

Thank you guys, I have finally solved it.

Eduardo: Sorry, I think you didnt get me right or I didnt explain
myself properly, thats not what i was looking for, but thanks for

Matus: Unfortunately I am running bind 9.4 so I couldn't try what you
propose, altough what i finally did was in the same direction.

Luckily enough I found this page:
and it did the trick for me.

What I did was add a zone for the FQDN with an empty 'forwarders' stanza:

zone "" { type forward; forwarders { }; };

And it did work! Now it goes resolve this particular host externally.

Thanks again for your help,

“Free software” is a matter of liberty, not price. To understand the
concept, you should think of “free” as in “free speech”, not as in
“free beer”.

Free software is a matter of the users' freedom to run, copy,
distribute, study, change and improve the software.

On Thu, Oct 20, 2011 at 9:22 AM, Matus UHLAR - fantomas
<uhlar at> wrote:
> On 19.10.11 17:26, feralert wrote:
>> I have a domain defined within a zone statement so it resolves
>> hostnames via the intranet, just like this:
>>               zone "" { type forward; forwarders {
>> Now there is this host which does not resolve internally (with an
>> intranet ip) but it does externally (wan ip):
>> And my problem is that I need to, somehow, override de 'zone
>> ""' statement, so this particular host/subdomain would
>> resolve externally.
> you must configure another zone "" or
> "".
> You can use type "static-stub" since 9.8 instead of "forward", it just
> requires using of "server-names" or "server-addresses" instead of
> "forwarders".
> Note that "forward" ask other servers to resolve a domain (sends recursive
> request), while "static-stub" defines servers that provide the destination
> domain (sends iterative requests).
> So, the "forward" can be configured to fall-back to standard resolution, and
> it can resolve delegated subdomains, if the forwarders allow recursion to
> you.
> --
> Matus UHLAR - fantomas, uhlar at ;
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Despite the cost of living, have you noticed how popular it remains?
> _______________________________________________
> Please visit to
> unsubscribe from this list
> bind-users mailing list
> bind-users at

More information about the bind-users mailing list