Skip to content

Commit b001a93

Browse files
committed
fix: use dot for fqdn
1 parent fdeaaa3 commit b001a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func parseQuery(m *dns.Msg, qdns *QuickDNSResolver) {
2727
for _, q := range m.Question {
2828
println("Query: ", q.Name, q.Qtype, q.Qclass)
2929

30-
if !strings.HasSuffix(q.Name, ".swiftwave.xyz") {
30+
if !strings.HasSuffix(q.Name, ".swiftwave.xyz.") {
3131
// Query 1.1.1.1 or another DNS server and add the answer
3232
answers, err := forwardToExternalDNS(q)
3333
if err != nil {

0 commit comments

Comments
 (0)