I have a flint 2 router and setup a VPN across all my devices. I have block client DNS enabled to force everything through the vpn tunnel. This has worked well across my devices except for my Amazon firestick which forces GoogleDNS servers. This results in DNS leakage.
Is there any way I could block GoogleDNS through a command?
I am new to dd-wrt so any help would be greatly appreciated.
I'm not sure what you're talking about as far as DD-WRT goes since GL.iNet devices don't use that firmware. Anyway, on your router, assuming it's running the GL.iNet OS (customized OpenWRT, so similar to DD-WRT, I think?), you can capture and redirect traffic destined to Google's DNS servers using what's called a "static route."
The first thing you'll have to do after logging into your router is go to the System->"Advanced Settings" area and use the link to access LuCI. You'll log into that with the same password you use for the regular administrative page. Once in the LuCI interface, go to Network->"Static Routes". Create these IPv4 routes:
At that point, your router will redirect any and all traffic destined to the Google DNS servers (both IPv4 and IPv6) to itself. If any device insists on using Google DNS, it will either unknowingly use your router's DNS or it will fail. I've tested this against Google hardware (Google Home/Nest devices), and it still works, but no longer uses Google's DNS, so it should work just fine for an Amazon Firestick.