Google Apps Domain Create SPF Records For BIND or Djbdns

Posted on in Categories , last updated October 22, 2010

I work for a small business and outsourced our email hosting to Google. However, I noticed that spammers are using our From: First Last to send their spam messages. All bounced messages come to our catch only account. How do I stop this? How do I validate our domain using SPF? How do I configure a SPF for Google Apps domain using BIND 9 or djbdns?

Linux Date Command: Convert Named Stats Dump Date

Posted on in Categories , last updated March 11, 2010

The rndc stats commands created /var/named/chroot/var/named/data/named_stats.txt file under RHEL 5.x or CentOS 5.x BIND 9 server. However, date is not is correct format. The date is in the following format:
grep ‘Dump’ /var/named/chroot/var/named/data/named_stats.txt
outputs:

+++ Statistics Dump +++ (1263408025)
— Statistics Dump — (1263408025)
+++ Statistics Dump +++ (1263408071)
— Statistics Dump — (1263408071)
+++ Statistics Dump +++ (1268304218)
— Statistics Dump — (1268304218)
+++ Statistics Dump +++ (1268304248)
— Statistics Dump — (1268304248)

How do I convert date (e.g., 1263408025) in a human readable format?

BIND 9 Configure Views To Partition External and Internal DNS Information

Posted on in Categories , , , , , , , last updated November 21, 2009

How do I configure Bind 9 dns server views to allow a single nameserver in my DMZ to make different sets of data available to different sets of clients? For example, I’d like to run recursion, some other data for LAN users (192.168.1.0/24), and for the Internet user I’d like to display limited DNS data without recursion. How do I configure views to partition external (Internet) and internal (LAN) DNS information?

BIND: Clocks are Unsynchronized Error and Solution

Posted on in Categories , , , , , , , , , , , , , , last updated February 1, 2009

Q. I’ve configured BIND named TSIG as documented here. It worked for some time, but my /var/log/messages got the errors as follows:

zone example.org/IN: refresh: failure trying master 71.22.11.22#53 (source 0.0.0.0#0): clocks are unsynchronized: 9 Time(s)
zone example.org/IN: refresh: failure trying master 71.22.11.22#53 (source 71.22.11.22#0): clocks are unsynchronized: 9 Time(s)

How do I fix these errors under Debian Linux 64 bit etch server?

Configure BIND DNS Server to Listen Only On Certain IP Address or Network Interface

Posted on in Categories , , , , , , , , , last updated May 7, 2015

I want to to configure named ( BIND DNS Sever daemon ) to listens only on eth1 interface which has an IP address 202.54.1.2. How do I configure my named BIND DNS name server to listen only on certain network interface or IP address on a Linux or Unix-like systems?