Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dns servers cannot be removed
Browse files Browse the repository at this point in the history
Fixes #174
Remove the "Computed" property
vaerh committed Apr 20, 2023
1 parent 0a9cff5 commit 39569e1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions routeros/resource_ip_dns.go
Original file line number Diff line number Diff line change
@@ -35,7 +35,6 @@ func ResourceDns() *schema.Resource {
"allow_remote_requests": {
Type: schema.TypeBool,
Optional: true,
Computed: true,
Description: "Specifies whether to allow network requests.",
},
"cache_max_ttl": {
@@ -124,13 +123,11 @@ func ResourceDns() *schema.Resource {
"servers": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "List of DNS server IPv4/IPv6 addresses.",
},
"use_doh_server": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: `DNS over HTTPS (DoH) server URL.
> Mikrotik strongly suggest not use third-party download links for certificate fetching.
Use the Certificate Authority's own website.
@@ -140,7 +137,6 @@ func ResourceDns() *schema.Resource {
"verify_doh_cert": {
Type: schema.TypeBool,
Optional: true,
Computed: true,
Description: "DoH certificate verification. [See docs](https://wiki.mikrotik.com/wiki/Manual:IP/DNS#DNS_over_HTTPS).",
},
}

0 comments on commit 39569e1

Please sign in to comment.