| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Protocols
Protocols.DNS
Protocols.DNS.server

# Method Protocols.DNS.server()->create()

Method create

  `void Protocols.DNS.server()`
  `void Protocols.DNS.server(int port)`
  `void Protocols.DNS.server(string ip)`
  `void Protocols.DNS.server(string ip, int port)`
  `void Protocols.DNS.server(string ip, int port, string|int ... more)`

Description

  Open one or more new DNS server ports.

Parameter `ip`

  The IP to bind to. Defaults to `"::"` or `0` (ie ANY) depending on whether IPv6 support is present or not.

Parameter `port`

  The port number to bind to. Defaults to `53`.

Parameter `more`

  Optional further DNS server ports to open. Must be a set of ip , port argument pairs.