Since casting JF to a Chromecast requires that it be resolvable by Google's DNS (or at least, it used to be that way I think), here's a fun trick to get it working: point your public DNS record to your private IP. It's apparently not always supported by your DNS provider, but it works great for me (namecheap).
No need to expose your JF instance over the Internet this way, and no need for complicated DNS interception stuff with your router.
You may need to have SSL certs for casting, not sure.
Right, that's easy, but IIRC google devices hard code their DNS servers for casting, so you need to intercept traffic bound for
8.8.8.8
.These folks suggest that just blocking the DNS servers allows you to use your own fallback. Haven't personally tried that, but perhaps more straightforward.