]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1585. [bug] allow-v6-synthesis was not performing lookups under
authorMark Andrews <marka@isc.org>
Thu, 4 Mar 2004 03:10:32 +0000 (03:10 +0000)
committerMark Andrews <marka@isc.org>
Thu, 4 Mar 2004 03:10:32 +0000 (03:10 +0000)
                        IP6.INT.  allow-v6-synthesis now performs a nibble
                        lookups under IP6.ARPA rather than a bitstring lookups.
                        [RT #10497]

                        NOTE: allow-v6-synthesis has been deprecated.

CHANGES
bin/named/query.c
bin/tests/system/v6synth/ns2/ip6.arpa.db

diff --git a/CHANGES b/CHANGES
index 1639ad8d881dad7b11407ded02480624eed1b3f8..4145f4c59a6ad3217cf0d8044a8ffd35795977f2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,10 @@
+1585.  [bug]           allow-v6-synthesis was not performing lookups under
+                       IP6.INT.  allow-v6-synthesis now performs a nibble
+                       lookups under IP6.ARPA rather than a bitstring lookups.
+                       [RT #10497]
+
+                       NOTE: allow-v6-synthesis has been deprecated.
+
 1583.  [bug]           Records add via UPDATE failed to get the correct trust
                        level. [RT #10452]
 
index e3ceb7f72ccc785b85751607e28ed3370831be74..f2595890a9043849c7f923c5564258517a8d3c95 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: query.c,v 1.198.2.15 2004/01/22 15:34:01 marka Exp $ */
+/* $Id: query.c,v 1.198.2.16 2004/03/04 03:10:32 marka Exp $ */
 
 #include <config.h>
 
@@ -3798,7 +3798,8 @@ synth_rev_start(ns_client_t *client) {
        result = dns_byaddr_create(client->mctx,
                                   &client->query.synth.na,
                                   client->view,
-                                  0, client->task,
+                                  DNS_BYADDROPT_IPV6NIBBLE,
+                                  client->task,
                                   synth_rev_byaddrdone_arpa,
                                   client, &byaddr_dummy);
        if (result == ISC_R_SUCCESS)
@@ -3824,7 +3825,8 @@ synth_rev_byaddrdone_arpa(isc_task_t *task, isc_event_t *event) {
                result = dns_byaddr_create(client->mctx,
                                           &client->query.synth.na,
                                           client->view,
-                                          DNS_BYADDROPT_IPV6NIBBLE,
+                                          DNS_BYADDROPT_IPV6NIBBLE|
+                                          DNS_BYADDROPT_IPV6INT,
                                           client->task,
                                           synth_rev_byaddrdone_int,
                                           client, &byaddr_dummy);
index 1476b1c53167d483fef2d1b370e9c64f400b2df6..f52c04f978c566da5fc7ee97083bb37c62ddcfcc 100644 (file)
@@ -13,7 +13,7 @@
 ; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 ; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-; $Id: ip6.arpa.db,v 1.1 2001/01/10 01:18:28 gson Exp $
+; $Id: ip6.arpa.db,v 1.1.2.1 2004/03/04 03:10:32 marka Exp $
 
 $TTL 86400
 @                       IN SOA  ns2 hostmaster (
@@ -21,8 +21,4 @@ $TTL 86400
                         NS      ns2.example.
 ns2.example.           A       10.53.0.2
 
-\[x123456000000000000000000000001ff]   PTR     foo.
-
-
-
-
+f.f.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.5.4.3.2.1 PTR foo.