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
Container Registry
Model registry
Operate
Environments
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
ffbs
ffbs-gluon
Commits
4bae0a42
Commit
4bae0a42
authored
7 years ago
by
Ralf Jung
Committed by
Andreas Ziegler
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docs: dns-cache: explain setting dns.servers a bit more (#1268)
parent
ab16cea1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/features/dns-cache.rst
+11
-4
11 additions, 4 deletions
docs/features/dns-cache.rst
package/gluon-core/check_site.lua
+1
-1
1 addition, 1 deletion
package/gluon-core/check_site.lua
with
12 additions
and
5 deletions
docs/features/dns-cache.rst
+
11
−
4
View file @
4bae0a42
...
...
@@ -14,10 +14,17 @@ There are the following settings:
servers
cacheentries
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
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.
To use the node's DNS server, both options should be set. The node will cache at
most 'cacheentries' many DNS records in RAM. The 'servers' list will be used to
resolve the received DNS queries if the request cannot be answered from
cache. Gateways should announce the "next node" address via DHCP and RDNSS (if
any). Note that not setting 'servers' here will lead to DNS not working: Once
the gateways all announce the "next node" address for DNS, there is no way for
nodes to automatically determine DNS servers. They have to be baked into the
firmware.
If these settings do not exist, the cache is not initialized and RAM usage will
not increase.
When next_node.name is set, an A record and an AAAA record for the
next-node IP address are placed in the dnsmasq configuration. This means that the content
...
...
This diff is collapsed.
Click to expand it.
package/gluon-core/check_site.lua
+
1
−
1
View file @
4bae0a42
...
...
@@ -42,7 +42,7 @@ end
need_boolean
(
'poe_passthrough'
,
false
)
if
need_table
(
'dns'
,
nil
,
false
)
then
need_number
(
'dns.cacheentries'
,
false
)
need_string_array_match
(
'dns.servers'
,
'^[%x:]+$'
,
fals
e
)
need_string_array_match
(
'dns.servers'
,
'^[%x:]+$'
,
tru
e
)
end
if
need_table
(
'next_node'
,
nil
,
false
)
then
...
...
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