Super User is a question and answer site for computer enthusiasts and power users. 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

Is there a way to define some kind of virtual DNS server for users connected to my wifi network? I mean, in my network there is a web server connected directly to the router with an IP like, of course if somebody on the network writes that IP they will access the server with no problem, but i want them to write something more friendly like http://localserver/ without having to modify the host file.

One solution could be to define the web server ip as DMZ (or redirect just the port 80) and use a DNS server like noip or dyndns pointing to the router ip, this will do the trick but this solution will require the router to be connected to internet, and I cant do that (design requirements).

share|improve this question
Are the wireless clients using DHCP? It may be possible to force them to use your DNS servers, or possibly if your router already acts as one, just add the hostname to the router. This depends on make/model and firmware. – David Houde Apr 21 '13 at 8:22

Set up a local DNS server. I use Unbound. it's a caching recursive DNS server but can also serve up local data. Use it to serve up your local data and for non-local data you may either forward the queries or use it as a resolver.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .