Re: Can't ftp, ping, or use browser by name (only by IP address)
From: Eric de Redelijkheid (ericdere_at_xs4all.nl)
Date: 03/27/04
- Previous message: warren: "Can't ftp, ping, or use browser by name (only by IP address)"
- In reply to: warren: "Can't ftp, ping, or use browser by name (only by IP address)"
- Next in thread: nospam: "Re: Can't ftp, ping, or use browser by name (only by IP address)"
- Reply: nospam: "Re: Can't ftp, ping, or use browser by name (only by IP address)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Mar 2004 11:18:19 +0100
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
- Previous message: warren: "Can't ftp, ping, or use browser by name (only by IP address)"
- In reply to: warren: "Can't ftp, ping, or use browser by name (only by IP address)"
- Next in thread: nospam: "Re: Can't ftp, ping, or use browser by name (only by IP address)"
- Reply: nospam: "Re: Can't ftp, ping, or use browser by name (only by IP address)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|