Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Dnsmasq
Commits
eceb5eef
Commit
eceb5eef
authored
Feb 06, 2015
by
Chen Wei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
af470306
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
README.md
README.md
+26
-0
No files found.
README.md
View file @
eceb5eef
...
@@ -6,6 +6,32 @@ The --ipsets and --server lookup has been rewritten. It scales well with thousan
...
@@ -6,6 +6,32 @@ The --ipsets and --server lookup has been rewritten. It scales well with thousan
of --ipsets and --server entries.
of --ipsets and --server entries.
_______root_______
/ \
com org
/ | \ / \
/ | \ / \
yahoo google twitter debian freebsd
| | | |
www mail cn www
|
ftp
The lookup steps over domain name hierarchy top-down. All labels are stored in
open addressing hash tables. Sub-level labels that belong to different parent
nodes are stored separately. e.g. yahoo, google, and twitter are in one hash
table, while debian and freebsd are in another.
The hash table size is power of 2, two hash functions are used to compute hash
bucket. For locating a particular label from hash table, two hash values are
compared first, only if they are match, should the more expensive string
comparison be used to confirm the search.
The search should take constant time regardless the size of --ipset and --server
rules.
### Issues
### Issues
*
`tcp_request`
not working
*
`tcp_request`
not working
...
...
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