Giter Site home page Giter Site logo

Comments (2)

menzow avatar menzow commented on July 17, 2024

I've been able to confirm that rate limiting indeed seems to be the issue. Using dnsblast it's easy to determine what the rate limits of a dns resolver is.

I've written a easy shell script that tries 10000 queries @ 1000 qps and outputs the stats. This helps checking a list of resolvers and find one with the lowest rate limit. I've shared it below incase it might help someone.

Save the following as scan.sh:

#!/bin/bash
IP=$1

TIMEOUT=3 # Timeout scan (in seconds). Lower for  faster results.
QUERIES=10000 # How many queries to send
QUERY_RATE=1000 # Queries per seconds

STATS=`timeout $TIMEOUT ~/misc/dnsblast/dnsblast $IP $QUERIES $QUERY_RATE 2>&1 | grep -E '^\S' | tail -n 1`

echo "$IP - $STATS"

Usage:

# Scan a single IP
$ ./scan.sh 8.8.8.8

# Check list of resolvers. Lower the amount of threads if you run out of buffer size.
$ cat resolvers.txt | parallel -j 4 './scan.sh {}'

from dnsbrute.

Q2h1Cg avatar Q2h1Cg commented on July 17, 2024

good job.

you can control the transmit rate with the parameter -rate, 10000 default. your ISP's dns server is better usually.

maybe I'll add a func to the program later.

from dnsbrute.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.