BIND 10 #2740: b10-loadzone.loadzone LOADZONE_DONE message does not show number of RRs imported

BIND 10 Development do-not-reply at isc.org
Thu Feb 14 17:28:05 UTC 2013


#2740: b10-loadzone.loadzone LOADZONE_DONE message does not show number of RRs
imported
-------------------------------------+-------------------------------------
            Reporter:  cas           |                         Type:
              Status:  new           |  defect
           Milestone:  New Tasks     |                     Priority:
            Keywords:                |  medium
           Sensitive:  0             |                    Component:
         Sub-Project:  DNS           |  Unclassified
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 It seems as if the b10-loadzone command always reports 0 RRs imported,
 even if (many) more records have been successfully imported

 Example:

 {{{
 [root at inline zones]# b10-loadzone -c '{"database_file":
 "/var/bind10/zones.db"}' example.org /var/bind10/zones/example.org
 2013-02-14 18:24:03.616 INFO  [b10-loadzone.loadzone/3736]
 LOADZONE_ZONE_CREATED Zone example.org./IN does not exist in the data
 source, newly created
 2013-02-14 18:24:03.644 INFO  [b10-loadzone.loadzone/3736] LOADZONE_DONE
 Loaded (at least) 0 RRs into zone example.org./IN in 0.02 seconds
 [root at inline zones]# sqlite3 ../zones.db
 SQLite version 3.6.20
 Enter ".help" for instructions
 Enter SQL statements terminated with a ";"
 sqlite> select * from zones;
 1|example.org.|IN|0
 sqlite> select * from records;
 1|1|example.org.|org.example.|30|SOA||ns1.example.com. hostmaster. 2 86400
 7200 3600000 7200
 2|1|example.org.|org.example.|30|NS||ns1.example.com.
 3|1|example.org.|org.example.|30|NS||ns2.example.com.
 4|1|example.org.|org.example.|30|A||192.168.1.1
 5|1|example.org.|org.example.|30|AAAA||2001:db8::1
 6|1|www.example.org.|org.example.www.|30|A||192.168.1.2
 7|1|www.example.org.|org.example.www.|30|AAAA||fd80::1
 8|1|mail.example.org.|org.example.mail.|30|CNAME||www.
 9|1|info.example.org.|org.example.info.|30|TXT||"BIND 10 Zone 2"
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/2740>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list