Is there any linux DNS server software the will block certain sites at a particular time of day?
|
|
I think what you are looking is a proxy software that will allow you to deny/allow http requests. Squid, should work for you. Please note this isn't exactly trivial using setting up the config file. However, I did find a post that might be relevant to your specific problem. As Hennes eludes to, DNS only services name resolutions (transforms www.google.com to 173.194.74.139). |
|||
|
|
|
DNS can not block access. It can refuse to resolve or return a different host. Both of those might not work as expected if the client caches DNS information. Example: You have a site which should only resolve between 9AM and 5PM
An other example:
I am not sure what goal you want to achieve, but if you want to block sites from a coorperate network you might want to look at proxy software. |
|||||||||
|
|
A solution can be to use your own webserver that runs a script to check the time, if it's within the time range forward the request to the actual server, if it's not return stuff like 403 or 503. Then use DNS to hijack the actual site. |
|||
|
|
