diff --git a/app/dns/dnscommon.go b/app/dns/dnscommon.go
index 0d465713..bead44b7 100644
--- a/app/dns/dnscommon.go
+++ b/app/dns/dnscommon.go
@@ -213,7 +213,7 @@ L:
 		case dnsmessage.TypeAAAA:
 			ans, err := parser.AAAAResource()
 			if err != nil {
-				newError("failed to parse A record for domain: ", ah.Name).Base(err).WriteToLog()
+				newError("failed to parse AAAA record for domain: ", ah.Name).Base(err).WriteToLog()
 				break L
 			}
 			ipRecord.IP = append(ipRecord.IP, net.IPAddress(ans.AAAA[:]))
diff --git a/common/session/session.go b/common/session/session.go
index 4744adeb..832eb960 100644
--- a/common/session/session.go
+++ b/common/session/session.go
@@ -38,7 +38,7 @@ func ExportIDToError(ctx context.Context) errors.ExportOption {
 type Inbound struct {
 	// Source address of the inbound connection.
 	Source net.Destination
-	// Getaway address.
+	// Gateway address.
 	Gateway net.Destination
 	// Tag of the inbound proxy that handles the connection.
 	Tag string