I've been looking into the DNS issue here what I got, I added a logical interface with the ip 1.1.1.1
cofdr01 > ifconfig hme0 addif 1.1.1.1 up
Created new logical interface hme0:1
added 1.1.1.1 testftp /etc/hosts
/etc/nsstich.conf was hosts:files dns
cofdr01 > ping 1.1.1.1
1.1.1.1 is alive
cofdr01 > nslookup testftp
Server: blah.blah
Address: 170.30.9.12
then changed nsswitch.conf
hosts: dns
ping didn't work either did nslookup
cofdr01 > arp -d 1.1.1.1
1.1.1.1 (1.1.1.1) deleted
cofdr01 > arp -d testftp
arp: testftp: unknown host
from testing this with truss I've found nslookup doesn't look in nsswitch, ping does as I added the files option to nsswitch.conf and
cofdr01 > ping testftp
testftp is alive
Dataprotector I think, looks for the existance existance of resolv.conf and goes ahead otherwise looks in /etc/hosts, I'll try a truss later on a UPDATE
heres the opened files whilst running
truss -o /tmp/kie omnicc -update_host mgunix11 ; grep open /tmp/kie
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libnsl.so.1", O_RDONLY) = 3
open("/usr/lib/libsocket.so.1", O_RDONLY) = 3
open("/usr/lib/libw.so.1", O_RDONLY) = 3
open("/usr/lib/libBrandChg.so", O_RDONLY) Err#2 ENOENT
open("/opt/omni/lib/libBrandChg.so", O_RDONLY) = 3
open("/usr/lib/libc.so.1", O_RDONLY) = 3
open("/usr/lib/libdl.so.1", O_RDONLY) = 3
open("/usr/lib/libmp.so.2", O_RDONLY) = 3
open("/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1", O_RDONLY) = 3
open("/etc/netconfig", O_RDONLY) = 3
open("/dev/udp", O_RDONLY) = 3
open64("/etc/.name_service_door", O_RDONLY) = 3
open64("/opt/omni/lib/nls/C/omni.cat", O_RDONLY) = 4
open("/usr/share/lib/zoneinfo/GB", O_RDONLY) = 5
open64("/etc/opt/omni/cell/cell_server", O_RDONLY) = 5
open("/etc/nsswitch.conf", O_RDONLY) = 5
open("/usr/lib/nss_files.so.1", O_RDONLY) = 5
open("/etc/services", O_RDONLY) = 5
it looks in nsswitch.conf bollx, wonder if it has a reading problem, I've copied a good nsswitch file from another. Could this be a new problem for the DP lab boys ?