@opusdns/api 0.255.0 → 0.256.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/helpers/constants.ts +10 -0
- package/src/openapi.yaml +111 -1
- package/src/schema.d.ts +1 -1
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -919,16 +919,21 @@ export const DNS_RRSET_TYPE = {
|
|
|
919
919
|
AAAA: "AAAA",
|
|
920
920
|
ALIAS: "ALIAS",
|
|
921
921
|
CAA: "CAA",
|
|
922
|
+
CERT: "CERT",
|
|
922
923
|
CNAME: "CNAME",
|
|
923
924
|
DNSKEY: "DNSKEY",
|
|
924
925
|
DS: "DS",
|
|
926
|
+
HTTPS: "HTTPS",
|
|
925
927
|
MX: "MX",
|
|
928
|
+
NAPTR: "NAPTR",
|
|
926
929
|
NS: "NS",
|
|
927
930
|
PTR: "PTR",
|
|
928
931
|
TXT: "TXT",
|
|
929
932
|
SOA: "SOA",
|
|
930
933
|
SRV: "SRV",
|
|
931
934
|
SMIMEA: "SMIMEA",
|
|
935
|
+
SSHFP: "SSHFP",
|
|
936
|
+
SVCB: "SVCB",
|
|
932
937
|
TLSA: "TLSA",
|
|
933
938
|
URI: "URI",
|
|
934
939
|
} as const satisfies Record<string, DnsRrsetType>;
|
|
@@ -959,16 +964,21 @@ export const DNS_RRSET_TYPE_VALUES = [
|
|
|
959
964
|
'AAAA',
|
|
960
965
|
'ALIAS',
|
|
961
966
|
'CAA',
|
|
967
|
+
'CERT',
|
|
962
968
|
'CNAME',
|
|
963
969
|
'DNSKEY',
|
|
964
970
|
'DS',
|
|
971
|
+
'HTTPS',
|
|
965
972
|
'MX',
|
|
973
|
+
'NAPTR',
|
|
966
974
|
'NS',
|
|
967
975
|
'PTR',
|
|
968
976
|
'TXT',
|
|
969
977
|
'SOA',
|
|
970
978
|
'SRV',
|
|
971
979
|
'SMIMEA',
|
|
980
|
+
'SSHFP',
|
|
981
|
+
'SVCB',
|
|
972
982
|
'TLSA',
|
|
973
983
|
'URI'
|
|
974
984
|
] as const satisfies [string, ...string[]] | DnsRrsetType[];
|
package/src/openapi.yaml
CHANGED
|
@@ -1807,16 +1807,21 @@ components:
|
|
|
1807
1807
|
- AAAA
|
|
1808
1808
|
- ALIAS
|
|
1809
1809
|
- CAA
|
|
1810
|
+
- CERT
|
|
1810
1811
|
- CNAME
|
|
1811
1812
|
- DNSKEY
|
|
1812
1813
|
- DS
|
|
1814
|
+
- HTTPS
|
|
1813
1815
|
- MX
|
|
1816
|
+
- NAPTR
|
|
1814
1817
|
- NS
|
|
1815
1818
|
- PTR
|
|
1816
1819
|
- TXT
|
|
1817
1820
|
- SOA
|
|
1818
1821
|
- SRV
|
|
1819
1822
|
- SMIMEA
|
|
1823
|
+
- SSHFP
|
|
1824
|
+
- SVCB
|
|
1820
1825
|
- TLSA
|
|
1821
1826
|
- URI
|
|
1822
1827
|
title: DnsRrsetType
|
|
@@ -9857,7 +9862,7 @@ info:
|
|
|
9857
9862
|
\n\n"
|
|
9858
9863
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
9859
9864
|
title: OpusDNS API
|
|
9860
|
-
version: 2026-04-20-
|
|
9865
|
+
version: 2026-04-20-134700
|
|
9861
9866
|
x-logo:
|
|
9862
9867
|
altText: OpusDNS API Reference
|
|
9863
9868
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -11862,6 +11867,39 @@ paths:
|
|
|
11862
11867
|
content:
|
|
11863
11868
|
application/json:
|
|
11864
11869
|
examples:
|
|
11870
|
+
advanced_services_setup:
|
|
11871
|
+
description: A zone using HTTPS, SVCB, NAPTR, SSHFP, and CERT record
|
|
11872
|
+
types
|
|
11873
|
+
summary: Advanced service binding and security record types
|
|
11874
|
+
value:
|
|
11875
|
+
dnssec_status: disabled
|
|
11876
|
+
name: example.com
|
|
11877
|
+
rrsets:
|
|
11878
|
+
- name: _443._https
|
|
11879
|
+
records:
|
|
11880
|
+
- rdata: 1 . alpn=h2,h3 port=443 ipv4hint=192.0.2.1
|
|
11881
|
+
ttl: 300
|
|
11882
|
+
type: HTTPS
|
|
11883
|
+
- name: svc
|
|
11884
|
+
records:
|
|
11885
|
+
- rdata: 1 svc.example.net. alpn=bar port=8004
|
|
11886
|
+
ttl: 300
|
|
11887
|
+
type: SVCB
|
|
11888
|
+
- name: sip
|
|
11889
|
+
records:
|
|
11890
|
+
- rdata: 100 10 "s" "SIP+D2U" "" _sip._udp.example.com.
|
|
11891
|
+
ttl: 300
|
|
11892
|
+
type: NAPTR
|
|
11893
|
+
- name: host
|
|
11894
|
+
records:
|
|
11895
|
+
- rdata: 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef6789abcde
|
|
11896
|
+
ttl: 300
|
|
11897
|
+
type: SSHFP
|
|
11898
|
+
- name: cert
|
|
11899
|
+
records:
|
|
11900
|
+
- rdata: 1 12345 1 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ==
|
|
11901
|
+
ttl: 300
|
|
11902
|
+
type: CERT
|
|
11865
11903
|
business_setup:
|
|
11866
11904
|
description: A comprehensive setup for a business with multiple subdomains
|
|
11867
11905
|
and services
|
|
@@ -12807,6 +12845,47 @@ paths:
|
|
|
12807
12845
|
records: []
|
|
12808
12846
|
ttl: 300
|
|
12809
12847
|
type: A
|
|
12848
|
+
upsert_advanced_rrsets:
|
|
12849
|
+
description: Add HTTPS, SVCB, NAPTR, SSHFP, and CERT records in a
|
|
12850
|
+
single patch
|
|
12851
|
+
summary: Upsert advanced service binding and security RRsets
|
|
12852
|
+
value:
|
|
12853
|
+
ops:
|
|
12854
|
+
- op: upsert
|
|
12855
|
+
rrset:
|
|
12856
|
+
name: _443._https
|
|
12857
|
+
records:
|
|
12858
|
+
- rdata: 1 . alpn=h2,h3 port=443 ipv4hint=192.0.2.1
|
|
12859
|
+
ttl: 300
|
|
12860
|
+
type: HTTPS
|
|
12861
|
+
- op: upsert
|
|
12862
|
+
rrset:
|
|
12863
|
+
name: svc
|
|
12864
|
+
records:
|
|
12865
|
+
- rdata: 1 svc.example.net. alpn=bar port=8004
|
|
12866
|
+
ttl: 300
|
|
12867
|
+
type: SVCB
|
|
12868
|
+
- op: upsert
|
|
12869
|
+
rrset:
|
|
12870
|
+
name: sip
|
|
12871
|
+
records:
|
|
12872
|
+
- rdata: 100 10 "s" "SIP+D2U" "" _sip._udp.example.com.
|
|
12873
|
+
ttl: 300
|
|
12874
|
+
type: NAPTR
|
|
12875
|
+
- op: upsert
|
|
12876
|
+
rrset:
|
|
12877
|
+
name: host
|
|
12878
|
+
records:
|
|
12879
|
+
- rdata: 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef6789abcde
|
|
12880
|
+
ttl: 300
|
|
12881
|
+
type: SSHFP
|
|
12882
|
+
- op: upsert
|
|
12883
|
+
rrset:
|
|
12884
|
+
name: cert
|
|
12885
|
+
records:
|
|
12886
|
+
- rdata: 1 12345 1 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ==
|
|
12887
|
+
ttl: 300
|
|
12888
|
+
type: CERT
|
|
12810
12889
|
upsert_and_remove:
|
|
12811
12890
|
description: Change www from CNAME to A record with multiple IPs (remove
|
|
12812
12891
|
CNAME, add A records)
|
|
@@ -12910,6 +12989,37 @@ paths:
|
|
|
12910
12989
|
- rdata: 203.0.113.10
|
|
12911
12990
|
ttl: 300
|
|
12912
12991
|
type: A
|
|
12992
|
+
update_advanced_rrsets:
|
|
12993
|
+
description: Replace all RRsets with HTTPS, SVCB, NAPTR, SSHFP, and
|
|
12994
|
+
CERT records
|
|
12995
|
+
summary: Update with advanced service binding and security RRsets
|
|
12996
|
+
value:
|
|
12997
|
+
rrsets:
|
|
12998
|
+
- name: _443._https
|
|
12999
|
+
records:
|
|
13000
|
+
- rdata: 1 . alpn=h2,h3 port=443 ipv4hint=192.0.2.1
|
|
13001
|
+
ttl: 300
|
|
13002
|
+
type: HTTPS
|
|
13003
|
+
- name: svc
|
|
13004
|
+
records:
|
|
13005
|
+
- rdata: 1 svc.example.net. alpn=bar port=8004
|
|
13006
|
+
ttl: 300
|
|
13007
|
+
type: SVCB
|
|
13008
|
+
- name: sip
|
|
13009
|
+
records:
|
|
13010
|
+
- rdata: 100 10 "s" "SIP+D2U" "" _sip._udp.example.com.
|
|
13011
|
+
ttl: 300
|
|
13012
|
+
type: NAPTR
|
|
13013
|
+
- name: host
|
|
13014
|
+
records:
|
|
13015
|
+
- rdata: 4 2 123456789abcdef67890123456789abcdef67890123456789abcdef6789abcde
|
|
13016
|
+
ttl: 300
|
|
13017
|
+
type: SSHFP
|
|
13018
|
+
- name: cert
|
|
13019
|
+
records:
|
|
13020
|
+
- rdata: 1 12345 1 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ==
|
|
13021
|
+
ttl: 300
|
|
13022
|
+
type: CERT
|
|
12913
13023
|
update_multiple_rrsets:
|
|
12914
13024
|
description: Replace all RRsets with multiple record sets (A, CNAME,
|
|
12915
13025
|
MX)
|
package/src/schema.d.ts
CHANGED
|
@@ -3426,7 +3426,7 @@ export interface components {
|
|
|
3426
3426
|
* DnsRrsetType
|
|
3427
3427
|
* @enum {string}
|
|
3428
3428
|
*/
|
|
3429
|
-
DnsRrsetType: "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "DNSKEY" | "DS" | "MX" | "NS" | "PTR" | "TXT" | "SOA" | "SRV" | "SMIMEA" | "TLSA" | "URI";
|
|
3429
|
+
DnsRrsetType: "A" | "AAAA" | "ALIAS" | "CAA" | "CERT" | "CNAME" | "DNSKEY" | "DS" | "HTTPS" | "MX" | "NAPTR" | "NS" | "PTR" | "TXT" | "SOA" | "SRV" | "SMIMEA" | "SSHFP" | "SVCB" | "TLSA" | "URI";
|
|
3430
3430
|
/** DnsRrsetWithOneRecordPatch */
|
|
3431
3431
|
DnsRrsetWithOneRecordPatch: {
|
|
3432
3432
|
/** Name */
|