From owner-freebsd-stable Fri Feb 2 7:25:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 5202037B491 for ; Fri, 2 Feb 2001 07:25:39 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 2 Feb 2001 15:25:38 +0000 (GMT) Date: Fri, 2 Feb 2001 15:25:37 +0000 From: David Malone To: Shawn Barnhart Cc: freebsd-stable@FreeBSD.ORG Subject: Re: syslog.conf host selection uses only short host name? Message-ID: <20010202152537.A51543@walton.maths.tcd.ie> References: <020b01c08d21$4544fc40$b8209fc0@marlowe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <020b01c08d21$4544fc40$b8209fc0@marlowe>; from swb@grasslake.net on Fri, Feb 02, 2001 at 08:05:59AM -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Feb 02, 2001 at 08:05:59AM -0600, Shawn Barnhart wrote: > I do. It strikes me that I should be able to select on the fqdn. The > manpage says "hostname", which I've always assumed to be the fqdn. The > default output of hostname(1) on my 4.2-STABLE machines is the fqdn. The matching is done on the hostname, exactly as it shows up in the log messages produced by syslogd. Maybe "hostname tag" would be a better desctiption. When generating the hostname tag it uses the FQND if the domain's don't match or the short name if the domains match. If you turn off resolving with the "-n" option you can use IP addresses. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message