From: Eric de Redelijkheid <ericdere@xs4all.nl>
Subject: Re: Can't ftp, ping, or use browser by name (only by IP address)
Date: Sat, 27 Mar 2004 11:18:19 +0100 [thread overview]
Message-ID: <406554eb$0$562$e4fe514c@news.xs4all.nl> (raw)
In-Reply-To: <c43duo$q1q$0@216.39.182.47>
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
next prev parent reply other threads:[~2004-03-27 10:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-27 8:28 Can't ftp, ping, or use browser by name (only by IP address) warren
2004-03-27 10:18 ` Eric de Redelijkheid [this message]
2004-03-27 18:15 ` nospam
2004-03-29 22:21 ` Peter da Silva
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox