Realtek Semiconductor Co., Ltd. Device d723
I have a bad internet connection where I live, and lose connectivity a lot. That's normal, but I've noticed that if I tried to visit a website while the wifi is down, that website usually results in a
DNS_PROBE_FINISHED_NXDOMAIN
error, which corresponds to a non-existent domain result from the DNS query, if I'm not mistaken.This is easily resolved using the following command:
sudo nscd -i hosts
to flush the DNS cache.I was wondering why I experience this error so often on Linux machines. I had thought it may have been some complicated reason related specifically to my old laptop, because it wasn't like that at first, but my new laptop with a fresh install of Linux has the same issue when I have poor connection. Wondered if anyone else could give some more insight into the DNS caching process and how bad results end up occurring and being cached.