Estimated Reading Time: 1 minutes|Last Updated: 11/3/2021, 10:50:40 AM

# List Dns Record

# usage

Usage: oredge dns-record create [dns] [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.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. list dns record.
# oredge dns-record list 1
ID       TYPE    SUB DOMAIN               TTL    UNIT    IS MASTER    CREATE TIME            MODIFY TIME        
1-371    A       tt                                      true         2021-07-15 22:50:11    2021-07-15 22:50:11
1-370    A       test                                    true         2021-07-14 06:54:07    2021-07-14 06:54:07
1-367    A       abc                      5      min     true         2021-05-25 04:53:50    2021-05-25 04:53:50
1-364    A       @                        5      min     true         2021-05-09 22:04:40    2021-05-09 22:04:40
1-353    SRV     _aa._bb.sdfadsf          5      min     true         2021-03-30 22:39:55    2021-05-07 03:07:03
1-352    SRV     _dsf._dafsdf.asdfsdf     5      min     true         2021-03-30 22:33:36    2021-03-30 22:33:36
1-351    SRV     _htp._tcp.abc            5      min     true         2021-03-30 22:31:54    2021-03-30 22:31:54