Thomas Damgaard's Blog

Configure DNS search domain on Red Hat

8 April 2022 - Thomas Damgaard

On Red Hat Enterprise Linux (RHEL), a DNS seach domain or suffix is configured through the file /etc/sysconfig/network-scripts/ifcfg-<NIC>

To add a search domain, simply add

or for multiple seach domains:

Filed under: config, linux, rhel, tips