edjx domain records create

Creates a records for a specific domain type.
See DNS Record Types for a list of the supported record types.

Usage

edjx domain records create <name> <type> <target> <ttl>
[-d, --domain <domain-UUID>]
[    --priority <value>]
[    --proxy]

Options

Option Required Type Description

<name>

Yes

string

Name of the domain.

<type>

Yes

string

Sets the record type.

<target>

Yes

string

Sets the target value.

<ttl>

Yes

integer

Sets the TTL value.

-d, --domain <domain-UUID>

No

UUID

The domain UUID to associate with the record.
Default: 00000000-0000-0000-0000-000000000000

--priority <value>

Required for MX records only.

integer

Sets the priority level.

--proxy

No

Enables EDJX to be a proxy for this record.
NOTE: When proxy is enabled, and there are no routing rules configured, only caching will be active for this record.

Global Flags

Option Required Type Description

-h, --help

No

Displays inline help for the command.

--config <file-location>

No

string

Location of client configuration file (default file path is $HOME/.edjx/.edjx.yaml).

Sample 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