Skip to content

Consider merging IP and port for clear explanation #516

Description

@pscoem

listen-addrs:
- "0.0.0.0"
listen-ports:
- 53

Current YAML have this:

listen-addrs:
  - "0.0.0.0"
listen-ports:
  - 53

and this is unclear - what will happen if I replace to:

listen-addrs:
  - "127.0.0.1"
  - "192.168.34.56"
listen-ports:
  - 53
  - 5353

will it open:

  • 127.0.0.1:53
  • 127.0.0.1:5353
  • 192.168.34.56:53
  • 192.168.34.56:5353

To avoid such confusion, why not merge IP and port like this:

server-listen:
  - "127.0.0.1:53"
  - "192.168.34.56:5353"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions