* Can't ftp, ping, or use browser by name (only by IP address)
@ 2004-03-27 8:28 warren
2004-03-27 10:18 ` Eric de Redelijkheid
2004-03-29 22:21 ` Peter da Silva
0 siblings, 2 replies; 4+ messages in thread
From: warren @ 2004-03-27 8:28 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Can't ftp, ping, or use browser by name (only by IP address)
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
2004-03-27 18:15 ` nospam
2004-03-29 22:21 ` Peter da Silva
1 sibling, 1 reply; 4+ messages in thread
From: Eric de Redelijkheid @ 2004-03-27 10:18 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't ftp, ping, or use browser by name (only by IP address)
2004-03-27 10:18 ` Eric de Redelijkheid
@ 2004-03-27 18:15 ` nospam
0 siblings, 0 replies; 4+ messages in thread
From: nospam @ 2004-03-27 18:15 UTC (permalink / raw)
in article 406554eb$0$562$e4fe514c@news.xs4all.nl, Eric de Redelijkheid at
ericdere@xs4all.nl wrote on 27/03/2004 20:18:
> Try reversing the order of `hosts� in svc.conf
>
> hosts=local,bind --> hosts=bind,local
I would ignore that advice, proves nothing.
Try this as root if your not already. Ie Make sure /etc/svc.conf and
/etc/resolv.conf are world readable.
Your /etc/resolv.conf is missing domainname
Is your hostname alpha01.theriver.com or just alpha01 ? I don't think either
of these are your problem but I believe in having hostname Fully qualified
on Tru64 and having domainname and even search in /etc/resolv.conf
Cheers
Mark
>
> 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
>>
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't ftp, ping, or use browser by name (only by IP address)
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
@ 2004-03-29 22:21 ` Peter da Silva
1 sibling, 0 replies; 4+ messages in thread
From: Peter da Silva @ 2004-03-29 22:21 UTC (permalink / raw)
In article <c43duo$q1q$0@216.39.182.47>,
warren <warren@DELtheriverETE.com> wrote:
> 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.
You probably hit the patch level where they switched o an updated resolver
that uses the more-or-less standard nsswitch.conf instead of svc.conf.
Look at /etc/nsswitch.conf and make the obvious changes.
--
I've seen things you people can't imagine. Chimneysweeps on fire over the roofs
of London. I've watched kite-strings glitter in the sun at Hyde Park Gate. All
these things will be lost in time, like chalk-paintings in the rain. `-_-'
Time for your nap. | Peter da Silva | Har du kramat din varg, idag? 'U`
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-03-29 22:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2004-03-27 18:15 ` nospam
2004-03-29 22:21 ` Peter da Silva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox