Dnsmasq as captive portal dns

hello . i m trying to make captive portal dns server .i use dnsmasq to set up the dns in the config file use : server= < CPD URLs / ipaddr >

CPD is captive portal detection urls like :

the "sing in to the network" sucsessfully pop up in the connected device

is there any option to unreddirect those CPD urls after 3 seconds with dnsmasq so that the notification disapear after 3 seconds

man dnsmasq : http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

1 Like

The LibreMesh project has implemented Pirania, a mesh open source captive portal solution. It is still an ongoing effort, but you can already see how they deal with DNS and traffic filtering.

The project lives here: https://github.com/libremesh/lime-packages/tree/master/packages/pirania

2 Likes