Skip to content

Commit

Permalink
fix: remove log for cli
Browse files Browse the repository at this point in the history
  • Loading branch information
sunggun-yu committed Jul 12, 2024
1 parent 20c57fd commit 9b7d8ca
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/dnslookup/dnslookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import (
"net"
"strings"

"log"

"github.com/sunggun-yu/dnsq/internal/models"
)

Expand Down Expand Up @@ -37,7 +35,6 @@ func GetDNSRecords(hostname string) []models.DNSRecord {

// CNAME lookup
cname, err := net.LookupCNAME(currentHost)
log.Printf("CNAME for %s: %s", currentHost, cname)

if err == nil && cname != currentHost+"." {
// remove trailing dot
Expand Down

0 comments on commit 9b7d8ca

Please sign in to comment.