dnsproxy: Use DNS header in checks