Skip to content

Commit

Permalink
Merge pull request #7 from ruedigerp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ruedigerp authored Nov 20, 2024
2 parents bfd4981 + 2583ddd commit dfcff17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var batchCmd = &cobra.Command{

if dnsconfig.Batch.Provider == "cloudflare" {

dnsapi.AddRecord(zoneID, token, domain, dnsconfig.Batch.IP, dnsconfig.Batch.IP, dnsconfig.Batch.Proxied)
dnsapi.AddRecord(zoneID, token, domain, dnsconfig.Batch.Rtype, dnsconfig.Batch.IP, dnsconfig.Batch.Proxied)

} else if dnsconfig.Batch.Provider == "bind" {

Expand Down Expand Up @@ -64,7 +64,7 @@ var batchCmd = &cobra.Command{

if dnsconfig.Batch.Provider == "cloudflare" {

dnsapi.UpdateRecord(zoneID, token, domain, dnsconfig.Batch.IP, dnsconfig.Batch.IP, dnsconfig.Batch.Proxied)
dnsapi.UpdateRecord(zoneID, token, domain, dnsconfig.Batch.Rtype, dnsconfig.Batch.IP, dnsconfig.Batch.Proxied)

} else if dnsconfig.Batch.Provider == "bind" {

Expand Down

0 comments on commit dfcff17

Please sign in to comment.