• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 822
  • Last Modified:

Direct all DNS Requests to a local IP address

Hi,

I have created a portable wireless network and server (Windows Server 2003) which members of the public can access.  They are given an IP address via DHCP from the server.  There is no internet access available through this system.

I would like any user that opens up a browser to be directed to the web server of our server.

Essentially I want to capture any DNS requests and rather than performing a query - I want to return the IP address of the server.

I'm hoping there will be a simple way to this using wildcards within the Windows DNS server setup?

Thanks!
0
Mango-Man
Asked:
Mango-Man
1 Solution
 
meverestCommented:
are you talking about a walled garden scenario like for a wifi hotspot login page or something?

That is a job for the wireless access point device - not for windows DNS.

There are lots of solutions around for this - there is the popular freeware 'chillispot', and there is commercial systems like Mikrotik that can handle that sort of thing very well.

Cheers.
0
 
Chris DentPowerShell DeveloperCommented:

Hey,

If it's nothing more complex than stated above we can certainly do that. But this will really mess things up if you need to use the same DNS server to resolve public requests.

1. Open DNS Manager
2. Expand Forward Lookup Zones
3. Right click and select New Zone
4. Type is Primary
5. Enter the Zone Name as . (just a dot, on its own). That makes the zone a Root Zone, responsible for everything.
6. It will give you a default file name, that can stay as it is
7. Disable Dynamic Updates if it asks

Then you need a Wildcard record to provide the answer:

1. Select the Root Zone (.).
2. Right click and add a New Host (A) Record
3. In Name enter *
4. Enter the IP address of the server you want to respond

That's it, on a connected client run "ipconfig /flushdns". NSLookup or Ping to any name should reply with the IP we've set above.

HTH

Chris
0
 
Mango-ManAuthor Commented:
Perfect - thanks!
0
 
matcharlesCommented:
Thanks Chris-Dent!  That works great but what if you want to only direct initial http req to a single splash page, then the wireless hotspot user can go wherever they want on the Internet.  Basically, I am trying to find a way to do this without changing multi-vendor firmware on about 20 disparate hotspots and use a DMZ DNS server to start the user on a splash page and then set them free from there.  Any ideas??
0
 
Chris DentPowerShell DeveloperCommented:

Then you need to look beyond DNS at products built to do that for you I'm afraid.

It's something Cisco discuss in their documentation:

http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008067489f.shtml#backinfo

We won't be able to take that function away from the network layer though.

Chris
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now