my android box send request to ” http://connectivitycheck.gstatic.com “ this web address every minute two three time. I did web search this & there is a solution for this is to run fake web page
as this is the old page & pi hole updated many time. As now there is option of local DNS record. I need to configure it. Please some body in expert make step by step guideline so that I can configure all that system on my single raspberry pi. Also I want to request the pihole administrators to make some functionality in there system so that pihole can smartly configured to do these tasks as in future there are many IOT devices need this type of configuration. Thanks in advance
It is not clear to me what you want to do. Do you want to map the connectivitycheck.gstatic.com domain name to a local IP? And the local IP leads to a web server that will provide some reply to the requesting client?
yes, the end result want to run the page local & divert all calls to local address which respond back according to client requirement & avoid the unnecessary outbound traffic to google servers.
Thanks @JFB i also need to help to make web page with its functionality, as in raspberry/pihole lighttpd already installed. i want to make program/page so that it will not adversely effect pihole & run independently.
I follow those instructions, but in the end " http://connectivitycheck.gstatic.com/generate_204/" page is not responding. so something wrong for me somewhere or i missed something. i am newbie for linux so more simple instruction appreciated with latest software.
# Add user chosen options held in external file
include_shell "cat external.conf 2>/dev/null"
some thing is missing at external.conf. i install php & able to access testing php html page. so that portion is working but this external.conf is not working.