edjx domain records create

Creates a records for a specific domain type.

edjx domain records create <name> <type> <target> <ttl> [flags]

Arguments

name         Name of the domain.
type         Sets the record type.
target       Sets the target value.
ttl          Sets the TTL value.

Flags

-d, --domain <domain-id>            Optional. Domain ID (default 00000000-0000-0000-0000-000000000000)
    --priority <int>                Required for MX records only. Sets the priority level.
    --proxy                         Optional. Enables EDJX to be a proxy for this record.
When proxy is enabled, and there are no routing rules configured, only caching will be active for this record.

Example Output

root@edjx:~ # edjx domain records create abcde.com A 127.0.0.1 100
Record created successfully.
Record ID: 85b65a61-23ad-46fd-9f2e-61ea0988e7cc