Re: dnscache-conf Gdnscache Gdnslog /etc/dnscache

Emilio Perea <[email protected]> Sat, 4 Jul 2009 13:29:31 -0500
Newsgroups gmane.org.djb.internationalization
Message-ID <[email protected]>
On Sat, Jul 04, 2009 at 07:48:04PM +0200, Simon Loewen wrote:
> Dear all,
> 	I have spent a little while trying to figure this out, including
> reading http://cr.yp.to/djbdns/run-cache.html several times & I cannot
> make head nor tail of it!
> 
> The instructions on http://cr.yp.to/djbdns/run-cache.html in part 3 state:
> 
> :3. As root, create an /etc/dnscache service directory:
>      dnscache-conf Gdnscache Gdnslog /etc/dnscache
> This directory contains logs and a few configuration files that you can
> change later."
> 
> So what does this mean:

It means exactly what it says.  You type:

 dnscache-conf Gdnscache Gdnslog /etc/dnscache

You're trying to make it more difficult than it is.  (BTW, I think you
posted this to the wrong list rather than [email protected].)

> 1) mkdir /etc/dnscache
> touch /etc/dnscache/dnscache-conf && chown Gdnscache
> /etc/dnscache/dnscache-conf
> chown Gdnslog /etc/dnscache/dnscache-conf  # Does not make any sense.
> 
> 3) Does it mean,
> mkdir /etc/dnscache
> echo "dnscache-conf Gdnscache Gdnslog >/etc/dnscache/dnscache-conf
> 
> 4) Does it mean:
> mkdir /etc/dnscache
> touch /etc/dnscache/dnscache-conf
> touch /etc/dnscache/Gdnslog
> touch /etc/dnscache/Gdnscache
> 
> And so on.  I know that Gdnscache and Gdnslog are users and these I have
> created.
> 
> Would someone please enlighten me?
> 
> Best wishes, S.
> 
> -- 
> PGP plugin for Microsoft Outlook: http://www.gpg4win.org/
> PGP plugin for Thunderbird/Mozilla: http://enigmail.mozdev.org