Thanks for following up, sorry nobody got back to you :)

We do need a better setup for log rotation by default in Twisted; our current 
system is pretty bad, both for HTTP and for our standard logs.

(Feel free to file some issues if you have some good ideas…)

Thanks!

-g

> On Oct 4, 2025, at 1:00 AM, Julien Dos Santos via Twisted 
> <[email protected]> wrote:
> 
> Hi Guys, 
> Just to let you know. It looks like my issue was not related to timeout and 
> things like that. 
> That was related to logs rotation (in old and bad manner). 
> I had a log rotation managed by python (10 * 10 Mo max) and depending of the 
> load, in looks like it was a bottle neck because of IO/Multithreading during 
> the move of logs. 
> 
> So, to solved that, i use the new log style (with observers) and logrotation 
> with the lib logrotated (with daily log & compression). 
> 
> With that, everything works like a charm! 
> 
> Thx 
> 
> 
> 
> Le mar. 30 sept. 2025 à 12:33, Julien Dos Santos <[email protected] 
> <mailto:[email protected]>> a écrit :
>> Dear guys, 
>> I am working since some years about a "DnsLier" build with twisted. 
>> The main behavior is that, each query will go on two custom Resolvers, and 
>> after to classic/remote resolvers.
>> the first custom resolver will will check if the domain is something as 
>> foo.bar.toto.com <http://foo.bar.toto.com/> and reply something if it is, 
>> otherweise, DomainError.
>> Second will check if query is in whit/black list and will reply NXDOMAIN or 
>> DomainError depending of the query. 
>> Finally -> classic/remote resolvers. 
>> 
>> So, more or less : 
>> 
>> DEFAULT_TIMEOUT_UDP = (1, 3, 7)
>> DEFAULT_TIMEOUT = 12
>> 
>> clients.append(firest_resolver)
>> clients.append(second_reslver)
>> 
>> client.Resolver(
>> servers=[(x, 53) for x in all_dns_availables], timeout=DEFAULT_TIMEOUT_UDP   
>> # all_dns_availables is Related to the "<Thinking> </thinking>" at bottom
>> )
>> CustomDNSServerFactory(
>> caches=[cache.CacheResolver(verbose=1)], clients=clients, verbose=1
>> )
>> 
>> As you see,  i have a custom DNSFactory : 
>> 
>> class CustomDNSServerFactory(server.DNSServerFactory):  # noqa :
>>     def __init__(self, authorities=None, caches=None, clients=None, 
>> verbose=0):
>>         """Server factory."""
>>         resolvers = []
>>         if authorities is not None:
>>             resolvers.extend(authorities)
>>         if caches is not None:
>>             resolvers.extend(caches)
>>         if clients is not None:
>>             resolvers.extend(clients)
>> 
>>         self.canRecurse = not not clients
>>         self.resolver = CustomResolverChain(resolvers)
>>         self.verbose = verbose
>>         if caches:
>>             self.cache = caches[-1]
>>         self.connections = []
>> 
>>     def handleQuery(self, message: dns.Message, protocol, address):
>>         """Gestion de la query."""
>>         query: dns.Query = message.queries[0]
>>         # need to keep the client address for business purpose. 
>>         query.address = address
>> 
>>         log.info(
>>             f"Q: `{query.name.name.lower()}` by `{query.address[0]}`/ 
>> `{query.address[1]}`"
>>         )
>>         return (
>>             self.resolver.query(query, DEFAULT_TIMEOUT_UDP)
>>             .addCallback(self.gotResolverResponse, protocol, message, 
>> address)
>>             .addErrback(self.gotResolverError, protocol, message, address)
>>             # .addTimeout(DEFAULT_TIMEOUT, reactor) <thinking2> maybe this 
>> should be just after the query, and not at the end, and not commented... 
>> </thinking2>
>>         )
>> 
>> 
>> In the resolver, i am more or less obliged to parse the query to get back 
>> the address. I think this part is not important but : 
>> 
>> 
>> class CustomResolverChain(resolve.ResolverChain):  # noqa :
>> 
>>     def __init__(self, resolvers):
>>         super().__init__(resolvers)
>> 
>>     def _make_query_with_addr(self, name, qcls, qtype, address):
>>         q = dns.Query(name, qtype, qcls)
>>         setattr(
>>             q, "address", address
>>         )  
>>         return q
>> 
>>     def _lookup(self, name, qcls, qtype, timeout, address):
>>         if not self.resolvers:
>>             return defer.fail(error.DomainError())
>> 
>>         q = self._make_query_with_addr(name, qcls, qtype, address)
>> 
>>         # IMPORTANT: on repasse à la signature classique (query, timeout)
>>         d = defer.maybeDeferred(self.resolvers[0].query, q, timeout)
>>         d.addTimeout(DEFAULT_TIMEOUT, reactor)  # <thinkin3> Removing this 
>> and activate at handlequery level? </thinking3> 
>>         for r in self.resolvers[1:]:
>>             d = d.addErrback(client.resolve.FailureHandler(r.query, q, 
>> timeout))
>>         return d
>> 
>>     def query(self, query: Query, timeout=None):
>>         log.debug(f"Query = {query} timeout = {timeout} address = 
>> {query.address}")
>>         try:
>>             method = self.typeToMethod[query.type]
>>         except KeyError:
>>             log.debug(
>>                 "Query of unknown type {query.type} for {query.name.name 
>> <http://query.name.name/>!r}",
>>                 query=query,
>>             )
>>             return defer.maybeDeferred(
>>                 self._lookup,
>>                 query.name.name,
>>                 dns.IN,
>>                 query.type,
>>                 timeout,
>>                 query.address,
>>             )
>>         else:
>>             return defer.maybeDeferred(method, query.name.name, timeout, 
>> query.address)
>> 
>>     def lookupAddress(self, name, timeout=None, address=None):
>>         return self._lookup(dns.domainString(name), dns.IN, dns.A, timeout, 
>> address)
>> 
>> 
>> In my custom resolvers, i am replying defer.succeed or 
>> defer.fail(error.DomainError())/ 
>> defer.fail(dns.AuthoritativeDomainError(xxx))
>> 
>> 
>> So regarding all those things...... 
>> 
>> 
>> I have an issue, everything works pretty well, but some times the Twisted 
>> DNS Servers get "stuck" for ??? secondes/minutes, and after some times 
>> everythings works perfectly as usual. 
>> I am not having specific logs so I dont know how to solved this. 
>> I think (i am sure...) i am missing something about errBack or/and 
>> addtimeout stuff on the defered object but i dont know what... 
>> 
>> I am surprised that the query didnt goes to the timeout before a loooonnng 
>> time. As you can see some queries cost something as 100 seconds ...
>> 
>> 
>> <thinking> Maybe, ... the error is related to that i am chaining too much 
>> availables dns...
>> 
>> 
>> def generate_dns_list() -> List:
>> 
>>     dns_resolver = dns.resolver.Resolver()
>> 
>>     dns_list = {x: x for x in dns_resolver.nameservers}
>> 
>>     dns_list.update(
>>         {
>>             "dns_local_XXX": "192.168.xxx",
>>             "dns_local_0.1": "192.168.0.1",
>>             "dns_local_1.1": "192.168.1.1",
>>             "dns1": "zzzz",
>>             "dns2": "uuuu",
>>             "dns3": "pppp",
>>             "dns4": "abc",
>>             "5": "def",
>>             "6": "ghi",
>>         }
>>     )
>> 
>>     dns_: List[str] = []
>>     for k, v in dns_list.items():
>>         ok = None
>>         try:
>>             ok = test_dns(v)
>>         except Exception as e:
>>             ok = None
>>             log.info(f"{v} not available as dns")
>>         if ok is not None:
>>             log.info(f"{v} is available as dns")
>>             dns_.append(v)
>>     return dns_
>> 
>> This return is used as resolvers
>> </thinking>
>> 
>> 
>> Hope it's pretty clear.... 
>> Cheers! 
>> 
>> 
>> 2025-09-30T03:45:50+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435c9f10>
>> 2025-09-30T03:45:52+0200 [DNSDatagramProtocol (UDP)] A query from 
>> ('192.168.0.16', 56064)
>> 2025-09-30T03:45:52+0200 [pydnsfilter#info] Q: `b'client.wns.windows.com 
>> <http://client.wns.windows.com/>'` by `192.168.0.16`/ `56064`
>> 2025-09-30T03:45:52+0200 [pydnsfilter#info] Hector allow tld = 
>> `b'client.wns.windows.com <http://client.wns.windows.com/>'` for 
>> `192.168.0.16`, cat = None. Cause : not in blocked
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 109.232 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 107.232 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 103.239 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 99.217 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 98.200 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 96.203 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 92.210 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 77.400 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 76.376 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 74.372 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 70.361 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 66.348 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 65.318 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 63.314 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 59.317 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 46.349 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 45.323 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 43.318 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 39.320 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 35.321 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 34.290 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 32.285 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 28.288 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 15.087 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 14.068 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 12.063 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 8.065 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 4.050 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 3.018 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 1.012 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: 
>> [Query(b'client.wns.windows.com <http://client.wns.windows.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:53+0200 [-] Processed query in 110.382 seconds
>> 2025-09-30T03:45:53+0200 [-] Lookup failed
>> 2025-09-30T03:45:53+0200 [-] (UDP Port 40120 Closed)
>> 2025-09-30T03:45:53+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435b6190>
>> 2025-09-30T03:45:53+0200 [DNSDatagramProtocol (UDP)] A query from 
>> ('192.168.0.16', 59073)
>> 2025-09-30T03:45:53+0200 [pydnsfilter#info] Q: 
>> `b'v10.events.data.microsoft.com <http://v10.events.data.microsoft.com/>'` 
>> by `192.168.0.16`/ `59073`
>> 2025-09-30T03:45:53+0200 [pydnsfilter#info] Hector allow tld = 
>> `b'v10.events.data.microsoft.com <http://v10.events.data.microsoft.com/>'` 
>> for `192.168.0.16`, cat = None. Cause : not in blocked
>> 2025-09-30T03:45:53+0200 [-] DNSDatagramProtocol starting on 11228
>> 2025-09-30T03:45:53+0200 [-] Starting protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435beed0>
>> 2025-09-30T03:45:53+0200 [-] (UDP Port 56319 Closed)
>> 2025-09-30T03:45:53+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435abad0>
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'i3.c.eset.com 
>> <http://i3.c.eset.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 109.263 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'i3.c.eset.com 
>> <http://i3.c.eset.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 107.246 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'i3.c.eset.com 
>> <http://i3.c.eset.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 103.261 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'i3.c.eset.com 
>> <http://i3.c.eset.com/>', 1, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 110.302 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] (UDP Port 57944 Closed)
>> 2025-09-30T03:45:54+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435bc7d0>
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 109.269 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 107.275 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 103.252 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 88.237 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 87.205 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 85.201 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 81.204 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 46.085 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 45.053 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 43.049 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 39.051 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 35.046 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 34.022 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 32.017 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 28.020 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] Unhandled Error
>>      Traceback (most recent call last):
>>      Failure: twisted.internet.defer.TimeoutError: [Query(b'epns.eset.com 
>> <http://epns.eset.com/>', 28, 1)]
>>      
>> 2025-09-30T03:45:54+0200 [-] Processed query in 110.338 seconds
>> 2025-09-30T03:45:54+0200 [-] Lookup failed
>> 2025-09-30T03:45:54+0200 [-] (UDP Port 49276 Closed)
>> 2025-09-30T03:45:54+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435dc050>
>> 2025-09-30T03:45:54+0200 [DNSDatagramProtocol (UDP)] A query from 
>> ('192.168.0.16', 59073)
>> 2025-09-30T03:45:54+0200 [pydnsfilter#info] Q: 
>> `b'v10.events.data.microsoft.com <http://v10.events.data.microsoft.com/>'` 
>> by `192.168.0.16`/ `59073`
>> 2025-09-30T03:45:54+0200 [pydnsfilter#info] Hector allow tld = 
>> `b'v10.events.data.microsoft.com <http://v10.events.data.microsoft.com/>'` 
>> for `192.168.0.16`, cat = None. Cause : not in blocked
>> 2025-09-30T03:45:56+0200 [-] DNSDatagramProtocol starting on 6376
>> 2025-09-30T03:45:56+0200 [-] Starting protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435b5690>
>> 2025-09-30T03:45:56+0200 [-] (UDP Port 28753 Closed)
>> 2025-09-30T03:45:56+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435dc590>
>> 2025-09-30T03:45:56+0200 [DNSDatagramProtocol (UDP)] A query from 
>> ('192.168.0.16', 59073)
>> 2025-09-30T03:45:56+0200 [pydnsfilter#info] Q: 
>> `b'v10.events.data.microsoft.com <http://v10.events.data.microsoft.com/>'` 
>> by `192.168.0.16`/ `59073`
>> 2025-09-30T03:45:56+0200 [pydnsfilter#info] Hector allow tld = 
>> `b'v10.events.data.microsoft.com <http://v10.events.data.microsoft.com/>'` 
>> for `192.168.0.16`, cat = None. Cause : not in blocked
>> 2025-09-30T03:45:56+0200 [-] DNSDatagramProtocol starting on 10348
>> 2025-09-30T03:45:56+0200 [-] Starting protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435b71d0>
>> 2025-09-30T03:45:56+0200 [-] (UDP Port 11228 Closed)
>> 2025-09-30T03:45:56+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435beed0>
>> 2025-09-30T03:45:59+0200 [-] DNSDatagramProtocol starting on 9797
>> 2025-09-30T03:45:59+0200 [-] Starting protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435b4cd0>
>> 2025-09-30T03:45:59+0200 [-] (UDP Port 10348 Closed)
>> 2025-09-30T03:45:59+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435b71d0>
>> 2025-09-30T03:46:00+0200 [DNSDatagramProtocol (UDP)] A query from 
>> ('192.168.0.16', 59073)
>> 2025-09-30T03:46:00+0200 [pydnsfilter#info] Q: 
>> `b'v10.events.data.microsoft.com <http://v10.events.data.microsoft.com/>'` 
>> by `192.168.0.16`/ `59073`
>> 2025-09-30T03:46:00+0200 [pydnsfilter#info] Hector allow tld = 
>> `b'v10.events.data.microsoft.com <http://v10.events.data.microsoft.com/>'` 
>> for `192.168.0.16`, cat = None. Cause : not in blocked
>> 2025-09-30T03:46:02+0200 [-] DNSDatagramProtocol starting on 60994
>> 2025-09-30T03:46:02+0200 [-] Starting protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435bea10>
>> 2025-09-30T03:46:02+0200 [-] (UDP Port 9797 Closed)
>> 2025-09-30T03:46:02+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435b4cd0>
>> 2025-09-30T03:46:03+0200 [-] DNSDatagramProtocol starting on 50106
>> 2025-09-30T03:46:03+0200 [-] Starting protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435b4f10>
>> 2025-09-30T03:46:03+0200 [-] (UDP Port 6376 Closed)
>> 2025-09-30T03:46:03+0200 [-] Stopping protocol 
>> <twisted.names.dns.DNSDatagramProtocol object at 0x7f4d435b5690>
>> 2025-09-30T03:46:04+0200 [DNSDatagramProtocol (UDP)] A query from 
>> ('192.168.0.16', 54508)
>> 2025-09-30T03:46:04+0200 [pydnsfilter#info] Q: `b'client.wns.windows.com 
>> <http://client.wns.windows.com/>'` by `192.168.0.16`/ `54508`
>> 
>> 
> _______________________________________________
> Twisted mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/twisted.python.org/
> Message archived at 
> https://mail.python.org/archives/list/[email protected]/message/BCDNBFM4ARX5CKKJKEQ5SHKPMLRGZM3D/
> Code of Conduct: https://twisted.org/conduct

_______________________________________________
Twisted mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/twisted.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/UCCJEOJGDPXBHNITFSIQO4ZHY52JNXSL/
Code of Conduct: https://twisted.org/conduct

Reply via email to