> One place to check is /etc/nsswitch.conf. > > Look for the line starting with > hosts: > > A working value is > hosts: files dns > > This says when looking up host names, first check the > /etc/hosts file and then do a dns lookup. If the dns > token is not present, ping and other utilities which > use the gethostbyname() call will not do a dns lookup. > > Bob Styma > I had already checked that. It says what you mentioned. Regards from Vijay G.