Closed spirillen closed 2 years ago
pyfunceble 4.1.0b11.dev (Blue Duckling: Grandiflora)
If you choose to set trust_server: false
, PyFunceble will go through all of the server before setting the status from the DNS Lookup.
CF: https://pyfunceble.readthedocs.io/en/dev/configuration/index.html#dns-trust-server
Description: Activates or disables the trust mode. When the trust mode is active and the first read DNS server gives us a negative response (without any error), we take it as it is.
Otherwise, when the trust mode is disabled, when the first read DNS server gives us a negative response (without any error), we still ask all other DNS servers that were given or found.
trust_server:
Your right... forgot to set that one in my command line.... thanks for spotting this one
Another question now you are online
About the --soometest-only
if I add IE --dns-lookup-only --http-only
then it will test both and yet only for DNS and HTTP status code or? that's not something I have lookup, but I don't recall reading about this in the merge you made back then
I still think it is very slow with the CSV.... while for some reason the SQL have speed up :hand:
That's the reason SQL databases exists ... CSV needs to be loaded in memory .... When SQL is mostly delegated to a optimized system and format.
Yes and I do load the entire dir into tmpfs (ramdrive)
Description
After running this test
pyfunceble --dns-lookup-only --dns 192.168.1.54:5302 --database-type csv -f https://raw.githubusercontent.com/blocklistproject/Lists/master/porn.txt
for a week I have only reached toboystreaking.blogspot.fr
How come it takes a week to test against 1 DNS server.... and how to optimize this
Even if this should be extremely slow, the absolutely max time for testing each record is 1400ms (recursor lookup time if connection is temporary slow)