0.1.21 • Published 11 months ago

@3-/hwdns v0.1.21

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
11 months ago

@3-/hwdns

test/main.coffee :

#!/usr/bin/env coffee

> @3-/hwdns/purge


# await purge 'i18n.site'


# MX 数值越小优先级越高





###
if recordsets.length > 0
  console.log await rm(zoneId, recordsets.map (i)=>i.id)
###

# console.log await enable()

# console.log zoneId

#
# for i from acme.recordsets
#   console.log i.name, i.status, i.type
#   if i.status == 'ACTIVE'
#     await disable i.id
#
# for i from acme.recordsets
#   console.log i.name, i.status, i.type
#   await enable i.id


console.log ''

# const client = dns.DnsClient.newBuilder()
#                             .withCredential(credentials)
#                             .withEndpoint(endpoint)
#                             .build();
# const request = new dns.SetRecordSetsStatusRequest();
# request.recordsetId = "123";
# const body = new dns.SetRecordSetsStatusReq();
# body.withStatus("DISABLE");
# request.withBody(body);
# const result = client.setRecordSetsStatus(request);
# result.then(result => {
#     console.log("JSON.stringify(result)::" + JSON.stringify(result));
# }).catch(ex => {
#     console.log("exception:" + JSON.stringify(ex));
# });

output :

./out.txt

About

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

0.1.21

11 months ago

0.1.20

11 months ago

0.1.15

1 year ago

0.1.16

1 year ago

0.1.17

1 year ago

0.1.19

11 months ago

0.1.10

1 year ago

0.1.11

1 year ago

0.1.12

1 year ago

0.1.13

1 year ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago