From owner-freebsd-questions Sun Sep 23 22:43: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from corten2.billschoolcraft.com (adsl-63-193-247-201.dsl.snfc21.pacbell.net [63.193.247.201]) by hub.freebsd.org (Postfix) with ESMTP id A5D2937B401 for ; Sun, 23 Sep 2001 22:43:05 -0700 (PDT) Received: from corten8.billschoolcraft.com ([192.168.7.8]) by corten2.billschoolcraft.com with esmtp (Exim 3.22 #1 (Debian)) id 13ct3z-0000KP-00; Sat, 23 Sep 2000 10:26:11 -0700 Date: Sun, 23 Sep 2001 10:22:59 -0700 (PDT) From: Bill Schoolcraft X-X-Sender: To: PetBuilder Cc: Bill Moran , Subject: Re: How to install from programs internet In-Reply-To: <003e01c14451$8a945060$0100a8c0@home> Message-ID: System-ID: SunOS 5.8 i86pc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Sun, 23 Sep 2001 it looks like PetBuilder composed: petbui->Upon checking I can ping IP numbers but I cannot resolve Host Names? petbui->I've never run across that in windows so I could not even geuss what is petbui->wrong here. petbui->Ant thing I should check? petbui-> Check the file /etc/resolv.conf and make sure it is pointing to valid nameserver for starters. The /etc/nsswitch.conf file should have a line that has; hosts: files dns The order of the "files" and "dns" will tell the system to look at your machine based files for guidance first, meaning your /etc/resolv.conf file. On an off note, make sure your /etc/hosts file is in order too. That file comes into play more that alot of people know. I call that file "The Poor Man's DNS" file. As an example, if you added the following entry in /etc/hosts you'd be able to ping Yahoo.com by it's full name, "yahoo.com" and by it's new nicknames "bsd" and "yahoo" So, the command `ping yahoo` and `ping bsd` would yield the same results of `ping yahoo.com` That's providing your /etc/nsswitch.conf file has the line that tells the system to look at "YOUR" files first before checking a formal DNS site. hosts: files dns #############_/etc/resolv.conf_########### 216.115.108.243 yahoo.com bsd yahoo -- Bill Schoolcraft http://ForwardSlashUnix.com rm -rf /bin/laden "UNIX, A Way of Life." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message