intodns__generate_tlsa
Build a DANE TLSA record from a certificate or public key — the DNS record that pins which certificate a mail server may present, so an attacker cannot strip STARTTLS or substitute another CA-issued certificate. Paste the PEM (a CERTIFICATE or PUBLIC KEY block) as pem; the hash is computed here because a language model cannot hash. Never send a private key: none is needed and the request is refused if one is present. The three numbers: usage 3 (DANE-EE) pins the end-entity key and needs no C
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pem": "<pem>"
},
"name": "intodns__generate_tlsa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pem | Yes | PEM block: -----BEGIN CERTIFICATE----- or -----BEGIN PUBLIC KEY-----. Never a private key. | |
| host | No | Mail server hostname from the MX record, e.g. mail.example.com — not the domain itself. | |
| port | No | Port the record covers. Defaults to 25 for SMTP. | |
| usage | No | 0 PKIX-TA, 1 PKIX-EE, 2 DANE-TA, 3 DANE-EE. Use 3 for SMTP. Defaults to 3. | |
| matching | No | 0 exact, 1 SHA-256, 2 SHA-512. Use 1. Defaults to 1. | |
| selector | No | 0 full certificate, 1 SubjectPublicKeyInfo. Use 1. Defaults to 1. |