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

Issues related to configuring your network
Post Reply
User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

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

Post by warron.french » 2020/06/01 19:58:42

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?
Last edited by warron.french on 2020/06/01 20:26:09, edited 1 time in total.
Thanks,
War

User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

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

Post by warron.french » 2020/06/01 20:25:45

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"
Thanks,
War

Post Reply