192.168.86.1 is probably an okay setting if it's the LAN IP address of your home gateway router, but it sounds like either your router's DNS relay process is going slow, or your router's DNS relay process is using a list of upstream DNS servers that includes one or more servers that are not fast or reliable.
Some things to try:
- Check what DNS server IP addresses your router is using, and test them with a tool like
dig; one of them might be having problems.
- Consider changing your router's settings so it's using a faster / more reliable set of DNS server IP addresses.
- Consider rebooting your router if it's become slow at relaying DNS requests. Maybe it has a memory leak that slows it down over time.
- Consider changing your router's settings so its DHCP service serves out a list of fast/reliable DNS servers to clients, so clients bypass the built-in DNS relay of the router, if the router's DNS relay agent is the source of the added latency.
- Consider manually configuring your clients to use a list of fast/reliable DNS servers.
It's common for home gateway routers, when giving out NAT-private IP address leases via DHCP, to give out their own LAN-side IP address as the DNS server address, rather than giving out whatever DNS server address the ISP's upstream router gave them. So assuming 192.168.86.1 was your home gateway, that setting is reasonable.
This is done because DHCP doesn't provide a way for a DHCP server to push new settings to DHCP clients at the time that a setting changes. So if the home gateway's link to the ISP went down and came back up, and when it came back up, if the ISP sent a different set of DNS server IP addresses for clients to use, the gateway wouldn't have any way to push that new setting to the clients. So instead, the gateway asks all its clients to use the gateway as their DNS server, so it can always relay their DNS requests to whatever DNS servers the ISP has told it to use. It also means that if your ISP is giving you crappy DNS servers, you can fix the problem for your whole home network just by changing what upstream DNS servers your home gateway is set to use. So you don't have to go around to all your clients setting them to 126.96.36.199 or whatever.
This scheme has a downside of making your home gateway router a possible bottleneck for all DNS lookups. So if it's underpowered or buggy and can be slow at being a DNS relay, it adds latency to all your DNS lookups from any device on your network. In this case, it's good to make all your clients talk directly to fast/reliable DNS servers. You can either manually configure your clients for this, or you can change the settings in your router's built-in DHCP server process to make it serve out a better list of DNS server addresses when it gives out new DHCP leases to your clients.