Configure DNS via resolv.conf on AIX

From Notes_Wiki

Home > VOIS or AIX > Configure DNS via resolv.conf on AIX

As per https://www.ibm.com/docs/en/aix/7.2?topic=formats-resolvconf-file-format-tcpip we need to directly create /etc/resolv.conf file on AIX to configure DNS. The syntax is similar to modern Unix systems such as:

domain DomainName
nameserver <Address1>
nameserver <Address2>

For example:

domain example.com
nameserver 10.1.1.1
nameserver 10.2.2.2

This assumes '/etc/netsvc.conf' has 'hosts=local,bind' default value.

Refer:


Home > VOIS or AIX > Configure DNS via resolv.conf on AIX