From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,ebf411255841bfa7 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.magma.ca!news.magma.ca.POSTED!not-for-mail NNTP-Posting-Date: Fri, 29 Jul 2005 10:41:40 -0500 Date: Fri, 29 Jul 2005 11:41:38 -0400 From: Mario Stargard User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en, ja, de MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Tru64 V5.1 Name Resolving (DNS) problem References: <1122620560.656459.8770@f14g2000cwb.googlegroups.com> In-Reply-To: <1122620560.656459.8770@f14g2000cwb.googlegroups.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 209.217.122.220 X-Trace: sv3-NF7o7Pui+yJV0zLTuA5bpDJx0xQnMM0tuCNg7vUlZMzJT0BtT3cC9lMiwmVZl/Vpk+BwAl1EGvDMvfh!ldeISL6JRW+jGXxUGR2VD/T8NJMTnoqAlVsMIZ1AyrQySnPbxAdjxzZsRUabO0IZjV9q0tiyODw= X-Complaints-To: abuse@magma.ca X-DMCA-Complaints-To: abuse@magma.ca X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.unix.tru64:233 Asterisk wrote: > 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 ! :) > Have you tried svc.conf? The keywords are local and bind with a comma separator. There should be a manpage. Example: hosts=local,bind