nixos/home/routing-common: More Disney+ IPv6 workarounds

This commit is contained in:
2024-06-05 20:21:48 +01:00
parent 41fd54cfad
commit b8ee21b6e8
2 changed files with 5 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ in
-- Disney+ doesn't like our IP space...
function preresolve(dq)
local name = dq.qname:toString()
if dq.qtype == pdns.AAAA and (string.find(name, "disneyplus") or string.find(name, "disney-plus")) then
if dq.qtype == pdns.AAAA and (string.find(name, "disneyplus") or string.find(name, "disney-plus") or string.find(name , "disney.api")) then
dq.rcode = 0
return true
end