I want to build my own small smart dns-proxy server with following features:
- Client sets DNS Server like (2.2.2.2 <- MY DNS Server includes Proxy Squid)
- Client sends request for sepcial domains (youtube.com etc.)
- DNS responses: 2.2.2.2 (my proxy server)
- My proxy is now connecting to another-location-proxy: 3.3.3.3:6060 (SOCKSv5)
- My Proxy is getting the content which is requested and sends only this back to the client.
So my goal is to send only this specific request to the SOCKS Proxy.
Is it possible with the software powerdns and squid for example?
Thanks.