Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
b8a9a7be
Commit
b8a9a7be
authored
Dec 08, 2010
by
Automatic Updater
Browse files
update copyright notice
parent
ead8aa31
Changes
22
Hide whitespace changes
Inline
Side-by-side
bin/named/query.c
View file @
b8a9a7be
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.34
7
2010/12/08
02:46:15 marka
Exp $ */
/* $Id: query.c,v 1.34
8
2010/12/08
23:47:05 tbox
Exp $ */
/*! \file */
...
...
@@ -2101,12 +2101,12 @@ query_dns64(ns_client_t *client, dns_name_t **namep, dns_rdataset_t *rdataset,
result
=
dns_rdataset_next
(
rdataset
))
{
for
(
dns64
=
ISC_LIST_HEAD
(
client
->
view
->
dns64
);
dns64
!=
NULL
;
dns64
=
dns_dns64_next
(
dns64
))
{
dns_rdataset_current
(
rdataset
,
&
rdata
);
isc__buffer_availableregion
(
buffer
,
&
r
);
INSIST
(
r
.
length
>=
16
);
result
=
dns_dns64_aaaafroma
(
dns64
,
&
netaddr
,
client
->
signer
,
client
->
signer
,
&
ns_g_server
->
aclenv
,
flags
,
rdata
.
data
,
r
.
base
);
if
(
result
!=
ISC_R_SUCCESS
)
{
...
...
@@ -4079,7 +4079,7 @@ dns64_aaaaok(ns_client_t *client, dns_rdataset_t *rdataset,
unsigned
int
flags
=
0
;
unsigned
int
i
,
count
;
isc_boolean_t
*
aaaaok
;
INSIST
(
client
->
query
.
dns64_aaaaok
==
NULL
);
INSIST
(
client
->
query
.
dns64_aaaaoklen
==
0
);
INSIST
(
client
->
query
.
dns64_aaaa
==
NULL
);
...
...
@@ -4619,7 +4619,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
NULL
,
NULL
,
resuming
);
else
if
(
dns64
)
result
=
query_recurse
(
client
,
result
=
query_recurse
(
client
,
dns_rdatatype_a
,
NULL
,
NULL
,
resuming
);
...
...
@@ -4627,7 +4627,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
result
=
query_recurse
(
client
,
qtype
,
fname
,
rdataset
,
resuming
);
if
(
result
==
ISC_R_SUCCESS
)
{
client
->
query
.
attributes
|=
NS_QUERYATTR_RECURSING
;
...
...
@@ -4723,10 +4723,10 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
if
(
dns64_excluded
)
break
;
#endif
}
else
if
(
result
==
DNS_R_NXRRSET
&&
!
ISC_LIST_EMPTY
(
client
->
view
->
dns64
)
&&
client
->
message
->
rdclass
==
dns_rdataclass_in
&&
qtype
==
dns_rdatatype_aaaa
)
}
else
if
(
result
==
DNS_R_NXRRSET
&&
!
ISC_LIST_EMPTY
(
client
->
view
->
dns64
)
&&
client
->
message
->
rdclass
==
dns_rdataclass_in
&&
qtype
==
dns_rdatatype_aaaa
)
{
/*
* Look to see if there are A records for this
...
...
@@ -5565,10 +5565,10 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
query_filter64
(
client
,
&
fname
,
rdataset
,
dbuf
,
DNS_SECTION_ANSWER
);
query_putrdataset
(
client
,
&
rdataset
);
}
else
}
else
query_addrrset
(
client
,
&
fname
,
&
rdataset
,
sigrdatasetp
,
dbuf
,
DNS_SECTION_ANSWER
);
if
(
noqname
!=
NULL
)
query_addnoqnameproof
(
client
,
noqname
);
/*
...
...
bin/named/server.c
View file @
b8a9a7be
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.58
8
2010/12/08
02:46:15 marka
Exp $ */
/* $Id: server.c,v 1.58
9
2010/12/08
23:47:05 tbox
Exp $ */
/*! \file */
...
...
@@ -1647,7 +1647,7 @@ configure_view(dns_view_t *view, cfg_parser_t* parser,
cfg_obj_assockaddr
(
obj
));
}
else
sp
=
NULL
;
clients
=
mapped
=
excluded
=
NULL
;
obj
=
NULL
;
(
void
)
cfg_map_get
(
map
,
"clients"
,
&
obj
);
...
...
@@ -1686,7 +1686,7 @@ configure_view(dns_view_t *view, cfg_parser_t* parser,
(
void
)
cfg_map_get
(
map
,
"break-dnssec"
,
&
obj
);
if
(
obj
!=
NULL
&&
cfg_obj_asboolean
(
obj
))
dns64options
|=
DNS_DNS64_BREAK_DNSSEC
;
result
=
dns_dns64_create
(
mctx
,
&
na
,
prefixlen
,
sp
,
clients
,
mapped
,
excluded
,
dns64options
,
&
dns64
);
...
...
@@ -1702,7 +1702,7 @@ configure_view(dns_view_t *view, cfg_parser_t* parser,
dns_acl_detach
(
&
excluded
);
}
}
obj
=
NULL
;
result
=
ns_config_get
(
maps
,
"dnssec-accept-expired"
,
&
obj
);
INSIST
(
result
==
ISC_R_SUCCESS
);
...
...
bin/tests/system/dns64/clean.sh
View file @
b8a9a7be
#!/bin/sh
#
# Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: clean.sh,v 1.3 2010/12/08 23:51:55 tbox Exp $
rm
-f
ns1/K
*
...
...
bin/tests/system/dns64/conf/bad1.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
bad1
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
55
tbox
Exp
$ */
options
{
dns64
::/
0
{ };
};
bin/tests/system/dns64/conf/bad2.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
bad2
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
options
{
dns64
::/
96
{
suffix
::
1
; };
};
bin/tests/system/dns64/conf/bad3.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
bad3
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
options
{
dns64
::/
96
{
suffix
127
.
0
.
0
.
1
; };
};
bin/tests/system/dns64/conf/bad4.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
bad4
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
options
{
dns64
::/
129
{ };
};
bin/tests/system/dns64/conf/bad5.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
bad5
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
options
{
dns64
::/
129
{ };
};
bin/tests/system/dns64/conf/bad6.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
bad6
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
options
{
dns64
:: { };
};
bin/tests/system/dns64/conf/good1.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
good1
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
acl
rfc1918
{
10
/
8
;
192
.
168
/
16
;
172
.
16
/
12
; };
options
{
/*
Well
Known
Prefix
*/
...
...
bin/tests/system/dns64/conf/good2.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
good2
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
acl
rfc1918
{
10
/
8
;
192
.
168
/
16
;
172
.
16
/
12
; };
options
{
/*
Well
Known
Prefix
*/
...
...
bin/tests/system/dns64/conf/good3.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
good3
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
acl
rfc1918
{
10
/
8
;
192
.
168
/
16
;
172
.
16
/
12
; };
options
{
/*
Well
Known
Prefix
*/
...
...
bin/tests/system/dns64/conf/good4.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
good4
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
acl
rfc1918
{
10
/
8
;
192
.
168
/
16
;
172
.
16
/
12
; };
options
{
/*
Well
Known
Prefix
*/
...
...
bin/tests/system/dns64/conf/good5.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
ISC
DISCLAIMS
ALL
WARRANTIES
WITH
*
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
*
AND
FITNESS
.
IN
NO
EVENT
SHALL
ISC
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
FROM
*
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
NEGLIGENCE
*
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
WITH
THE
USE
OR
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
good5
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
acl
rfc1918
{
10
/
8
;
192
.
168
/
16
;
172
.
16
/
12
; };
options
{
/*
Well
Known
Prefix
*/
...
...
bin/tests/system/dns64/ns1/example.db
View file @
b8a9a7be
; Copyright
; Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted, provided that the above
; copyright notice and this permission notice appear in all copies.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
; PERFORMANCE OF THIS SOFTWARE.
; $Id: example.db,v 1.3 2010/12/08 23:51:56 tbox Exp $
$TTL 3600
@ SOA ns1 marka.isc.org. 0 0 0 0 1200
@ NS ns1
...
...
bin/tests/system/dns64/ns1/named.conf
View file @
b8a9a7be
/*
*
Copyright
(
C
)
2004
,
2006
,
2007
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
Copyright
(
C
)
2000
,
2001
Internet
Software
Consortium
.
*
Copyright
(
C
)
2010
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
...
...
@@ -15,7 +14,7 @@
*
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
named
.
conf
,
v
1
.
2
2010
/
12
/
08
02
:
46
:
15
marka
Exp
$ */
/* $
Id
:
named
.
conf
,
v
1
.
3
2010
/
12
/
08
23
:
51
:
56
tbox
Exp
$ */
//
NS1
...
...
bin/tests/system/dns64/ns1/root.db
View file @
b8a9a7be
; Copyright
; Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted, provided that the above
; copyright notice and this permission notice appear in all copies.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
; PERFORMANCE OF THIS SOFTWARE.
; $Id: root.db,v 1.3 2010/12/08 23:51:56 tbox Exp $
$TTL 3600
@ SOA a.root-servers.nil. marka.isc.org. 0 0 0 0 0
@ NS a.root-servers.nil.
...
...
bin/tests/system/dns64/ns1/sign.sh
View file @
b8a9a7be
#!/bin/sh -e
#
# Copyright (C) 2004, 2006-2010 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2003 Internet Software Consortium.
# Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
...
...
@@ -15,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: sign.sh,v 1.
2
2010/12/08
02:46:16 marka
Exp $
# $Id: sign.sh,v 1.
3
2010/12/08
23:51:56 tbox
Exp $
SYSTEMTESTTOP
=
../..
.
$SYSTEMTESTTOP
/conf.sh
...
...
bin/tests/system/dns64/setup.sh
View file @
b8a9a7be
#!/bin/sh -e
#
# Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000, 2001 Internet Software Consortium.
# Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
...
...
@@ -15,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: setup.sh,v 1.
2
2010/12/08
02:46:15 marka
Exp $
# $Id: setup.sh,v 1.
3
2010/12/08
23:51:55 tbox
Exp $
../../../tools/genrandom 400 random.data
...
...
lib/bind9/check.c
View file @
b8a9a7be
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check.c,v 1.12
1
2010/12/08
02:46:16 marka
Exp $ */
/* $Id: check.c,v 1.12
2
2010/12/08
23:47:06 tbox
Exp $ */
/*! \file */
...
...
@@ -461,7 +461,7 @@ check_dns64(cfg_aclconfctx_t *actx, const cfg_obj_t *voptions,
result
=
ISC_R_FAILURE
;
continue
;
}
if
(
prefixlen
!=
32
&&
prefixlen
!=
40
&&
prefixlen
!=
48
&&
prefixlen
!=
56
&&
prefixlen
!=
64
&&
prefixlen
!=
96
)
{
cfg_obj_log
(
map
,
logctx
,
ISC_LOG_ERROR
,
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment