Skip to content

Allow multiple listeners (e.g. for IPv4 & IPv6) #44

@cbix

Description

@cbix

As of currently (bc3bb04), shaman doesn't allow listening on multiple addresses. This is especially bad if I want it to run over both IPv4 and IPv6 on the same host. Now I'd have to keep separate configurations and API endpoints for separate instances of shaman.

Not sure there is a simple solution using the existing github.com/miekg/dns listener, but if you spawn multiple of these in goroutines and read their return values from a channel asynchronously, that would probably be a 5 LOC solution on that part. Ofc it still needs to be integrated in the configuration and CLI flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions