Help with local devices

when I use shadowsocks on my phone, I find it unable to use chrome cast / any sort of cast on my phone.
Is there a local dns I need to enable to get it to not use shadowsocks dns for local addresses?