It is intercepting the DNS requests that it can see from the client.
It's protecting against someone that wants to hijack the DNS requests and give you a response that the attacking wants you to receive.
In order to stop DNS tunneling and DNS exfiltration, you need something that does this on the application layer, it needs to detect the anomaly of such requests that look legitimate and comply with the DNS rfc.