mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
AAAA records were not listed in ToRR() (#159)
This commit is contained in:
committed by
Tom Limoncelli
parent
e6ce3b8895
commit
dee2456fdf
@@ -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:
|
||||
|
Reference in New Issue
Block a user