Thank you Jon.
I don't know how to tell the Name Server (Server 2003) to return the
other aliases?
If someone knows, I'll be happy to update the DNS config...
In the meantimne, I tried your idea to add the aliases in my local hosts
file.
I changed the resolution order to go to the local hosts file first.
I added all aliases I can think about (probably too many -:)
[reddog] (root) etc> cat
hosts 127.0.0.1
localhost.gpv.az05.bull.com localhost
loopback 141.112.17.140 reddog.gpv.az05.bull.com reddog.gpv.az05.bull
reddog.gpv.az05 reddog.gpv reddog
If I rerun the cde, I now get a similar output of yours:
[reddog] (root) GetHost.d> ./gethostbyname
reddog.gpv.az05.bull.com name reddog.gpv.az05.bull.com ->
reddog.gpv.az05.bull.com
reddog.gpv.az05.bull
(alias)
reddog.gpv.az05
(alias)
reddog.gpv
(alias)
reddog
(alias)
141.112.17.140 (addr)
But amcheck still failed the same way (30s timeout) IF I don't specify the
fqdn?
(I also tried to just have the fqdn and the name w/o domain)
Another thing: I run the program against one of my AIX client (same DNS
domain) and it returns the same thing (no aliases - just the fqdn). I also run
it on the AIX itself and same result (no aliases
However, this AIX system works okay with amcheck w/o specifying a fqdn
?...
Jerome
----- Original Message -----
Sent: Saturday, June 18, 2005 10:48
AM
Subject: Re: amcheck and fqdn names
On Sat, Jun 18, 2005 at 09:26:58AM -0700, Jerome Pioux
wrote: > > > Build the attached programs, gethostbyname and
gethostbyaddr. > > ... > > Make sure you get proper
resolution with the address, the fqdn, and the shortname. > > I
don't see anything wong but maybe you can? > > [reddog] (root)
GetHost.d> ./gethostbyname reddog > name reddog ->
reddog.gpv.az05.bull.com >
141.112.17.140 (addr) > > [reddog] (root) GetHost.d>
./gethostbyname reddog.gpv.az05.bull.com > name reddog.gpv.az05.bull.com
->
reddog.gpv.az05.bull.com >
141.112.17.140 (addr) > > [reddog] (root) GetHost.d>
./gethostbyaddr 141.112.17.140 > addr 141.112.17.140 ->
reddog.gpv.az05.bull.com >
141.112.17.140 (addr)
Yeah, the last two.
You seem to be able to
go from reddog to the FQDN but from neither the FQDN nor the addr to
reddog.
An example:
$ gethostbyname
butch.jgcomp.com name butch.jgcomp.com ->
butch.jgcomp.com
butch
(alias)
jgcomp.com
(alias)
loghost
(alias)
205.166.177.60 (addr)
Note it is listing all the aliases.
Don't
know why yours doesn't. In the example above the aliases are coming
from my local hosts file. But that doesn't have to be the
case:
$ gethostbyname mail.yahoo.com name
mail.yahoo.com ->
login.yahoo.akadns.net
mail.yahoo.com
(alias)
login.yahoo.com
(alias)
216.109.127.60 (addr)
HTH, maybe someone else has specific
suggestions.
-- Jon H.
LaBadie
jon AT jgcomp DOT com JG
Computing 4455 Province Line
Road (609)
252-0159 Princeton, NJ 08540-4322
(609) 683-7220 (fax)
|