I would like to redirect all traffic that goes through a DNS server to a local Proxy or on the same machine ... example: 10.0.0.10 (DNS) > > Local Proxy > > Internet
EX: For example, machine with ip 10.0.0.11 > (10.0.0.10) and all the traffic of the dns pass through a proxy of the same machine that the dns is installed, and the machine 10.0.0.11 access the proxy server by the dns of the machine 10.0.0.10
I have the CentOS 7 system