Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
6570e46b
Commit
6570e46b
authored
Jan 25, 2012
by
JINMEI Tatuya
Browse files
[1571] added special case for DS lookup: it should always be considered in-zone.
now the test passed.
parent
e3a6fbfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/memory_datasrc.cc
View file @
6570e46b
...
...
@@ -557,7 +557,10 @@ struct InMemoryZoneFinder::InMemoryZoneFinderImpl {
// If the node callback is enabled, this may be a zone cut. If it
// has a NS RR, we should return a delegation, but not in the apex.
if
(
node
->
getFlag
(
DomainNode
::
FLAG_CALLBACK
)
&&
node
!=
origin_data_
)
{
// There is one exception: the case for DS query, which should always
// be considered in-zone lookup.
if
(
node
->
getFlag
(
DomainNode
::
FLAG_CALLBACK
)
&&
node
!=
origin_data_
&&
type
!=
RRType
::
DS
())
{
found
=
node
->
getData
()
->
find
(
RRType
::
NS
());
if
(
found
!=
node
->
getData
()
->
end
())
{
LOG_DEBUG
(
logger
,
DBG_TRACE_DATA
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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