Configuring resolv.conf with linuxconf

The /etc/resolv.conf file contains the configuration for the DNS client (resolver). It typically looks something like this:

search domain.cxm
nameserver 192.168.211.34
nameserver 192.168.100.1

Caution

Before editing any configuration file, with an editor or with a tool like linuxconf, back it up. Original distribution or installation-default files should be backed up to files with .org appended to the end (such as resolv.conf. org). Other revisions can be backed up with the naming convention of your choice, as long as they don't overwrite the .org files. Take care never to change or overwrite an .org file.

Note that with tools like linuxconf, it's not always possible to predict every configuration file ...

Get Red Hat® Linux® 7 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.