Help with IPv6 edge case with Netflix and iPhone

Add line “option include_config ‘/etc/kresd/custom.conf’” in section “option include_config ‘/etc/kresd/custom.conf’” in file /etc/config/resolver.

Create file /etc/kresd/custom.conf with:

modules = { 'policy' }

local function filterAAAA (state, req)
        local qry = req:current()
        if qry.stype == kres.type.AAAA then
                return kres.DONE
        end
        return state
end

-- block netflix ipv6 resolution as it blocks tunnelbroker
policy.add(policy.suffix(filterAAAA, policy.todnames({'netflix.net.', 'netflix.com.', 'nflxext.com.', 'nflximg.com.', 'nflxvideo.net.', 'nflxso.net.'})))
5 Likes