mirror of
https://github.com/SEPPDROID/JellyCAT.git
synced 2025-10-27 10:24:21 +00:00
added more config options + reverse proxy for secure jellyfin servers (tryout) && connecting to JF server :)
This commit is contained in:
@@ -49,7 +49,7 @@ func handleDNSRequest(w dns.ResponseWriter, r *dns.Msg) {
|
||||
}
|
||||
|
||||
func shouldHijack(name string, qtype uint16) bool {
|
||||
return (name == config.HijackApp || name == config.HijackImg || name == "jcathost.dns.") && (qtype == dns.TypeA || qtype == dns.TypeAAAA)
|
||||
return (name == config.HijackApp || name == config.HijackImg || name == "jcathost.dns." || name == "jellyfin.dns.") && (qtype == dns.TypeA || qtype == dns.TypeAAAA)
|
||||
}
|
||||
|
||||
func handleHijackedRequest(name string) {
|
||||
|
||||
Reference in New Issue
Block a user