Random   •   Archives   •   RSS   •   About   •   Contact

Set DNS resolver options

I desire the following options in /etc/resolv.conf:

rotate timeout:1 attempts:1

Ubuntu or Debian

For Ubuntu or Debian based systems, place the options in /etc/resolvconf/resolv.conf.d/base:

rotate timeout:1 attempts:1

These options merge with the options from DHCP and end up in /etc/resolv.conf.

Then restart the host, or at least networking.

Redhat or Centos or Fedora

For Redhat, Centos or Fedora, add the following to /etc/sysconfig/network:

RES_OPTIONS="rotate timeout:1 attempts:1"

Then restart the host, or at least networking.




Want comments on your site?

Remarkbox — is a free SaaS comment service which embeds into your pages to keep the conversation in the same place as your content. It works everywhere, even static HTML sites like this one!

uncloseai.js example for static sites


Remarks: Set DNS resolver options

© Russell Ballestrini.