Dynamic update testing

dharris at kcp.com dharris at kcp.com
Thu Dec 9 18:32:28 UTC 1999



I have successfully? completed compiling, linking, and installing 8.2.2-P5.
'named' starts, runs, and serves to resolve names to addresses and vice
versa.  I think I have set named.conf to allow updates from 147.101.248.17
but nothing seems to happen when I run nsupdate on 147.101.248.17.  The
named.conf file and a screen capture of the nsupdate session follow.
147.101.248.17 is the system which is running the 8.2.2-P5 and is also the
system from which I am testing.  198.62.69.36 is the forwarder which knows
about names and addresses outside the local network.  I created the
named.conf file and ran nsupdate based on the information in "DNS and
BIND", the 3rd edition.  The system osborne.kcp.com/147.101.122.219 does
not currently exist in the DNS databases.  Does anyone out there have a
clue to share?  Thanks.

                    Delmer D. Harris

====================named.conf=============================================


// generated by named-bootconf.pl

options {
     directory "/etc/named.data";  // running directory for named
     version "No need to know";
     maintain-ixfr-base yes;
     forwarders {
          198.62.69.36;       //ewn       as forwarder
     };
};

//
// type        domain              source file
//
zone "0.0.127.IN-ADDR.ARPA" {
     type master;
     file "db.127.0.0";
};

zone "kcp.com" {
     type master;
     file "db.kcp";
     allow-update {
          147.101.248.17;
          127.0.0.1;
     };
     ixfr-base "/tmp/BIND.log";
};

zone "101.147.IN-ADDR.ARPA" {
     type master;
     file "db.147.101";
     allow-update {
          147.101.248.17;
          127.0.0.1;
     };
     ixfr-base "/tmp/BIND.log";
};

zone "69.62.198.IN-ADDR.ARPA" {
     type master;
     file "db.198.62.69";
};

zone "." {
     type hint;
     file "db.cache";
};

=====================nsupdate log==========================================

# nsupdate -d
> update add osborne.kcp.com 3600 A 147.101.122.219
>
;; res_findzonecut: START dname='osborne.kcp.com' class=IN, zsize=1025,
naddrs=3
;; res_findzonecut: get the soa, and see if it has enough glue
;; res_nmkquery(QUERY, osborne.kcp.com., IN, SOA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5246
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;   osborne.kcp.com, type = SOA, class = IN

;; Querying server (# 1) address = 147.101.248.17
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 5246
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;   osborne.kcp.com, type = SOA, class = IN

;; AUTHORITY SECTION:
kcp.com.       1D IN SOA 147.101.248.17. u51119.mailhub. (
                         4         ; serial
                         3H        ; refresh
                         1H        ; retry
                         1W        ; expiry
                         1D )      ; minimum


;; res_findzonecut: get the ns rrset and see if it has enough glue
;; res_nmkquery(QUERY, kcp.com, IN, NS)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5247
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;   kcp.com, type = NS, class = IN

;; Querying server (# 1) address = 147.101.248.17
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5247
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;   kcp.com, type = NS, class = IN

;; ANSWER SECTION:
kcp.com.       1D IN NS  147.101.248.17.

;; res_findzonecut: get the missing glue and see if it's finally enough
;; res_nmkquery(QUERY, 147.101.248.17, IN, A)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5248
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;   147.101.248.17, type = A, class = IN

;; Querying server (# 1) address = 147.101.248.17
;; timeout
;; Querying server (# 1) address = 147.101.248.17
;; timeout
;; res_findzonecut: do_query: res_nsend failed
;; res_findzonecut: get_glue: do_query('147.101.248.17', IN') failed
;; res_findzonecut: FINISH n=-1 (Connection timed out)
;; res_nupdate: res_findzonecut failed (-1)
> /exit
incorrect section name: /exit
#




More information about the bind-users mailing list