On Tue, 7 Aug 2018 13:27:25 -0700
Rick Moen <r...@linuxmafia.com> wrote:


> 1. apt-get install unbound
> 2. sed -i '1s;^;nameserver 127.0.0.1\n;' /etc/resolv.conf
> 3. chattr +i /etc/resolv.conf
> 
> Just kidding about step #3.  If using dhclient, place into dhcpd.conf:
> option domain-name-servers 127.0.0.1

A few more tidbits:

The simplest runit run file for unbound is as follows:

======================================
#!/bin/sh
exec unbound -dp
======================================

If you wanted to have runit handle the logs, you'd need to specify a
runit log directory, and your run script would look more like this
(untested):

======================================
#!/bin/sh
exec 2>&1
exec unbound -p -dd
======================================

And of course you'd have to make a log directory and use your usual
techniques in it.

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/key
Twitter: http://www.twitter.com/stevelitt

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to