You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: error looking up CNAME records for "some.cname.entry.that.exists.but.doesnt.resolve": lookup some.cname.entry.that.exists.but.doesnt.resolve on 172.28.16.1:53: no such host
Expected Behavior
Data source does not try to resolve CNAME entry and just returns the record
Actual Behavior
Data source retrieves CNAME entry and then tries to resolve it, ultimately failing
yeah the cname lookup should leverage https://godoc.org/github.com/miekg/dns the way it is now it doesn't even respect the dns server config in the provider, it just uses the host machines dns
Affected Resource(s)
dns_cname_record_set data source
Terraform Configuration Files
Output
Expected Behavior
Data source does not try to resolve CNAME entry and just returns the record
Actual Behavior
Data source retrieves CNAME entry and then tries to resolve it, ultimately failing
References
This is because the data source uses the go net provider's LookupCNAME function. And for some reason, this provider has this functionality. Consider changing this so that it makes sense please
The text was updated successfully, but these errors were encountered: