Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm setting up a meeting and I'd like to have the computers here (which are for accessing the meeting website only) blocked from accessing the public Internet.

I'd like to set up bind to return the same IP for ALL DNS queries - no passing upstream, no "not found". Is this possible?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

To do this I believe you would create a master zone named "." in your named.conf (comment out the default "." zone with the hints information). Then, create a zone file which contains a series of wildcard records for the IP that you want to have everyone directed to.

If other people will be connecting their own computers to this network for the meeting, then keep in mind that some people will use their own DNS settings (OpenDNS, Google Public DNS, etc.) instead of the DNS server issued by DHCP, so unless you're blocking DNS at the firewall there is still a way around it. An HTTP proxy server at your routing point might be a better solution if that is the case.

share|improve this answer
    
Thanks! People with their own computers are welcome to surf, we just want to ensure the public terminals aren't taken up with folks checking webmail. This'll work nicely. :-) –  ceejayoz Apr 13 '10 at 17:26
    
In that case you might also consider running the web browser with a kiosk plug-in which limits what they can do with the computer. Webconverger.org has a free Debian LiveCD you can customize to go to a specific URL and disable the address bar, etc. This gets people to the web site and also locks the system down so they can't use the computer for anything else. –  Justin Scott Apr 13 '10 at 17:35

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.