Page 1 of 1

[SOLVED] - how to set options for resolv.conf inside ifcfg- files

Posted: 2020/06/01 19:58:42
by warron.french
How do I set an option needed inside /etc/resolv.conf such as

Code: Select all

options timeout:1
From /etc/sysconfig/network-scripts/ifcfg-ens192?
Is there a way?

Re: how to set options for resolv.conf inside ifcfg- files

Posted: 2020/06/01 20:25:45
by warron.french
HA! I found the solution, I just wasn't sure.

This syntax is place into the file /etc/sysconfig/network:

Code: Select all

RES_OPTIONS="timeout:1"