From owner-freebsd-questions Wed Jul 29 04:47:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA07640 for freebsd-questions-outgoing; Wed, 29 Jul 1998 04:47:45 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclops.xtra.co.nz (cyclops.xtra.co.nz [202.27.184.96]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA07608 for ; Wed, 29 Jul 1998 04:47:32 -0700 (PDT) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker (210-55-210-87.ipnets.xtra.co.nz [210.55.210.87]) by cyclops.xtra.co.nz (8.8.8/8.8.8) with SMTP id XAA19428; Wed, 29 Jul 1998 23:46:23 +1200 (NZST) Message-Id: <199807291146.XAA19428@cyclops.xtra.co.nz> From: "Dan Langille" Organization: DVL Software Limited To: "nk99" Date: Wed, 29 Jul 1998 23:46:22 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Assigning hostnames Reply-to: junkmale@xtra.co.nz CC: In-reply-to: <199807281836.GAA07652@cyclops.xtra.co.nz> References: <001f01bdba4a$7707fb80$a3aaa98e@default> X-mailer: Pegasus Mail for Win32 (v3.01b) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 29 Jul 98, at 6:36, Dan Langille wrote: > On 28 Jul 98, at 13:09, nk99 wrote: > > > I've just setup a vhost on my box and I'd like to give it a > > hostname, but I don't know how to do that. I've been told it > > involves editing a lot of files like /etc/namedb and so forth, > > however I think there probably is an easier way to do it, seeing as > > how setting up the > vhost > > only took one line: > > ifconfig ep0 inet 1.2.3.4 alias > > I would appreciate any step-by-step information that you could give > > me. > > Just last night, I finished my setup of namedb. If you wait about 14 > hours after I post this message, full details will be in my diary at the > URL listed in my signature. The promised diary updates have been published. Have a look at http://www.dvl-software.com/freebsd/localnames.htm and see if you can find something which will help you. When following the example, be sure to change the domain names as well as the host names and IP numbers. And yes, for the crackers out there, the names and IP numbers have been changed for security reasons. No sense making it easy for you. -- Dan Langille DVL Software Limited http://www.dvl-software.com/freebsd : my [mis]adventures To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message