DNS showing Unknown

I flashed 2601 Jacaranda on my micro-SD card a few weeks ago. And I started getting retroachievment login failure: no response errors when launching games this past week when I was on vacation. I had added my 4th WiFi profile. When I got back, I realized that no matter what networking I was on, my DNS showed unknown. I enabled Secure Shell and connected to the handheld to check the dhcpcd.conf file. The only line showed:

iaid 7610

I edited dhcpcd.conf to match the file in github

clientid
persistent

noipv6
noipv6rs
noipv4ll

option routers
option domain_name_servers, domain_name
option classless_static_routes
option interface_mtu

require dhcp_server_identifier

After that I saved the file and rebooted my handheld and then it started picking up DNS from my router again.

I had seen another post with the same issue and just wanted you to know the solution I came up with. I guess something happened that corrupted the dhcpcd.conf file.

Wanted to get this out there because this fix took 5 minutes, where reflashing an SD card and setting up all your configs, overlays, and shaders and all takes quite a while.

Not sure what is causing this, but the dhcpcd.conf file got corrupted again and I had to edit it again. I only have 1 wifi profile now and never let the battery die and don’t use the reset button.