2019-05-21 04:33:50 +02:00
|
|
|
---
|
|
|
|
name: SSHFP
|
|
|
|
parameters:
|
|
|
|
- name
|
|
|
|
- algorithm
|
|
|
|
- type
|
|
|
|
- value
|
|
|
|
- modifiers...
|
2023-01-12 16:59:42 -05:00
|
|
|
parameter_types:
|
|
|
|
name: string
|
|
|
|
algorithm: 0 | 1 | 2 | 3 | 4
|
|
|
|
type: 0 | 1 | 2
|
|
|
|
value: string
|
|
|
|
"modifiers...": RecordModifier[]
|
2019-05-21 04:33:50 +02:00
|
|
|
---
|
|
|
|
|
2023-03-15 23:43:57 +01:00
|
|
|
`SSHFP` contains a fingerprint of a SSH server which can be validated before SSH clients are establishing the connection.
|
2019-05-21 04:33:50 +02:00
|
|
|
|
|
|
|
**Algorithm** (type of the key)
|
2022-10-31 23:09:43 +01:00
|
|
|
|
2019-05-21 04:33:50 +02:00
|
|
|
| ID | Algorithm |
|
|
|
|
|----|-----------|
|
|
|
|
| 0 | reserved |
|
|
|
|
| 1 | RSA |
|
|
|
|
| 2 | DSA |
|
|
|
|
| 3 | ECDSA |
|
|
|
|
| 4 | ED25519 |
|
|
|
|
|
|
|
|
**Type** (fingerprint format)
|
2022-10-31 23:09:43 +01:00
|
|
|
|
2019-05-21 04:33:50 +02:00
|
|
|
| ID | Algorithm |
|
|
|
|
|----|-----------|
|
|
|
|
| 0 | reserved |
|
|
|
|
| 1 | SHA-1 |
|
|
|
|
| 2 | SHA-256 |
|
|
|
|
|
|
|
|
`value` is the fingerprint as a string.
|
|
|
|
|
2023-03-13 21:30:21 +01:00
|
|
|
{% code title="dnsconfig.js" %}
|
2023-01-20 13:56:20 +01:00
|
|
|
```javascript
|
2023-05-24 22:09:22 +02:00
|
|
|
SSHFP("@", 1, 1, "00yourAmazingFingerprint00"),
|
2022-02-17 18:22:31 +01:00
|
|
|
```
|
2023-03-13 21:30:21 +01:00
|
|
|
{% endcode %}
|