dnscontrol/pkg/js/parse_tests/038-soa.js
fuero 4586ad1281
Direct SOA record management (#1115)
* Adds SOA record to JS, zone parsing and record validation

* adds JS parsing test for SOA record

* fix validation & regenerates static resources

* Adds label and target test for SOA record

* Removes serial from SOA JS macro

* Adds generated resources

* reformat with gofmt

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-05-04 15:47:26 -04:00

3 lines
95 B
JavaScript

D("foo.com","none",
SOA('@', 'ns1.foo.com.', 'admin.foo.com', 3600, 900, 604800, 86400)
);