diff --git a/models/dns.go b/models/dns.go index 42864b700..713b6285e 100644 --- a/models/dns.go +++ b/models/dns.go @@ -150,6 +150,8 @@ func (rc *RecordConfig) ToRR() dns.RR { switch rdtype { case dns.TypeA: rr.(*dns.A).A = net.ParseIP(rc.Target) + case dns.TypeAAAA: + rr.(*dns.AAAA).AAAA = net.ParseIP(rc.Target) case dns.TypeCNAME: rr.(*dns.CNAME).Target = rc.Target case dns.TypePTR: