First of all. Thanx for the help!!! The internet is just fantastic!!
I like the wrapper approach.
I had not thought of that approach myself. Sounds very reasonable. -So I
started wrapping Resolver, but got stuck pretty fast. I get a problem saying
that
'NoneType' object has no attribute 'addCall
Im looking at the common.py and I feel a bit confused about how to wrap a
resolver.
Would'nt a subclass achieve the same thing. I would only need to implement
the changed functions in the subclass.
I guess my problem is that I dont exactly know how to write a wrapper in
python.
Kind regards
Tax
I'm still new to the whole twisted way of doing things, but it sounds very
sensible. :)
Could you suggest a class to start studying from ?
/tax
2009/10/22
> On 07:00 pm, jes...@taxboel.dk wrote:
> >Hi Jean-Paul,
> >
> >I guess my focus is right when it comes to redirecting clients.
> >
> >Im h
Hi Jean-Paul,
I guess my focus is right when it comes to redirecting clients.
Im hooking into
DNSDatagramProtocol.writeMessage(self, message, address):
And I guess thats OK?
But when it comes to bogus domains, I guess i could use:
DNSServerFactory.gotResolverError(self, failure, protocol, mes
Hi Jean-Paul,
Thanx for your nice reply. My problem seems to be that I dont get any calls
to writemessage when the domain is a bogus one?
/tax
2009/10/22
> On 20 Oct, 07:50 pm, jes...@taxboel.dk wrote:
> >Hi Guys,
> >
> >Im playing with a dns-cache script, that overrides DNS requests for
> >
Hi Guys,
Im playing with a dns-cache script, that overrides DNS requests for certain
IP addresses.
I would like to add functionality, so unresolved requests are sent to a
spicific IP. How do I go about doing that?
Is there a negative answer in the (udp) DNS protocol or am I forced to use a
timeo
Hi Guys,
I stumpled upon a small dns filter program, that I am having trouble
running, due to "twisted.internet.app" being deprecated. I get the following
output "Failed to load application: cannot import name app"
Im running "twistd (the Twisted daemon) 2.5.0"
Any advice on how to proceed?
Kin