Skip site navigation (1)Skip section navigation (2)
Date:      14 May 2001 14:26:57 +0100
From:      Wayne Pascoe <wayne.pascoe@realtime.co.uk>
To:        Wayne Pascoe <wayne.pascoe@realtime.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Solved - Re: named + chroot - logging ?
Message-ID:  <86lmo0kqn2.fsf@pan.realtime.co.uk>
In-Reply-To: <86u22okqy2.fsf@pan.realtime.co.uk>
References:  <86u22okqy2.fsf@pan.realtime.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Wayne Pascoe <wayne.pascoe@realtime.co.uk> writes:

> Hi all,
> 
> I'm setting up a DNS server using named. I am starting it as 
> named -g bind -u bind -t /path/to/jaildir -c /etc/named.conf
> 
> In /path/to/jaildir I have a /etc directory with the named.conf file.
> 
> When I start bind with this, all seems ok. It answers queries on all
> of the domains that it is primary for and transfers from other masters
> where it is hosting slaves seem ok. But it's not logging when I
> restart it or any other time:) Is there any way to still use syslog
> for logging even though I'm running in a chroot? If not, where else
> and how else can I log?

Ok, I was looking in the bind / named docs for the answer. The answer
lies in the syslogd man page. Add a -l /path/to/jaildir/dev/log to my
syslogd startup and all just magically works.

Sorry to have bugged ! :(

-- 
- Wayne Pascoe 
E-mail: wayne.pascoe@realtime.co.uk
Phone : +44 (0) 20 7544 4668
Mobile: +44 (0) 788 431 1675

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lmo0kqn2.fsf>