/etc/resolv.conf
- Dominant language
- C
- Stars
- 20.5k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
this is a feature request and/or bug report.
8.8.8.8 and 8.8.4.4 (google DNS servers) are configured as part of the DHCP server setup on my router. And all the DHCP clients (other devices connected to the same local network using DHCP to request IP address etc) are all getting correct dns servers. However, ish would sometimes not be getting them instead ish wrote DHCP server/router address (192.168.10.1 in my case) to /etc/resolv.conf. And this caused a problem as the router is not configrued to be a dns server or dns forwarder.
I had to manually create /etc/resolv.conf and put in google DNS servers so name resolution would work. I tired to make the file to be readable, but it would still be modified.
Is it possible to make ish recognize or use a customized DNS servers? or at least not to overwrite /etc/resolv.conf?
Thanks.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the DHCP setup described in the issue and inspect how /etc/resolv.conf is populated or overwritten. Compare the received DNS servers with the router address, then verify that customized DNS settings are preserved or that an invalid router resolver is no longer written, including a name-resolution check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100