Changeset View
Changeset View
Standalone View
Standalone View
documentation/content/en/books/handbook/jails/_index.adoc
Show First 20 Lines • Show All 1,116 Lines • ▼ Show 20 Lines | |||||
Temporarily set the upstream DNS servers in [.filename]#/etc/resolv.conf# so ports can be downloaded: | Temporarily set the upstream DNS servers in [.filename]#/etc/resolv.conf# so ports can be downloaded: | ||||
[.programlisting] | [.programlisting] | ||||
.... | .... | ||||
nameserver 10.0.0.62 | nameserver 10.0.0.62 | ||||
nameserver 10.0.0.61 | nameserver 10.0.0.61 | ||||
.... | .... | ||||
Still using the jail console, install package:dns/bind99[]. | Still using the jail console, install package:dns/bind918[]. | ||||
[source,shell] | [source,shell] | ||||
.... | .... | ||||
# make -C /usr/ports/dns/bind99 install clean | # make -C /usr/ports/dns/bind918 install clean | ||||
.... | .... | ||||
Configure the name server by editing [.filename]#/usr/local/etc/namedb/named.conf#. | Configure the name server by editing [.filename]#/usr/local/etc/namedb/named.conf#. | ||||
Create an Access Control List (ACL) of addresses and networks that are permitted to send DNS queries to this name server. | Create an Access Control List (ACL) of addresses and networks that are permitted to send DNS queries to this name server. | ||||
This section is added just before the `options` section already in the file: | This section is added just before the `options` section already in the file: | ||||
[.programlisting] | [.programlisting] | ||||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |