Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 192.168.1.120, 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

1 Answer 1

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

Your Answer

 
discard

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.