Skip to content

Commit

Permalink
sth
Browse files Browse the repository at this point in the history
  • Loading branch information
mili-tan committed Aug 10, 2023
1 parent 1ecc2a4 commit 3b4f385
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Arashi.Aoi/DNS/DNSCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public static void Add(DnsMessage dnsMessage)
public static void Add(DnsMessage dnsMessage, HttpContext context)
{
dnsMessage.AuthorityRecords.RemoveAll(item =>
(item.Name.IsSubDomainOf(DomainName.Parse("arashi-msg")) ||
item.Name.IsSubDomainOf(DomainName.Parse("nova-msg"))) && item.RecordType == RecordType.Txt);
item.Name.IsSubDomainOf(DomainName.Parse("arashi-msg")) ||
item.Name.IsSubDomainOf(DomainName.Parse("nova-msg")));

if (dnsMessage.AnswerRecords.Count <= 0) return;
var dnsRecordBase = dnsMessage.AnswerRecords.FirstOrDefault();
Expand Down

0 comments on commit 3b4f385

Please sign in to comment.