================================================================================ : DJB DNS setup : This script will help you setup the following: DNS server(s): to publish addresses of Internet hosts DNS cache(s) : to find addresses of Internet hosts For further information see: http://cr.yp.to/djbdns/blurb/overview.html * If you have already setup your services, * either exit now, or setup in different directories. Would you like to continue with setup? [Y|n]> Y ================================================================================ : Choose install location : The default (/var) will install them in /var/${service}/${IP_ADDRESS} For example: /var/tinydns /1.2.3.4 /192.168.33.1 /axfrdns /1.2.3.4 /192.168.33.1 /dnscache/127.0.0.1 * Do NOT enter trailing slash Where do you want services installed? [/var] > ================================================================================ : Checking for required group (nofiles) : : Checking for required users (tinydns dnscache dnslog) : ================================================================================ Would you like to setup dnscache? [Y|n]> Y -------------------------------------------------------------------------------- : DNS cache setup : : IP address to bind to : Specify an address to which the DNS cache should bind. Currently accessible IPs: 127.0.0.1 192.168.1.44 IP to bind to> 192.168.1.44 * dnscache directory /var/dnscache/192.168.1.44 exists, nothing done. : Configure forwarding : dnscache can be configured to forward queries to another DNS cache (such as the one your ISP provides) rather than performing the lookups itself. To enable this forwarding-only mode (usually a good idea), provide the IPs of the caches to forward to. To have dnscache perform the lookups itself, just press Enter. forward-to IP> : Configuring clients : By default dnscache allows only localhost (127.0.0.1) to access it. You have to specify the IP addresses of the clients that shall be allowed to use it. Example: 1.2.3.4 would allow only one host: 1.2.3.4 1.2.3 would allow all hosts 1.2.3.0/24 (e.g. 1.2.3.4, 1.2.3.100, etc.) Press Enter if you do NOT want to allow external clients! Allowed IP> All queries from the hosts below will be answered: 127.0.0.1 ================================================================================ Would you like to setup another dnscache? [Y|n]> n ================================================================================ Would you like to setup DNS server? [Y|n]> Y -------------------------------------------------------------------------------- : DNS server setup : : IP address to bind to : Specify an address to which the DNS server should bind. Currently accessible IPs: 127.0.0.1 192.168.1.44 IP to bind to> 192.168.1.44 /usr/bin/djbdns-setup: line 298: ebegin: command not found /usr/bin/djbdns-setup: line 300: eend: command not found /usr/bin/djbdns-setup: line 300: eend: command not found /usr/bin/djbdns-setup: line 298: ebegin: command not found /usr/bin/djbdns-setup: line 300: eend: command not found /usr/bin/djbdns-setup: line 300: eend: command not found * Skipping tinydns and axfrdns specific setup. ================================================================================ Would you like to setup another DNS server? [Y|n]> C^-c