I’m on 11 now, but I remember setting this sort of thing up under 10, as well. It’s configured per Wireless Network rather than as a general phone setting, but that works fine while at home. Example DNS config under iOS 11. I run a caching DNS server on my LAN, but fall back to Google DNS.