github.com/StackExchange/dnscontrol/v4@v4.11.0/documentation/language-reference/domain-modifiers/HTTPS.md (about)

     1  ---
     2  name: HTTPS
     3  parameters:
     4    - name
     5    - priority
     6    - target
     7    - params
     8    - modifiers...
     9  parameter_types:
    10    name: string
    11    priority: number
    12    target: string
    13    params: string
    14    "modifiers...": RecordModifier[]
    15  ---
    16  
    17  HTTPS adds an HTTPS record to a domain. The name should be the relative label for the record. Use `@` for the domain apex. The HTTPS record is a special form of the SVCB resource record.
    18  
    19  The priority must be a positive number, the address should be an ip address, either a string, or a numeric value obtained via [IP](../top-level-functions/IP.md).
    20  
    21  The params may be configured to specify the `alpn`, `ipv4hint`, `ipv6hint`, `ech` or `port` setting. Several params may be joined by a space. Not existing params may be specified as an empty string `""`
    22  
    23  Modifiers can be any number of [record modifiers](https://docs.dnscontrol.org/language-reference/record-modifiers) or JSON objects, which will be merged into the record's metadata.
    24  
    25  {% code title="dnsconfig.js" %}
    26  ```javascript
    27  D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
    28    HTTPS("@", 1, ".", "ipv4hint=123.123.123.123 alpn=h3,h2 port=443"),
    29    HTTPS("@", 1, "test.com", ""),
    30  END);
    31  ```
    32  {% endcode %}