Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sunggun-yu committed Jul 11, 2024
1 parent ad8ed2f commit 07bdfc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/dnslookup/dnslookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func GetDNSRecords(hostname string) []models.DNSRecord {
currentHost = cname
}

// check if it is a wildcard
if strings.HasPrefix(currentHost, "*.") {
randomSubdomain := randomHostname()
currentHost = randomSubdomain + hostname[1:]
Expand Down

0 comments on commit 07bdfc4

Please sign in to comment.