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

# Modify Dns Record

# usage

Usage: oredge dns-record modify [id] [OPTIONS]

OPTIONS:
    --id                               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. modify dns record.
# oredge dns-record modify 1-371 --ip 10.2.2.2
OK