[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Which resolv.conf file?



	Hi.

On Wed, Jul 31, 2019 at 01:46:45AM -0400, Bob Bernstein wrote:
> I want to make a change or two to resolv.conf, but every time I come
> across it I flee in terror, warned that my changes will be destroyed
> and the linux gods angered.

Have you meant this resolv.conf line?

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by # resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN


> What is the approved method for changing the list of DNS servers
> called upon by, in my case, Stretch on amd-64?

Assuming it is, and you're using ifupdown, you need to change
"dns-nameserver" stanza in the interface definition.

Reco


Reply to: