-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Properly handle AAAA records in
Lines 66 to 79 in a1bb4c5
| func parseRData(rdata []byte, rrtype int) string { | |
| switch rrtype { | |
| case RRT_A: | |
| if len(rdata) != 4 { | |
| // expecting exactly 4 byte | |
| return "" // corrupt record | |
| } | |
| return fmt.Sprintf("%d.%d.%d.%d", rdata[0], rdata[1], rdata[2], rdata[3]) | |
| case RRT_NS, RRT_CNAME, RRT_MX: | |
| return parseDomainString(rdata) | |
| default: | |
| return string(rdata) | |
| } | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers