From owner-freebsd-questions Wed Jan 29 10:11:26 2003 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 4D9D237B401 for ; Wed, 29 Jan 2003 10:11:25 -0800 (PST) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC05B43E4A for ; Wed, 29 Jan 2003 10:11:23 -0800 (PST) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id h0TIBEO02190; Wed, 29 Jan 2003 20:11:14 +0200 Message-Id: <200301291811.h0TIBEO02190@lv.raad.tartu.ee> Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 29 Jan 03 20:10:39 +0200 Received: from SpoolDir by INFO (Mercury 1.48); 29 Jan 03 20:10:09 +0200 From: "Toomas Aas" Organization: Tartu City Government To: "Aaron" , questions@freebsd.org Date: Wed, 29 Jan 2003 20:10:09 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: help understanding hostname cofig In-reply-to: <00f401c2c7b3$c254b580$cea8a8c0@iowaone.net> 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 Hi! > We don't have a DNS server on site.The plan is to put the snort box > between the internet firewall and the LAN. The firewall is also the > dhcp server. So exactly what do we want to put for a qualified domain > name?? The plan is to put the snort box between the internet > firewall and the LAN. The firewall is also the dhcp server. I assume you are using RFC1918 ("private") IP addresses on your LAN behind the firewall. In that case the hostname is purely up to you to invent. From the root shell, enter the following command: hostname snortbox.our.net Add a line like this to /etc/hosts: 10.0.0.1 snortbox.our.net snortbox (assuming 10.0.0.1 is the IP address of your snort box) Add a line like this to /etc/rc.conf: hostname="snortbox.our.net" If you want to be able to access the snort box by name from other hosts on your network, then you need to also modify /etc/hosts on these other hosts accordingly. You probably don't want to let your DHCP server to assign a dynamic IP address to your snort box. -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * Why is the third hand on a watch called a second hand? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message