# Create dns-record

# usage

Usage: oredge dns-record create [OPTIONS]

OPTIONS:
    --dns                              dns id.
    --disabled bool                    true or false.
    --gateway integer                  gateway.
    --ip string                        ip.
    --is-master bool                   true or false.
    --ttl integer                      ttl.
    --unit string                      ttl unit, sec,min,hour,day.
    --sub-domain string                sub domain.
    --type string                      A,AAAA

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. create dns record.
# oredge dns-record create 1 --type A --sub-domain tt --ip 10.1.1.1
ID: 1-371