Name Resolution
Bradley T. Freese
freese at dalvm41b.vnet.ibm.com
Wed May 15 07:50:09 AEST 1991
RRH at vm.nrc.ca writes:
> Hello Netters,
> Our AIX user has run into another question/problem. On our SUNs &
> SGIs the command ping vm works. The host vm has a fully qualified name
> of vm.nrc.ca . The AIX, SUN and SGI are in the di.nrc.ca domain.
> However the ping vm fails and ping vm. or ping vm.nrc.ca The
> /etc/resolv.conf has domain di.nrc.ca. Is there any way to tell the
> AIX machine to behave like the others or are we stuck with it?
In a word, yes. The behavior you report is standard for AIX.
Basically, AIX has two methods for resolving a name, based on whether
it has a period ('.') in it. If the name has a period *anywhere* in
it, AIX simply passes it to the domain name servers unchanged. If
the name has no period in it, AIX appends the domain name found
in /etc/resolv.conf and passes the result to the name servers. Either
way, if the name servers do not respond, AIX searches through
/etc/hosts and then quits.
More information about the Comp.unix.aix
mailing list