Class DotEndPoint
Provides the information to make a secure connection to a DNS over TLS server.
Inherited Members
Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.Unicast.dll
Syntax
public class DotEndPoint
Fields
| Improve this Doc View SourceAddress
The IP address.
Declaration
public IPAddress Address
Field Value
Type | Description |
---|---|
IPAddress | Can be IPv4 and IPv6. |
Hostname
The name of the host.
Declaration
public string Hostname
Field Value
Type | Description |
---|---|
String |
Remarks
Used to verify the TLS handshake. Also known as Server Name Indication (SNI).
Pins
The SPKI Fingerprint of a valid certificate.
Declaration
public string[] Pins
Field Value
Type | Description |
---|---|
String[] | The base-64 encoding of the SPKI Fingerprint. |
Remarks
The fingerprint is the SHA-256 hash of the DER-encoded ASN.1 representation of the SPKI of an X.509 certificate.
note
Checking of PINS is not implemented, see https://github.com/richardschneider/net-udns/issues/5.
Port
The TCP port.
Declaration
public int Port
Field Value
Type | Description |
---|---|
Int32 | Defaults to 853. |