Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot Resolver
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
124
Issues
124
List
Boards
Labels
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
Knot Resolver
Commits
a3424c26
Commit
a3424c26
authored
Jul 20, 2016
by
Ondřej Surý
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert default EDNS0 buffer size to 4096
parent
4ad0e8b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
daemon/README.rst
daemon/README.rst
+1
-1
lib/defines.h
lib/defines.h
+1
-1
No files found.
daemon/README.rst
View file @
a3424c26
...
...
@@ -542,7 +542,7 @@ For when listening on ``localhost`` just doesn't cut it.
.. function:: net.bufsize([udp_bufsize])
Get/set maximum EDNS payload available. Default is
1452, increase it in cases when authoritatives send large payloads over UDP and don't support TCP
.
Get/set maximum EDNS payload available. Default is
4096
.
You cannot set less than 512 (512 is DNS packet size without EDNS, 1220 is minimum size for DNSSEC) or more than 65535 octets.
Example output:
...
...
lib/defines.h
View file @
a3424c26
...
...
@@ -63,7 +63,7 @@ static inline int __attribute__((__cold__)) kr_error(int x) {
#define KR_DNS_PORT 53
#define KR_DNS_TLS_PORT 853
#define KR_EDNS_VERSION 0
#define KR_EDNS_PAYLOAD
1452
/* Default UDP payload (max unfragmented UDP is 1452B) */
#define KR_EDNS_PAYLOAD
4096
/* Default UDP payload (max unfragmented UDP is 1452B) */
/*
* Address sanitizer hints.
...
...
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