[SLUG] Bind debugging

From: Paul M Foster (paulf@quillandmouse.com)
Date: Mon Jul 16 2007 - 10:38:20 EDT


Folks:

Need help debugging my Bind stuff. Here is the pri.civicsusa.com named
zone file for civicsusa.com:

$TTL 86400
@ IN SOA 69.55.238.25. admin.civicsusa.com. (
                         2007071106 ; serial, todays date + todays
serial #
                         28800 ; refresh, seconds
                         7200 ; retry, seconds
                         604800 ; expire, seconds
                         86400 ) ; minimum, seconds
;
                 NS 69.55.238.25. ; Inet Address of
name server 1
                 NS ns1c.johncompanies.com. ; Inet
Address of name server 2
;

mail MX 10 civicsusa.com.

civicsusa.com. A 69.55.238.25
ns CNAME civicsusa.com.
mail CNAME civicsusa.com.
ftp CNAME civicsusa.com.

;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;

The idea here is to have civicsusa.com be its own nameserver, and be
backed up by ns2c.johncompanies.com.

Here are the results from dig @ns2c.johncompanies.com civicsusa.com:

; <<>> DiG 9.2.4 <<>> @ns2c.johncompanies.com civicsusa.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63357
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;civicsusa.com. IN A

;; ANSWER SECTION:
civicsusa.com. 43200 IN A 69.55.238.25

;; AUTHORITY SECTION:
civicsusa.com. 43200 IN NS ns1c.johncompanies.com.
civicsusa.com. 43200 IN NS ns2c.johncompanies.com.

;; ADDITIONAL SECTION:
ns1c.johncompanies.com. 3600 IN A 69.55.225.225
ns2c.johncompanies.com. 3600 IN A 69.55.230.3

;; Query time: 109 msec
;; SERVER: 69.55.230.3#53(ns2c.johncompanies.com)
;; WHEN: Mon Jul 16 10:26:58 2007
;; MSG SIZE rcvd: 131

Here are the results from dig @civicsusa.com civicsusa.com:

; <<>> DiG 9.2.4 <<>> @civicsusa.com civicsusa.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 52536
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;civicsusa.com. IN A

;; Query time: 106 msec
;; SERVER: 69.55.238.25#53(civicsusa.com)
;; WHEN: Mon Jul 16 10:34:35 2007
;; MSG SIZE rcvd: 31

First off, anyone know where there's a write-up of dig's output format?
Second, why the difference? Is there something wrong with
civicsusa.com's named zone file?

Paul

-- 
Paul M. Foster
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:00:05 EDT