[GH-ISSUE #61] Make DNS server listen on one IPv6 address #22

Closed
opened 2026-03-13 15:24:10 +03:00 by kerem · 1 comment
Owner

Originally created by @Daniel15 on GitHub (Mar 18, 2018).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/61

I want to run acme-dns and have it listen on just a single IPv6 address, since I already have another DNS server listening on some other IPs on the same server. I've edited the configuration like this:

[general]
# dns interface
listen = "[2605:6400:20:92e::eff]:53"
# protocol, "udp", "udp4", "udp6" or "tcp", "tcp4", "tcp6"
protocol = "udp6"

...

[api]
# listen ip, default "" listens on all interfaces/addresses
#ip = "127.0.0.1"
ip = ""
# listen port, eg. 443 for default HTTPS
port = "8496"

However, when I run it, it seems like it's only listening on the API port and not on the DNS one:

13:28 daniel@vps03 /home/daniel
% sudo netstat -tulnp | grep acme-dns
tcp6       0      0 :::8496                 :::*                    LISTEN      28247/acme-dns

Am I using the correct syntax? It's a bit confusing because the API section has separate "ip" and "port" options, but I just see a single "listen" option for the DNS server, so I just tried to guess the syntax.

Originally created by @Daniel15 on GitHub (Mar 18, 2018). Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/61 I want to run acme-dns and have it listen on just a single IPv6 address, since I already have another DNS server listening on some other IPs on the same server. I've edited the configuration like this: ``` [general] # dns interface listen = "[2605:6400:20:92e::eff]:53" # protocol, "udp", "udp4", "udp6" or "tcp", "tcp4", "tcp6" protocol = "udp6" ... [api] # listen ip, default "" listens on all interfaces/addresses #ip = "127.0.0.1" ip = "" # listen port, eg. 443 for default HTTPS port = "8496" ``` However, when I run it, it seems like it's only listening on the API port and not on the DNS one: ``` 13:28 daniel@vps03 /home/daniel % sudo netstat -tulnp | grep acme-dns tcp6 0 0 :::8496 :::* LISTEN 28247/acme-dns ``` Am I using the correct syntax? It's a bit confusing because the API section has separate "ip" and "port" options, but I just see a single "listen" option for the DNS server, so I just tried to guess the syntax.
kerem closed this issue 2026-03-13 15:24:15 +03:00
Author
Owner

@Daniel15 commented on GitHub (Mar 18, 2018):

So it turns out I was just forgetting to run it with sudo, and it does not throw any errors when there's a permission error

Also, confusingly there's an info notice for listening to HTTP:

INFO[0000] Listening HTTP                                host=":8496"

But not for DNS. It would be nice to have that for DNS too.

<!-- gh-comment-id:374043269 --> @Daniel15 commented on GitHub (Mar 18, 2018): So it turns out I was just forgetting to run it with `sudo`, and it does not throw any errors when there's a permission error Also, confusingly there's an info notice for listening to HTTP: ``` INFO[0000] Listening HTTP host=":8496" ``` But not for DNS. It would be nice to have that for DNS too.
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#22
No description provided.