DNS Stub Zones / Forwarding Question

J

Joe Hughes

Hi,

I have a Win2k DNS server not hosting any zones. I wish to 'selectively'
forward queries for "somedomain.com" to a specific DNS server. I think this
is possible using stub zones, but these only seem to feature in Windows
2003.

What I want to happen is;

-- Query comes in for "somedomain.com"
-- DNS server knows the NS for "somedomain.com" is xx.xx.xx.xx
-- DNS server forwards request to xx.xx.xx.xx
-- Done..

Is there a way to achieve this in Windows 2000. I am unable to use zone
transfers, and I dont want 'other' queries (e.g. hotmail.com) being
forwarded to "somedomain.com" - just zone specific queries...Perhaps by
editing the zone files directly.. ?

Thanks in advance

Joe
 
K

Kevin D. Goodknecht Sr. [MVP]

In
Joe Hughes said:
Hi,

I have a Win2k DNS server not hosting any zones. I wish to
'selectively' forward queries for "somedomain.com" to a specific DNS
server. I think this is possible using stub zones, but these only
seem to feature in Windows 2003.

What I want to happen is;

-- Query comes in for "somedomain.com"
-- DNS server knows the NS for "somedomain.com" is xx.xx.xx.xx
-- DNS server forwards request to xx.xx.xx.xx
-- Done..

Is there a way to achieve this in Windows 2000. I am unable to use
zone transfers, and I dont want 'other' queries (e.g. hotmail.com)
being forwarded to "somedomain.com" - just zone specific
queries...Perhaps by editing the zone files directly.. ?

The only way this is possible in Win2k is to use a Root Zone and
delegations, The problem with that is any name that is not specifically
delegated, won't resolve. You can download a delegated root zone, and set it
up as a primary then work your way through it to delegate the domains to the
DNS server you want them delegated to. The problem with this is the
delegated zone won't update itself for any changes made in it so, you would
have to keep it up to date yourself. This is the article for Win2k3 for
installing a delegated root zone, it will work for Win2k, too.
294906 - How to Delegate All Internet Top-Level Domains on an Internal Root
DNS Server:
http://support.microsoft.com/default.aspx?scid=kb;en-us;294906
 
J

Joe Hughes

Thanks for your reply, after reading I noticed the example I gave wasn't
ideal. The tld of the domain in question is non-standard (e.g. ".sample").
So could i do something like? ;

To forward requests for the "test.sample" to a specific server

- Create a new zone "sample"
- Create a new delegated sub domain called "test" (test.sample) with
the NS set to the server that is able to serve it (e.g. ns.test.sample) ?

So then any requests for test.sample will be forwarded to ns.test.sample?
This obviously makes a difference because the ".sample" tld will not have
any other additional hosts asides from the "test" one.

Thanks again

Joe
 
K

Kevin D. Goodknecht Sr. [MVP]

In
Joe Hughes said:
Thanks for your reply, after reading I noticed the example I gave
wasn't ideal. The tld of the domain in question is non-standard (e.g.
".sample"). So could i do something like? ;

To forward requests for the "test.sample" to a specific server

- Create a new zone "sample"
- Create a new delegated sub domain called "test" (test.sample)
with the NS set to the server that is able to serve it (e.g.
ns.test.sample) ?

So then any requests for test.sample will be forwarded to
ns.test.sample? This obviously makes a difference because the
".sample" tld will not have any other additional hosts asides from
the "test" one.

Yep, that'll work for me. Pretty much the example I gave, as long as the TLD
is not going to be used in public you can do exactly this.
 
D

Deji Akomolafe

If you upgrade it to Win2K3, you get the advantage of conditional
forwarding. If you are feeling lucky, here's a lenghty discussion of
conditional forwarding for your reading pleasure:
http://www.akomolafe.com/Docs/W2K3/DNS/Stub Zones and Conditional Forwarding.htm

--
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
Microsoft MVP - Directory Services
www.readymaids.com - COMPLETE SPAM Protection
www.akomolafe.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top