From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,ebf411255841bfa7,start X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail From: "Asterisk" Newsgroups: comp.unix.tru64 Subject: Tru64 V5.1 Name Resolving (DNS) problem Date: 29 Jul 2005 00:02:40 -0700 Organization: http://groups.google.com Message-ID: <1122620560.656459.8770@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: 202.6.193.20 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1122620564 27726 127.0.0.1 (29 Jul 2005 07:02:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 29 Jul 2005 07:02:44 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=202.6.193.20; posting-account=yKJwdQ0AAACKyHCTq3YWePhRZoVbghRm Xref: g2news1.google.com comp.unix.tru64:231 Hi Experts, I've encountered a problem related to Name Resolving on my Tru64 Box. I've defined the name servers' IP on the "resolv.conf" as below: nameserver xxx.xxx.xxx.xxx nameserver yyy.yyy.yyy.yyy And the "nsswitch.conf" contains the following entries: aliases: files auth_prpasswd: files group: compat group_compat: nis hosts: files dns netgroup: nis networks: files passwd: compat passwd_compat: nis protocols: files rpc: files services: files By using "nslookup" on the Tru64 box, I can resolve the name into IP: #nslookup Default Server: dns01-aa.bbbbbb.abc Address: xxx.xxx.xxx.xxx > www.cisco.com Server: dns01-aa.bbbbbb.abc Address: xxx.xxx.xxx.xxx Non-authoritative answer: Name: www.cisco.com Address: 198.133.219.25 But I can't ping the www.cisco.com: # ping www.cisco.com ping: unknown host www.cisco.com The ping can get the IP of the host if it exist in "/etc/hosts" And my "/etc/hosts" file has the 2 entries for my primary and secondary name server IP and name. I would like to know if anything I need to change in order to make the "nsswitch.conf" file valid ? Or there's any problem on my "nsswitch.conf" file ? Or I need to restart some process after changing the above files ? Please kindly help ! Million thanks ! :)