≡ Menu

bind 9

Google Apps Domain Create SPF Records For BIND or Djbdns

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?
[click to continue…]

Linux Date Command: Convert Named Stats Dump Date

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

+++ 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?
[click to continue…]

BIND DNS: Disable Dynamic Updates

BIND9 dynamic updates allow remote servers to add, delete, or modify any entries in my zone file. How do I disable dynamic updates under BIND 9 (named) for any zone?
[click to continue…]

BIND 9 Configure Views To Partition External and Internal DNS Information

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 (, 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?
[click to continue…]

BIND: Clocks are Unsynchronized Error and Solution

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 (source clocks are unsynchronized: 9 Time(s)
zone example.org/IN: refresh: failure trying master (source clocks are unsynchronized: 9 Time(s)

How do I fix these errors under Debian Linux 64 bit etch server?
[click to continue…]

BIND: Stop Recursion DNS Under Linux / UNIX

Q. How do I stop recursion (recursive query) under BIND 9 DNS server?
[click to continue…]

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

I want to to configure named ( BIND DNS Sever daemon ) to listens only on eth1 interface which has an IP address 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?
[click to continue…]

dnstop: Monitor BIND DNS Server (DNS Network Traffic) From a Shell Prompt

Q. How do I monitor my Bind 9 named (or any other dns server) server traffic / network traffic under Linux? How do I find out and view current DNS queries such as A, MX, PTR and so on in real time? How do I find out who is querying my DNS server or specific domain or specific dns client IP address?
[click to continue…]

How To Setup Vanity DNS Name Server Using BIND 9

Q. I've nameserver like ns1.example.com and ns2.example.com. I'd like to provide Vanity DNS for each domain such as ns1.yourdomain.com and ns2.yourdomain.com. Basically, my users should able to call my dns server as their own servers. This will create the illusion that my user run their own name servers. How do I setup vanity DNS using BIND 9 under UNIX / Linux?
[click to continue…]

How To Patch / Upgrade BIND 9.x Under FreeBSD Operating System

Q. BIND 9 is part of core FreeBSD 7.x. How do I apply BIND 9 security patch under FreeBSD 7.x? Do I need to fetch entire source (buildworld) to patch BIND 9? How do I patch up recent BIND 9 DNS cache poisoning bug?
[click to continue…]