Subject: [PATCH links] Adding addiitonal logging when DNS validation fails

From: Peter Sanchez <[email-masked]>
Date: Sun, 21 Dec 2025 07:09:45 -0600

---
 api/graph/schema.resolvers.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/api/graph/schema.resolvers.go b/api/graph/schema.resolvers.go
index abfa3f9..b07d3ee 100644
--- a/api/graph/schema.resolvers.go
+++ b/api/graph/schema.resolvers.go
@@ -2077,6 +2077,7 @@ func (r *mutationResolver) AddDomain(ctx context.Context, input model.DomainInpu
 			"%s", lt.Translate("Error checking the DNS entry for domain. Please try again later")).
 			WithField("lookupName").
 			WithCode(valid.ErrValidationCode)
+		srv.Logger().Printf("Error validating domain DNS (AddDomain) %s: %v", host, err)
 		return nil, nil
 	}
 	if !dnsOK {
@@ -4649,6 +4650,7 @@ func (r *mutationResolver) AddAdminDomain(ctx context.Context, input model.Admin
 			"%s", lt.Translate("Error checking the DNS entry for domain. Please try again later")).
 			WithField("lookupName").
 			WithCode(valid.ErrValidationCode)
+		srv.Logger().Printf("Error validating domain DNS (AddAdminDomain) %s: %v", host, err)
 		return nil, nil
 	}
 	if !dnsOK {
@@ -4850,6 +4852,7 @@ func (r *mutationResolver) UpdateAdminDomain(ctx context.Context, input model.Up
 			"%s", lt.Translate("Error checking the DNS entry for domain. Please try again later")).
 			WithField("lookupName").
 			WithCode(valid.ErrValidationCode)
+		srv.Logger().Printf("Error validating domain DNS (UpdateAdminDomain) %s: %v", host, err)
 		return nil, nil
 	}
 	if !dnsOK {
-- 
2.49.1