Google seem determined to break local name resolution on your home network on your Android phone, redirecting DNS lookups to their servers. Presumably this is partly to prevent solutions like pi-hole making a dent in their ad revenue and tracking.
Easiest way round this is to install DNSChanger and specify your local DNS servers – this works like a fake local VPN and your local hosts will resolve.