Skip to content

Commit bba8417

Browse files
committed
fix: correct the default listen to also use ipv6
1 parent 0c8b865 commit bba8417

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ index_html: |
326326
```bash
327327
LOG_LEVEL=DEBUG # Optional: DEBUG, INFO, WARNING, ERROR (default: DEBUG)
328328
LOG_FORMAT=json # Optional: "text" (default) or "json" for structured logging
329-
LISTEN_HOST=0.0.0.0 # Optional: Host to bind to (default: 0.0.0.0)
329+
LISTEN_HOST=0.0.0.0 # Optional: Host to bind to (default: *)
330330
LISTEN_PORT=8000 # Optional: Port to listen on (default: 8000)
331331
```
332332

powerdns_api_proxy/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
def main() -> int:
8-
host = os.getenv("LISTEN_HOST", "0.0.0.0")
8+
host = os.getenv("LISTEN_HOST", "*")
99
port = int(os.getenv("LISTEN_PORT", "8000"))
1010
reload = "--reload" in sys.argv
1111

0 commit comments

Comments
 (0)