Hi I have an newbie point of view for CNAME cloaking problem.
Using PiHole V5.0
When looking for abs.twimg.com (twitter video and picture host)
abs.twimg. com is an alias for cs196.wac.edgecastcdn. net.
cs196.wac.edgecastcdn. net is an alias for cs2-wac.apr-8315.edgecastdns .net.
cs2-wac.apr-8315.edgecastdns. net is an alias for cs2-wac-eu.8315.ecdns. net.
cs2-wac-eu.8315.ecdns. net is an alias for cs45.wac.edgecastcdn. net.
cs45.wac.edgecastcdn. net has address 18.104.22.168
cs672.wac.edgecastcdn.net has IPv6 address 2606:2800:134:fa2:1627:1fe:edb:1665
This is lots of redirection (aliasing)
So I have made a static input for abs.twimg .com but this is not a good solution for long term. I can use this ip approx. for 5 days.
When the ip for abs.twimg. com changed, this solution will not help. And must be changed manually again.
So is it possible to make this automated.
1- When a CNAME contain a blocked host for aliasing,
2- Make a static input to Custom DNS (for v5.0), if input already exist
3- Control, is this IP adress same with static input, if not
4- Change the static input IP with new one.
I can use it non-automated with high performance. Wish this point of wiev help something. (I am not an DNS enthusiastic so I made a simple solution for my needs)
Thanks for yout time and efforts for project.