[PR #393] feat: Support listening on multiple individual IPs #399

Open
opened 2026-03-13 16:21:45 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/acme-dns/acme-dns/pull/393
Author: @zajdee
Created: 11/24/2025
Status: 🔄 Open

Base: masterHead: support-multiple-ips


📝 Commits (4)

  • 6b09259 feat: Support listening on multiple individual IPs
  • 6043d5b Properly support udp4/udp6/tcp4/tcp6 too
  • 84aa069 Remove a forgotten return line
  • 6282740 Further simplify getProtocols

📊 Changes

2 files changed (+58 additions, -26 deletions)

View changed files

📝 main.go (+57 -25)
📝 main_test.go (+1 -1)

📄 Description

Hello,

this change adds support of specifying multiple explicitly configured listening IP addresses. This was previously not possible - either the service was listening on any (0.0.0.0/::) or on one address picked up by the operator (which may not be enough in dual-stacked environments).

This is useful in environments where you have multiple DNS servers listening on 53 (udp or tcp) and you want to distinguish between them by IPs. One DNS server may be listening on 127.0.0.1:53, [::1]:53, and another one on public IPs, e.g. 192.0.2.1:53,[2001:db8::1]:53.

Likely resolves #135


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/acme-dns/acme-dns/pull/393 **Author:** [@zajdee](https://github.com/zajdee) **Created:** 11/24/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `support-multiple-ips` --- ### 📝 Commits (4) - [`6b09259`](https://github.com/acme-dns/acme-dns/commit/6b0925936e704cc07b7b8583f4d08de10f31f786) feat: Support listening on multiple individual IPs - [`6043d5b`](https://github.com/acme-dns/acme-dns/commit/6043d5b3cad4301c8169ffdb13760a697fabba13) Properly support udp4/udp6/tcp4/tcp6 too - [`84aa069`](https://github.com/acme-dns/acme-dns/commit/84aa06949b61463ddd513f229f15042aa3146b11) Remove a forgotten return line - [`6282740`](https://github.com/acme-dns/acme-dns/commit/6282740c9cf9d6f0e8c45086e62d676b8c6929c0) Further simplify getProtocols ### 📊 Changes **2 files changed** (+58 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+57 -25) 📝 `main_test.go` (+1 -1) </details> ### 📄 Description Hello, this change adds support of specifying multiple explicitly configured listening IP addresses. This was previously not possible - either the service was listening on `any` (`0.0.0.0`/`::`) or on one address picked up by the operator (which may not be enough in dual-stacked environments). This is useful in environments where you have multiple DNS servers listening on 53 (udp or tcp) and you want to distinguish between them by IPs. One DNS server may be listening on `127.0.0.1:53, [::1]:53`, and another one on public IPs, e.g. `192.0.2.1:53,[2001:db8::1]:53`. Likely resolves #135 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#399
No description provided.