Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom DNSDB server #706

Open
emilstahl opened this issue Nov 15, 2022 · 1 comment
Open

Support custom DNSDB server #706

emilstahl opened this issue Nov 15, 2022 · 1 comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@emilstahl
Copy link

You should be able to set a custom passive DNS - DNSDB server in the config file.

To use CIRC.LU, SIE Europe etc as DNSDB source.

resp, err := session.Get(ctx, fmt.Sprintf("https://api.dnsdb.info/lookup/rrset/name/*.%s?limit=1000000000000", domain), "", headers)

@emilstahl emilstahl added the Type: Enhancement Most issues will probably ask for additions or changes. label Nov 15, 2022
@vzamanillo
Copy link
Contributor

vzamanillo commented Nov 16, 2022

Subfinder uses sources instead of providers and every source is independent with his own properties (endpoint, authentication method...), it is a good idea having generic providers for standard DNS databases but IMO this would make hard to handle the configuration because it would have to handle multiple sources per provider, e.g:

virustotal:
    - key
    - key
zoomeye: []
zoomeyeapi: []
fofa: []
fullhunt: []
generic_providers:
    dnsdb:
        provider: dnsdb
        url: url
        key: key
    circ.lu:
        provider: dnsdb
        url: url
        key: key

I think it's easier to add a new source per DNS database than to implement a new mechanism to make the changes to implement multi-source-provider management.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

No branches or pull requests

2 participants