You are not logged in.

#1 2011-09-10 11:22:15

rayman
Member
Registered: 2010-09-09
Posts: 37

Dnsmasq redirect if site is down

I have a dnsmasq dns-server set up on a computer in my LAN. I want my dns server to test whether wikipedia.com is reachable, and if it's not, point the client computer to a local copy of wikipedia. I was thinking I could do this with a few frequently visited sites, and have some script that tests whether those sites are up every five minutes. Dnsmasq could then read from a file whether it should redirect or not.
Is this possible?

Thanks!

Last edited by rayman (2011-09-10 11:27:15)

Offline

Board footer

Powered by FluxBB