wiki'd

by JoKeru

Unbound DNS Resolver

[cc lang='bash']
\$ rpm -ihv http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
\$ yum install unbound

\$ vi /etc/unbound/unbound.conf

\$ cd /etc/unbound/
\$ wget ftp://FTP.INTERNIC.NET/domain/named.cache

\$ vi /etc/init.d/unbound - add mount / unmount to start / stop

\$ mkdir -p /var/lib/unbound/etc/unbound
\$ mkdir -p /var/lib/unbound/var/log/unbound
\$ chown -R unbound:unbound /var/lib/unbound

\$ mkdir /var/log/unbound
\$ chown unbound:unbound /var/log/unbound

\$ yum install policycoreutils-python
\$ semanage port -a -t dns_port_t -p tcp 8953
\$ semanage port -l | grep dns

\$ service unbound start
\$ chkconfig unbound on
[/cc]

Comments