Difference between revisions of "Configure DNS via resolv.conf on AIX"
From Notes_Wiki
(Created page with "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: <pre> domain DomainName nameserver <Address1> nameserver <Address2> </pre> For example: <pre> domain example.com nameserver 10.1.1.1 nameserver 10.2.2.2 </pre> Main Page|Hom...") |
m |
||
Line 15: | Line 15: | ||
</pre> | </pre> | ||
This assumes '<tt>/etc/netsvc.conf</tt>' has '<tt>hosts=local,bind</tt>' default value. | |||
Refer: | |||
* http://how-2-know.com/main/how-to-configure-dns-on-aix/ | |||
[[Main Page|Home]] > [[VOIS or AIX]] > [[Configure DNS via resolv.conf on AIX]] | [[Main Page|Home]] > [[VOIS or AIX]] > [[Configure DNS via resolv.conf on AIX]] |
Latest revision as of 07:25, 22 July 2022
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: