Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

on my lan i have two servers. One windows server 2008 and one debian webserver. I would like to configure my windows DNS to redirect all traffic on my lan to, for example "" to my local webserver (on How do i configure my windows DNS to do this kind of redirection?

share|improve this question
up vote 3 down vote accepted

Are you trying to do a URL redirect or just point to

if it's the latter, just create a zone called with an A record of

If you're trying to do * to then you still will want an A record as above, but you would create a cname called * to point to

Then simply make sure your clients have your local DNS server pushed out (via DHCP).

If i misunderstood the request, let me know.

share|improve this answer

You can also create a secondary zone on your windows serveur 2008 DNS role, which will act as a redirection to your Debian server that contains the primary zone file.

To do so, just go in your DNS Role, left click on left listing, and select "New zone", it will ask you to choose between a principal, secondary, or stub zone. Select secondary, then all you have to do is to give the assistant the IP address of your debian server.

If the zone you want to redirect is well configured( use check zone-names -z if not), it will import the zone file from Debian and create the secondary zone on the windows server.

I don't know if that solve your problem, btw i don't know a way to do so automatically, nor dynamically .

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.