Problem with ping, ftp, web by name (but not by IP)

From: warren (warren@theriver.com)
Date: Sat Mar 20 2004 - 12:54:34 EST


Running tru64 V5.1, I can ping 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
ftp by name rather than having to type in an IP address. Thanks.

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

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.622 / Virus Database: 400 - Release Date: 3/13/2004
 


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:54 EDT