From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,3472757c14b415c1 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2004-03-27 02:18:20 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!transit.news.xs4all.nl!not-for-mail Date: Sat, 27 Mar 2004 11:18:19 +0100 From: Eric de Redelijkheid User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.6) Gecko/20040113 X-Accept-Language: nl, en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Can't ftp, ping, or use browser by name (only by IP address) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <406554eb$0$562$e4fe514c@news.xs4all.nl> NNTP-Posting-Date: 27 Mar 2004 11:18:19 CET NNTP-Posting-Host: 213.84.75.126 X-Trace: 1080382699 news.xs4all.nl 562 [::ffff:213.84.75.126]:4795 X-Complaints-To: abuse@xs4all.nl Xref: archiver1.google.com comp.unix.tru64:11323 Try reversing the order of `hosts� in svc.conf hosts=local,bind --> hosts=bind,local Anno Domini 27-3-2004 9:28, warren sprak aldus: > Running tru64 V5.1, I can ping, use the web browser, and ftp by IP > address, but not by name. I can nslookup so I think the name server > setup is OK. Can anyone help so I can use those apps by name rather > than having to put in an IP address. My /etc/resolv.conf and > /etc/svc.conf are included at the end of this post. Thanks for any > help. > > Example: > > alpha01> nslookup www.yahoo.com > Server: ns2.theriver.com > Address: 205.216.137.4 > > Non-authoritative answer: > Name: www.yahoo.akadns.net > Addresses: 66.94.230.45, 66.94.230.32, 66.94.230.33, 66.94.230.34 > 66.94.230.37, 66.94.230.39, 66.94.230.42, 66.94.230.43 > Aliases: www.yahoo.com > > > alpha01> ping www.yahoo.com > ping: unknown host www.yahoo.com > > alpha01> ping 66.94.230.45 > PING 66.94.230.45 (66.94.230.45): 56 data bytes > 64 bytes from 66.94.230.45: icmp_seq=0 ttl=52 time=101 ms > 64 bytes from 66.94.230.45: icmp_seq=1 ttl=52 time=93 ms > > > Here are the /etc/resolv.conf and /etc/svc.conf: > > /etc/resolv.conf > > nameserver 205.216.137.4 > nameserver 205.216.137.2 > > > > /etc/svc.conf > > # > # ***************************************************************** > # * * > # * Copyright Compaq Computer Corporation, 2000 * > # * * > # * The software contained on this media is proprietary to * > # * and embodies the confidential technology of Compaq * > # * Computer Corporation. Possession, use, duplication or * > # * dissemination of the software and media is authorized only * > # * pursuant to a valid written license from Compaq Computer * > # * Corporation. * > # * * > # * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure * > # * by the U.S. Government is subject to restrictions as set * > # * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, * > # * or in FAR 52.227-19, as applicable. * > # * * > # ***************************************************************** > # > # HISTORY > # > # @(#)$RCSfile: svc.conf,v $ $Revision: 4.1.13.1 $ (DEC) $Date: > 2000/04/26 22:11:03 $ # > # WARNING: This file is MANDATORY ! > # > # Setup recommendation: As you add distributed services to database > # entries, it is recommended that "local" is the first service. > # For example: > # passwd=local,yp > # > # Note: White space allowed only after commas or newlines. > # > # File Format > # ----------- > # database=service,service > # > # The database can be: > # aliases > # auth > # group > # hosts > # netgroup > # networks > # passwd > # protocols > # rpc > # services > # The service can be: > # local > # yp > # bind (hosts ONLY) > # > aliases=local > auth=local > group=local > hosts=local,bind > netgroup=local > networks=local > passwd=local > protocols=local > rpc=local > services=local > > SECLEVEL=BSD # for backwards compatibility ONLY