Configure DNS via resolv.conf on AIX

From Notes_Wiki
Revision as of 07:25, 22 July 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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