Re: [Twisted-Python] How to get the client ip when it ask a resolution with twisted.names

2021-05-01 Thread cont...@benoit-laviale.fr
pprint(vars(query)) in the logs : 2021-05-02 08:47:58+0200 [-] {'cls': 1, 'name': , 't ype': 1} So there is no anymore the address propertie that i have added just before... What am i missing? Thx Benoît Le Samedi, Mai 01, 2021 11:18 CEST, Adi Roiban a écrit:  Hi

[Twisted-Python] How to get the client ip when it ask a resolution with twisted.names

2021-04-30 Thread cont...@benoit-laviale.fr
Dear all, I am working on twisted names since some days to make kind of filtering system (with domains blacklists). So I made my own resolver that can reply defer.fail(error.DomainError()) to send the query to the next resolver (and in this case, it will be resolve) or defer.fail(dns.Authorita