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
Sebastian Schrader
Kea
Commits
3a98bed9
Commit
3a98bed9
authored
Jun 13, 2013
by
Mukund Sivaraman
Committed by
Michal 'vorner' Vaner
Jun 13, 2013
Browse files
[2776] Minor tweaks and fixes
parent
668a507b
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/design/resolver/02-mixed-recursive-authority-setup
View file @
3a98bed9
...
@@ -5,7 +5,7 @@ Ideally we will run the authoritative server independently of the
...
@@ -5,7 +5,7 @@ Ideally we will run the authoritative server independently of the
recursive resolver.
recursive resolver.
We need a way to run both an authoritative and a recursive resolver on
We need a way to run both an authoritative and a recursive resolver on
a single platform,
listening on the same IP/port. But we need a way to
the same machine and
listening on the same IP/port. But we need a way to
run only one of them as well.
run only one of them as well.
This is mostly the same problem as we have with DDNS packets and xfr-out
This is mostly the same problem as we have with DDNS packets and xfr-out
...
@@ -22,7 +22,7 @@ With some build system or dynamic linker tricks, we create three modules:
...
@@ -22,7 +22,7 @@ With some build system or dynamic linker tricks, we create three modules:
* Stand-alone resolver
* Stand-alone resolver
* Compound module containing both
* Compound module containing both
The user then chooses either one stand
alone module, or the compound one,
The user then chooses either one stand
-
alone module, or the compound one,
depending on the requirements.
depending on the requirements.
Advantages
Advantages
...
@@ -36,7 +36,7 @@ Disadvantages
...
@@ -36,7 +36,7 @@ Disadvantages
* The code is not separated (one bugs takes down both, admin can't see which
* The code is not separated (one bugs takes down both, admin can't see which
one takes how much CPU).
one takes how much CPU).
* B
ind
9 does this and
bind 9
code is a jungle. Maybe it's not just a
* B
IND
9 does this and
its
code is a jungle. Maybe it's not just a
coincidence.
coincidence.
* Limits flexibility -- for example, we can't then decide to make the resolver
* Limits flexibility -- for example, we can't then decide to make the resolver
threaded (or we would have to make sure the auth processing doesn't break
threaded (or we would have to make sure the auth processing doesn't break
...
@@ -62,7 +62,7 @@ Advantages
...
@@ -62,7 +62,7 @@ Advantages
Disadvantages
Disadvantages
~~~~~~~~~~~~~
~~~~~~~~~~~~~
* Counter-intuitive asymetric design
* Counter-intuitive asym
m
etric design
* Possible slowdown on the resolver side
* Possible slowdown on the resolver side
* Resolver needs to know both modes (for running stand-alone too)
* Resolver needs to know both modes (for running stand-alone too)
...
@@ -81,7 +81,7 @@ forwarded to the resolver. The resolver then updates the cache too.
...
@@ -81,7 +81,7 @@ forwarded to the resolver. The resolver then updates the cache too.
Advantages
Advantages
~~~~~~~~~~
~~~~~~~~~~
* Probably
a
good performance
* Probably good performance
Disadvantages
Disadvantages
~~~~~~~~~~~~~
~~~~~~~~~~~~~
...
@@ -135,7 +135,7 @@ Implementation ideas
...
@@ -135,7 +135,7 @@ Implementation ideas
* The queries are sent from the receptionist in batches, the answers are sent
* The queries are sent from the receptionist in batches, the answers are sent
back to the receptionist in batches too.
back to the receptionist in batches too.
* It is possible to fine-tune and use OS-specific tricks (like epoll or
* It is possible to fine-tune and use OS-specific tricks (like epoll or
sending multiple UDP messages by single call to sendmmsg).
sending multiple UDP messages by single call to sendmmsg
()
).
Proposal
Proposal
--------
--------
...
...
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