1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

ROUTE53: Fix "No such DNS type error" on legacy or ignored records (#2294)

Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
Tom Limoncelli
2023-05-01 18:33:29 -04:00
committed by GitHub
parent d8e167c2ce
commit 8f4a08a7e6
4 changed files with 18 additions and 3 deletions

View File

@ -86,6 +86,8 @@ func (rc *RecordConfig) zoneFileQuoted() string {
// GetTargetRFC1035Quoted returns the target as it would be in an
// RFC1035-style zonefile.
// Do not use this function if RecordConfig might be a pseudo-rtype
// such as R53_ALIAS. Use GetTargetCombined() instead.
func (rc *RecordConfig) GetTargetRFC1035Quoted() string {
return rc.zoneFileQuoted()
}