Original Message:
Sent: Thu June 22, 2023 08:41 PM
From: Stephen Ulmer
Subject: How do you configure DNS on VIOS?
Your resolv.conf file is not self-consistent.
Do you want short names to be resolved with "dekko.com" or "corp.dekko.com"? Your current config will never try "dekko.com". Also, "domain" and "search" are mutually exclusive, and "domain" has been deprecated for some time.
As mentioned by others, cfgnamesrv is the VIOS-approved way to configure the resolver.
--
Stephen L. Ulmer
Enterprise Architect
Mainline Information Systems
This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify sender by e-mail, and destroy the original message.
Original Message:
Sent: 6/21/2023 11:03:00 AM
From: Robert Berendt
Subject: RE: How do you configure DNS on VIOS?
That worked. I did a touch to create the file. Used binary ftp (by ip address) to an IBM i. Used edtf to edit it to look like
domain dekko.com
nameserver 10.10.4.250
nameserver 10.27.4.180
nameserver 10.17.4.180
search corp.dekko.com dekko-1
Then I used binary ftp to get it back. Now ping by name works.
------------------------------
Robert Berendt IBMChampion
Original Message:
Sent: Wed June 21, 2023 10:35 AM
From: Robert Berendt
Subject: How do you configure DNS on VIOS?
Is this it?
https://www.ibm.com/docs/en/aix/7.1?topic=resolution-configuring-host-use-name-server
If so, now I have to figure out how to edit a file on VIOS. I'm more of an IBM i guy.
------------------------------
Robert Berendt IBMChampion
Original Message:
Sent: Wed June 21, 2023 10:31 AM
From: Robert Berendt
Subject: How do you configure DNS on VIOS?
I am running 3.1.4.21 of VIOS.
Recently I was trying stuff like sending a file and it quickly became apparent that there were no binding to any DNS servers set up on this lpar of vios.
I tried a few google searches and got no where. How do I set it up so the following works?
$ ping ibm.com
Some error messages may contain invalid information
for the Virtual I/O Server environment.
0821-062 ping: host name ibm.com NOT FOUND
I know the IP addresses of our internal DNS servers. I just don't know how to enter them in VIOS.
------------------------------
Robert Berendt IBMChampion
------------------------------