Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

helios-solo: skydns workaround to allow DNS responses up to 32768 bytes #1081

Merged
merged 2 commits into from
Jan 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/helios_solo.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,8 @@ $ docker logs helios-solo-container

$ helios-up && docker exec -it helios-solo-container bash
```

Known issues
------------

* SkyDNS does not handle DNS TCP responses well. We have a workaround in place to use UDP for responses up to 32768 bytes in size. Any response larger than that will cause a `SERVFAIL`. When this happens SkyDns will log `skydns: failure to forward request "dns: failed to unpack truncated message"`. See https://github.com/spotify/helios/pull/900 and https://github.com/spotify/helios/pull/1081 for more information.
2 changes: 2 additions & 0 deletions solo/base/unbound-skydns.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ server:
outgoing-num-tcp: 256
access-control: 0.0.0.0/0 allow
do-not-query-localhost: no
max-udp-size: 32768
edns-buffer-size: 32768

forward-zone:
name: "."
Expand Down
2 changes: 1 addition & 1 deletion solo/base/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6
0.7
2 changes: 1 addition & 1 deletion solo/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM spotify/helios-solo-base:0.6
FROM spotify/helios-solo-base:0.7

EXPOSE 5801

Expand Down