To change your DNS server, head to Settings > Wi-Fi, long-press the network you're connected to, and tap “Modify Network”. To change DNS settings, tap the “IP settings” box and change it to “Static” instead of the default DHCP. Depending on your device, you may need to check an “Advanced” box to see this setting.
Do you still need help of how to change DNS? If yes, this article might be helpful for you mate https://windowsmaximizer.com/blog/dns-server/ I have had the same issue with my DNS server. I got the good solution from the above article. You can try it.