From owner-freebsd-questions@FreeBSD.ORG Sat Oct 27 23:41:58 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5382916A469 for ; Sat, 27 Oct 2007 23:41:58 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp120.sbc.mail.sp1.yahoo.com (smtp120.sbc.mail.sp1.yahoo.com [69.147.64.93]) by mx1.freebsd.org (Postfix) with SMTP id 3D15413C4C6 for ; Sat, 27 Oct 2007 23:41:58 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 43488 invoked from network); 27 Oct 2007 23:41:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer; b=NW13bepbyMYEoIVh/+887ccjgf9tRQMkSt/hCMbGDzLMyzO7hGqeEmFet3x5hKDQGgODJue0tzazqP6eMCVA1i0r9q+v1aOLr4Qg5eNbJ1BQFUfA0MZhzp6pPjcMP13H0waamypBgxDR/khSf9vcRnsbwhnI+skzPV8+OIhnaeQ= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp120.sbc.mail.sp1.yahoo.com with SMTP; 27 Oct 2007 23:41:57 -0000 X-YMail-OSG: Akz3n0AVM1kww8cylOLv5YLe6jAu6qzHmi9Ll4e63avvyYLTq2ngsMacP42abGSHmDO9MXPVD.28gAKlf.SkPHTxNknwU1PU.aVuZ7A_va2duQ5jk4cWJOPu_QU2 Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD Mailing List From: jekillen Date: Sat, 27 Oct 2007 16:42:02 -0700 X-Mailer: Apple Mail (2.622) Subject: Name resolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2007 23:41:58 -0000 Hello: I have been trying to tame the use of the ports mechanisms. I set up a system with a static ip connection to the internet and when I run: pkg_add -r csup-without-gui (verbatim from the freebsd handbook I downloaded just a few days ago) I get this: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/ Latest/csup-without-gui.tbz: No address record pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/ Latest/csup-without-gui.tbz' by URL I checked inetd.conf and resolv.conf. ftp is working in inetd.conf but when I went to look in resolv.conf, there was no file by that name. So I created one with my local nameservers and the ISP's nameservers. All of my servers are connected to local network and public. I have the name servers set to respond to requests from public network only (I do not want anyone finding out the address numbers I use on the private network) But I am not sure whether these changes require that I reboot the machine. The connection is live and working. I can ping another of my static ip addresses, and other machines running on the private nework. But if I ping one of my websites by name the ping cannot find it. so I know it is a resolver issue, with no name server running on this machine. I have to assume there is a local resolver, but since it is just a library, and not a process, as I understand it, I am thinking that something needs to be redone to use the file with the changes. This is because after adding the file /etc/resolv.conf I still get the above complaints. I am doing this to keep in step with FreeBSD and I have a lot of software I want to install for use with email. In the past I have bypassed ports with programs like Apache, php, mysql and have had little problems. But now I am 'growing up' to the idea that managing changes and removals will be much easier if I do use ports. I just need to figure out what it wants and expects, and what I can and should expect. For instance, If I want to install Apache with php with gd and a lot of other extensions that have to be built separately by hand so php can include them and/or use them, how is that accomplished with ports? Or, suppose I have Apache already installed and want to install ssl. In the manual method ssl has to be prebuilt and configured specific to Apache before Apache is built. Could I expect a series of configure questions from the ports installation process to pick and choose what I want included, or how I want it configured? Thanks in advance Jeff K