Multiplay Labs

tech hits and tips from Multiplay

Running named under a jail on FreeBSD

without comments

Seems like this is quite a commonly encountered issue but its actually quite easy to fix, simply add the following to /etc/rc.conf

named_chrootdir=""

If you use rndc on that machine you’ll also want to make sure that controls block also includes your jails primary IP as well e.g.

controls {
    inet 127.0.0.1 allow { 127.0.0.1; <jail-ip>; } keys { "rndc-key"; };
    inet <named-ip> allow { 127.0.0.1; <jail-ip>; } keys { "rndc-key"; };
}

Written by Dilbert

March 9th, 2012 at 4:59 pm

Posted in FreeBSD,OS's

Leave a Reply

You must be logged in to post a comment.