[GH-ISSUE #298] Listen to TCP :53 in Docker #154

Open
opened 2026-03-13 15:57:54 +03:00 by kerem · 3 comments
Owner

Originally created by @dereckson on GitHub (Mar 18, 2022).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/298

Currently the README suggests to run the image like this:

 -p 53:53                                      \
 -p 53:53/udp                                  \

That creates the following bindings:

53/tcp
0.0.0.0:53->53/udp
:::53->53/udp

You can then reach host 53 UDP, but not TCP.

Originally created by @dereckson on GitHub (Mar 18, 2022). Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/298 Currently the README suggests to run the image like this: ``` -p 53:53 \ -p 53:53/udp \ ``` That creates the following bindings: ``` 53/tcp 0.0.0.0:53->53/udp :::53->53/udp ``` You can then reach host 53 UDP, but not TCP.
Author
Owner

@gc-ss commented on GitHub (Mar 19, 2022):

You can then reach host 53 UDP, but not TCP.

Is DNS over TCP something gets used? What's your DNS over TCP setup?

<!-- gh-comment-id:1073051154 --> @gc-ss commented on GitHub (Mar 19, 2022): > You can then reach host 53 UDP, but not TCP. Is DNS over TCP something gets used? What's your DNS over TCP setup?
Author
Owner

@Ajedi32 commented on GitHub (Mar 30, 2022):

DNS over TCP is a mandatory part of the DNS spec: https://datatracker.ietf.org/doc/html/rfc7766#section-5

As for the missing TCP binding, that's very strange since -p 53:53 should bind port 53 TCP. Does it work if you explicitly specify TCP like 53:53/tcp?

<!-- gh-comment-id:1083536526 --> @Ajedi32 commented on GitHub (Mar 30, 2022): DNS over TCP is a mandatory part of the DNS spec: https://datatracker.ietf.org/doc/html/rfc7766#section-5 As for the missing TCP binding, that's very strange since `-p 53:53` should bind port 53 TCP. Does it work if you explicitly specify TCP like `53:53/tcp`?
Author
Owner

@qupfer commented on GitHub (Aug 9, 2022):

DNS over TCP is a mandatory part of the DNS spec: https://datatracker.ietf.org/doc/html/rfc7766#section-5

I'm not in an academic environment anymore, so maybe I'm wrong.

But RFC 7766 describes DNS over TCP and yes, there is DNS over TCP mandatory :-D
But this does not (imho) imply, that DNS MUST use TCP, as DNS must not follow RFC7766 if they don't implement DNS over TCP.

<!-- gh-comment-id:1209793298 --> @qupfer commented on GitHub (Aug 9, 2022): > DNS over TCP is a mandatory part of the DNS spec: https://datatracker.ietf.org/doc/html/rfc7766#section-5 I'm not in an academic environment anymore, so maybe I'm wrong. But RFC 7766 describes DNS over TCP and yes, there is DNS over TCP mandatory :-D But this does not (imho) imply, that DNS MUST use TCP, as DNS must not follow RFC7766 if they don't implement DNS over TCP.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/acme-dns#154
No description provided.