Uploaded image for project: 'OpenDNSSEC'
  1. OpenDNSSEC
  2. OPENDNSSEC-431

Improve 'zone add' - Support default <input> and <output> values for DNS adapters

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.14, 1.4.1
    • Fix Version/s: 1.4.3
    • Component/s: Enforcer
    • Labels:
      None
    • Sprint:
      1.4.3

      Description

      As suggested by Havard we could improve the 'ods-ksmutil zone add' command by detecting the input type specified and in the case of a 'DNS' adapter using a default path of

      {prefix}

      /var/opendnssec/addds.xml
      for the adapter file.
      This will greatly reduce the command line that the user is required to type because at the moment if the user wants to use a DNS adapter they must fully specify type and input (as otherwise the input defaults to a zone file path):
      ods-ksmutil zone add \
      --zone <zonename> \
      --in-type DNS \
      --input /usr/pkg/etc/opendnssec/addns.xml \
      --out-type DNS \
      --output /usr/pkg/etc/opendnssec/addns.xml

      can become:
      ods-ksmutil zone add --zone <zonename> --in-type DNS --out-type DNS

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              intotherain Guodong Wang
              Reporter:
              sara Sara Dickinson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 2 days
                  1w 2d