PowerDNS Cache dump in CSV Rumi, September 17, 2011 The objective is simple, a periodic cron cache dump of powerdns recursor on a setup. 1. create a shell code as below using nano- #nano /usr/local/bin/pdns-cache-dump.sh #!/bin/sh DAY=`/bin/date +%Y%m%d` TFILE="/var/log/pdns-cache/$(basename $0).$DAY.csv" rec_control dump-cache $TFILE echo "cache dump completed, dump script by rumi (hasan.emdad@mango.com.bd)" #chmod 0777 /usr/local/bin/pdns-cache-dump.sh 2. create directory to store the dump files #mkdir /var/log/pdns-cache #chown -R pdns-recursor /var/log/pdns-cache 3. Add it to CRON (you can use webmin for this) Go to Webmin's System > Schedule CRON Jobs > Create a new scheduled CRON job and add- Execute CRON as- root Active- Yes Command- /usr/local/bin/pdns-cache-dump.sh When to execute- Simple Schedule (Daily at midnight) Leave other parts as default "Save" It's done 🙂 Related Administrations Configurations (Linux) Debianpowerdns
NFS Server and Client on CentOS September 9, 2015 Assumptions: NFS Server IP: 172.16.5.100 NFS Client Node1: 172.16.5.101 NFS Client Node2: 172.16.5.102 NFS Client Node3: 172.16.5.103 NFS Client Node4: 172.16.5.104 On the NFS Server & All Client machine as well: yum install nfs-utils nfs-utils-lib Edit the exports file that shows what to share and with whom. So run: Related Read More
DKIM installation on Debian June 6, 2014 This is a quick and fairly painless way of setting up DKIM, on a postfix server. DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message and helps verify… Read More
Install Openmediavault On Debian Squeeze May 26, 2013May 26, 2013 Introduction This guide is for people that have used the Debian Squeeze Standard Installation or Debian Squeeze Gnome Installation guide to install Debian onto their microserver. If you're looking to install OpenMediaVault as a standalone system then see install OpenMediaVault instead. Prerequisites Debian Squeeze installed on your microserver Installation Configuring… Read More