Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
darkbit
ffbs-gluon
Commits
71bfa305
Unverified
Commit
71bfa305
authored
7 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
docs: features/dns-cache: clean up
parent
8bfa3f96
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/features/dns-cache.rst
+12
-11
12 additions, 11 deletions
docs/features/dns-cache.rst
with
12 additions
and
11 deletions
docs/features/dns-cache.rst
+
12
−
11
View file @
71bfa305
DNS
-C
aching
DNS
c
aching
===========
===========
User experience may be greatly improved when dns is accelerated. Also, it
User experience may be greatly improved when dns is accelerated. Also, it
seems like a good idea to keep the number of packages being exchanged
seems like a good idea to keep the number of packages being exchanged
between node and gateway as small as possible. In order to do this, a
between node and gateway as small as possible. In order to do this, a
dns-
cache may be used on a node. The dnsmasq instance listening on port
DNS
cache may be used on a node. The dnsmasq instance listening on port
53 on the node will be reconfigured to answer requests, use a list of
53 on the node will be reconfigured to answer requests, use a list of
upstream servers and a specific cache size if the options listed below are
upstream servers and a specific cache size if the options listed below are
added to site.conf. Upstream servers are the DNS servers which are normally
added to site.conf. Upstream servers are the DNS servers which are normally
...
@@ -12,14 +13,14 @@ used by the nodes to resolve hostnames (e.g. gateways/supernodes).
...
@@ -12,14 +13,14 @@ used by the nodes to resolve hostnames (e.g. gateways/supernodes).
There are the following settings:
There are the following settings:
servers
servers
cacheentries
cacheentries
If both options are set the node will cache as much DNS records as set with
If both options are set the node will cache as much DNS records as set with
'cacheentries' in RAM. The 'servers' list will be used to resolve the received
'cacheentries' in RAM. The 'servers' list will be used to resolve the received
DNS
-
queries if the request cannot be answered from cache.
DNS
queries if the request cannot be answered from cache.
If these settings do not exist, the cache is not intialized and RAM
-
usage will not increase.
If these settings do not exist, the cache is not intialized and RAM
usage will not increase.
When next_node.name is set, an A
-
record and an AAAA
-
record for the
When next_node.name is set, an A
record and an AAAA
record for the
next-node
-
IP are placed in the dnsmasq configuration. This means that the content
next-node
IP
address
are placed in the dnsmasq configuration. This means that the content
of next_node.name may be resolved even without upstream connectivity.
of next_node.name may be resolved even without upstream connectivity.
::
::
...
@@ -28,7 +29,7 @@ of next_node.name may be resolved even without upstream connectivity.
...
@@ -28,7 +29,7 @@ of next_node.name may be resolved even without upstream connectivity.
cacheentries = 5000,
cacheentries = 5000,
servers = { '2001:db8::1', },
servers = { '2001:db8::1', },
},
},
next_node = {
next_node = {
name = 'nextnode',
name = 'nextnode',
ip6 = '2001:db8:8::1',
ip6 = '2001:db8:8::1',
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment