How do I configure tinydns a database-driven dns server under FreeBSD operating systems?
You need to create three user accounts under FreeBSD and add all of them to a group. This can be done using pw command as follows:
Step#1: Create DJBDNS Server Group
Type the following command:
# pw groupadd dnsusers
Step#2: Create TinyDNS Server User
Type the following command:
# pw useradd tinydns -s /bin/nologin -G dnsusers
Step#3: Create AxfrDNS Server User
Type the following command:
# pw useradd dnslog -s /bin/nologin -G dnsusers
Step#4: Create DJNDNS Server Log User
Type the following command:
# pw useradd axfrdns -s /bin/nologin -G dnsusers
Step#5: Create /var/service directory
Type the following command:
# mkdir /var/service/
Step#6: Turn On daemontools (svscan) Service
Type the following command:
# echo 'svscan_enable="YES"' >> /etc/rc.conf
# /usr/local/etc/rc.d/svscan.sh start
Now, your server is ready to use. All you have to do is create zone for ns1.nixcraft.in.
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- My 10 UNIX Command Line Mistakes
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
- Email FAQ to a friend
- Download PDF version
- Printable version
- Comment RSS feed
- Last Updated: 07/8/09




{ 0 comments… add one now }