Re: blank resolv.conf
Roy Marples
Tue Nov 10 08:53:35 2020
Hi Jan
On 09/11/2020 14:25, Jan Pohanka wrote:
I have dhcpcd 8.0.3 (a bit old, I know) on an embedded device.
Today I noticed that my resolv.conf is sometimes blank, even if my DHCP server
always provides a DNS value (confirmed through wireshark).
I have tried to fix it with a command dhcpcd -n eth0, this works but then I
found that when I repeat the command call I get periodically correct and blank
resolv.conf. Is that even possible?
Do you have any other application competeing to write to resolv.conf?
Do you have resolvconf(8) installed to manage this? I also maintain openresolv,
which is a good resolvconf implementation.
The hook script to manage resolv.conf has hardly changed from 8.0.3 and there is
nothing that stands out to say "this is the issue".
Roy
Archive administrator: postmaster@marples.name