How can I configure network Manager via nmcli to add the option parameters in resolv.conf in RHEL7?

Solution Unverified - Updated -

Issue

  • I need to set a few option parameters within the /etc/resolv.conf, however they are getting overwritten by NetworkManager. How can I configure network Manager (preferably via nmcli) to add the option parameters in resolv.conf -
options timeout:0.3 attempts:1

Environment

  • Red Hat Enterprise Linux 7.1
  • nmcli
  • resolv.conf

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.