Skip to content

Commit

Permalink
no compare ttl on DNSRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
mosquito committed Dec 29, 2024
1 parent 7c7b9d2 commit 4b911cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiomisc/service/dns/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class DNSRecord:
type: RecordType
data: RD
cls: DNSClass = field(default=DNSClass.IN)
ttl: int = field(default=3600)
ttl: int = field(default=3600, compare=False)

def rr(self, query_type: int) -> dnslib.RR:
return dnslib.RR(
Expand Down

0 comments on commit 4b911cd

Please sign in to comment.