Find cloudflare DNS records using fuzzy search.
CloudFlare Fuzzy Finder
cloudflare-fuzzy-finder aims at checking DNS record more easily. It will connect to CloudFlare's API and get all DNS records from your account, and allow to search on fuzzy finder. Once pressing Enter on highlighted record, it will popup to the CloudFlare website for you to manage the record on that domain.
To install use the following command:
pip install cloudflare-fuzzy-finder
This package uses
cloudflare-python to authenticate, so if you haven't used before,
you have to get the api key from your profile and put into following files like:
$ cat ~/.cloudflare/cloudflare.cfg [CloudFlare] email = firstname.lastname@example.org token = 00000000000000000000000000000000 certtoken = v1.0-... extras =
More information on alternative ways of configuring your
CF_API_CERTKEY variables can be found here: https://github.com/cloudflare/python-cloudflare#providing-cloudflare-username-and-api-key
The loading time on records list highly dependent on the API calls to CloudFlare to fetch all the DNS records across the domain belongs to you.
The cache on DNS records is turn on by default and keep for 1 hour.
If you want to fine tune the duration on keeping the record locally, you can update by
Or if you want to perform the search without using the cache, cau use
Or you can append this to your
~/.bashrc to make the settings permamant:
export CF_FUZZ_USE_CACHE=true export CF_FUZZ_CACHE_EXPIRY=3600 # in terms of seconds export CF_RECORD_TYPES=cname,a
Remeber that every change to
~/.bashrc requires you to re-load it:
source ~/.bashrc or restart terminal.
To run, use the following command:
To search any records other than CNAME & A, use the following command:
cf-fuzzy --record-types mx,txt
If you are managing lots of domains and downloading the data takes too long, you can use the built in cache. To enable it set the following variables in your
export CF_FUZZ_USE_CACHE=true export CF_FUZZ_CACHE_EXPIRY=3600 # in terms of seconds
To invalidate cache and refresh data, run with
Cache will be stored as a file in
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size cloudflare_fuzzy_finder-0.1.3-py3-none-any.whl (3.5 MB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size cloudflare-fuzzy-finder-0.1.3.tar.gz (3.5 MB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for cloudflare_fuzzy_finder-0.1.3-py3-none-any.whl
Hashes for cloudflare-fuzzy-finder-0.1.3.tar.gz