BIND is the most widely used Linux Name Server software. It implements Domain Name Systems (DNS) protocols.
Download, build and install:
wget http://ftp.isc.org/isc/bind9/9.9.7/bind-9.9.7.tar.gz tar -xzf bind-9.9.7.tar.gz ./configure --prefix= --host=arm-linux-gnueabi --sysconfdir=/etc --without-openssl --with-randomdev=no BUILD_CC=gcc make make install DESTDIR=/home/export/rootfs
Create a configuration file /etc/bind/named.conf with the following contents:
acl localnet { 192.168.0.0/24; localhost; }; options { directory "/var/cache/bind"; # fowarders { 192.231.203.132; 192.231.203.3 } dnssec-validation auto; auth-nxdomain no; listen-on port 53 { 127.0.0.1; 192.168.0.254; } listen-on-v6 { any; }; recursion yes; allow-query { localnet; }; };