dns


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ NoAccessorMethod ]
public string[] dns { owned get; set; }

Array of DNS servers.

Each server can be specified either as a plain IP address (optionally followed by a "#" and the SNI server name for DNS over TLS) or with a URI syntax.

When it is specified as an URI, the following forms are supported: dns+udp://ADDRESS[NMSettingIPConfig:PORT], dns+tls://ADDRESS[NMSettingIPConfig:PORT][SERVERNAME] .

When using the URI syntax, IPv6 addresses must be enclosed in square brackets ('[', ']').