Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add easier way to create custom record types: "Rdata style" #3082

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
3 changes: 1 addition & 2 deletions commands/printIR.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"github.com/StackExchange/dnscontrol/v4/pkg/js"
"github.com/StackExchange/dnscontrol/v4/pkg/normalize"
"github.com/StackExchange/dnscontrol/v4/pkg/rfc4183"
"github.com/StackExchange/dnscontrol/v4/pkg/rtypes"
"github.com/urfave/cli/v2"
)

Expand Down Expand Up @@ -130,7 +129,7 @@ func ExecuteDSL(args ExecuteDSLArgs) (*models.DNSConfig, error) {
return nil, fmt.Errorf("executing %s: %w", args.JSFile, err)
}

err = rtypes.PostProcess(dnsConfig.Domains)
err = models.ConvertRawRecords(dnsConfig.Domains)
if err != nil {
return nil, err
}
Expand Down
3 changes: 2 additions & 1 deletion documentation/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@
* [Documentation Style Guide](styleguide-doc.md)
* [DNSControl is an opinionated system](opinions.md)
* [Writing new DNS providers](writing-providers.md)
* [Creating new DNS Resource Types (rtypes)](adding-new-rtypes.md)
* [Creating new DNS Resource Types (Rdata-style)](adding-new-rtypes-rdata.md)
* [Creating new DNS Resource Types (RC-Style)](adding-new-rtypes.md)
* [Integration Tests](integration-tests.md)
* [Unit Testing DNS Data](unittests.md)
* [Bug Triage Process](bug-triage.md)
Expand Down
Loading
Loading