Browse Source

Merge pull request #221 from Moonlight-Panel/FixDnsBug

Fixed dns bug
Marcel Baumgartner 2 years ago
parent
commit
c1cfb35c86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Moonlight/App/Services/DomainService.cs

+ 1 - 1
Moonlight/App/Services/DomainService.cs

@@ -160,7 +160,7 @@ public class DomainService
                     Type = record.Type
                     Type = record.Type
                 });
                 });
             }
             }
-            else if (record.Name.EndsWith(rname))
+            else if (record.Name == rname)
             {
             {
                 result.Add(new()
                 result.Add(new()
                 {
                 {