Merge pull request #221 from Moonlight-Panel/FixDnsBug

Fixed dns bug
This commit is contained in:
Marcel Baumgartner 2023-07-12 01:29:43 +02:00 committed by GitHub
commit c1cfb35c86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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