From owner-freebsd-questions@FreeBSD.ORG Thu Nov 13 08:06:50 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9E1B16A4CE for ; Thu, 13 Nov 2003 08:06:50 -0800 (PST) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id F365043FB1 for ; Thu, 13 Nov 2003 08:06:47 -0800 (PST) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id hADG6hL0028842; Thu, 13 Nov 2003 11:06:44 -0500 (EST) Message-Id: <6.0.0.22.0.20031113105553.01b754b8@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 13 Nov 2003 11:05:59 -0500 To: Dmitry Kochetov From: Marty Landman In-Reply-To: <5410985976.20031113181321@sksys.net> References: <6.0.0.22.0.20031112151158.0202d218@pop.face2interface.com> <20031112153139.A11115@svr3.northnetworks.ca> <6.0.0.22.0.20031112161045.05e466b0@pop.face2interface.com> <5410985976.20031113181321@sksys.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re[2]: newbie dns mess w/ nic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 16:06:51 -0000 At 10:13 AM 11/13/2003, Dmitry Kochetov wrote: >Ahh, but the line in rc.conf should be like that: > >defaultrouter="192.158.0.1" Thanks for the follow up Dmitry. Right now I've got the typo'd line commented out on /etc/rc.conf and am accomplishing this with the line route add default 192.168.0.7 in an exec on /usr/local/etc/rc.d. 1. what's the difference between these two commands, e.g. are they interchangable in this case? 2. other than the potential for a race condition (if that's even the right way to put it) is there anything better about establishing dns routing in rc.conf than in the rc.d exec on restart? **3. how the heck do I give my fbsd box a name on my lan? this has been bugging me for a few days now Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml