≡ Menu

Bind dns

Linux: Start / Stop / Restart BIND DNS Server

How do I start / stop / restart the Berkeley Internet Name Daemon (BIND) dns server under Linux operating systems?
[click to continue…]

Sysadmin because even developers need heroes!!!

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

BIND: Max open files (1024) is smaller than max sockets (4096) Error and Solution

While going though my logs I found that BIND9 on Debian version 5.x is giving a warning which read as follows:

max open files (1024) is smaller than max sockets (4096)

How do I fix this problem?
[click to continue…]

FreeBSD: Install bindgraph To Make Graphs About Queries Sent To BIND

How do I install bindgraph to make pretty query statistics about my BIND server running FreeBSD Unix operating system?
[click to continue…]

Find the DNS Authority Record for a DNS Domain (SOA)

Q.How do I find out the DNS authority record (SOA) for any DNS domain under UNIX / Linux shell?
[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 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?
[click to continue…]

Bind Security: Transaction Signatures (TSIG) Configuration

Q. How do I configure BIND9 name serves with TSIG (Transaction SIGnature) mechanism to secure server-to-server communication? How do I use secret key transaction authentication for DNS (bind nameservers)?
[click to continue…]