Skip to content

Server: Option to specify which interfaces to use  #607

Open
@mageddo

Description

@mageddo

Summary & Motivation

As requested at #544, it can be useful to bind DPS to one o more but specific network interfaces, by default DPS binds to all interfaces to make it easier to use, at the same time it can become unwanted or insecure when in more production like usecases.

Description

Create configs to decide which interfaces will be used to bind to the tcp/udp dns and web server

{
  "serverNetworkBindInterface": "en6" ,
  "dnsServerNetworkBindInterface": "en6",
  "webServerNetworkBindInterface": "en6" 
}

Where networkBindInterfacecan be a name ex en6 or a mac address, ex: acde48001122, ACDE48001122, ac:de:48:00:11:22, AC:DE:48:00:11:22

  • All configs will be default to null, which means all interfaces will be binded (0.0.0.0)
  • serverNetworkBindInterface will apply to both DNS and Web server
  • dnsServerNetworkBindInterface and webServerNetworkBindInterface will override the serverNetworkBindInterface config

Alternatives

Run DPS inside a docker container to prevent DPS to bind to unwanted interfaces at the host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestProposal of a new feature/behavior to be implemented, not reviewed by the repo authors yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions