Code Monkey home page Code Monkey logo

dnsmap's People

Contributors

eribertomota avatar kant2002 avatar pagvac avatar setuidroot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dnsmap's Issues

[ Bug ]: Not working with .network domain

dnsmap doesn't work with any .network domain names. It just gives an error saying that "entered domain is not valid!" despite the fact that the domain name is valid.

This issue is due to the code in dnsmap.c limiting TLD names to between 2 and 6 characters. This is not long enough these days because there are so many more TLDomain names of various lengths.

You can run this command in Ubuntu (bash shell) to see a list of some of the longest TLD names:

curl -s https://data.iana.org/TLD/tlds-alpha-by-domain.txt | tail -n+2 | awk '{ print length(), $0 | "sort -n" }'

From this TLD name list, we see that there are domains as long as 24 characters (longest English domain name is 18 characters.) I think 13 characters is long enough... there are few TLD names that are longer than 13 characters. Thus I have made a PR updating dnsmap.c to a 13 character TLD limit as well as updating the ChangeLog and man pages to reflect this patch (dnsmap version 0.36.)

This patch is helpful to me because I use dnsmap in Termux (Android) but I'm unable to test any domains longer than 6 characters. Hopefully this patch is added to the master here so it will fix this issue for others as well. I have followed the UPDATE-CHECK list with my PR. I tested it on Ubuntu 20.04 (64 bit) server and on my Android (ARMv7 32 bit) phone. It works well on both. The change is very minor, so I doubt it broke any functionality. I have some ideas for improving dnsmap using Mozilla's PublicSuffix list for TLDs and some other things... but that kind of large change would probably break things. For now just a minor bugfix patch PR.

dnsmap not in Debian despite the references

There are some references to Debian Project and 'apt-get install dnsmap' in README.md and CONTRIBUTING.md. However, the dnsmap is not in Debian...

...not yet, but it will arrive to Debian soon! It is confirmed.

[feature request] Select target dns server for resolving

I have remote DNS resolver, which hosts some domain zone "example.com".
I want scan al subdomains of "example.com", by sending dns queries directly to custom resolver "ns1.example.com", not to my system resolver.

What I want:

  • option, like "--resolver", "--nameserver" or any other, which helps to use custom domain resolver.

Example:
dnsmap example.com --resolver ns1.example.com

[feature request] Add custom query type AAAA

I have authoritative DNS-server, which hosts only AAAA type records, not A.
dnsmap scans only A type records.

I want option, like "--type", which helps to scan AAAA records too.

Examples:

dnsmap example.com                ; # select only A query type (by default)
dnsmap example.com --type A       ; # select only A query type
dnsmap example.com -4             ; # select only A query type
dnsmap example.com --type AAAA    ; # select only AAAA query type
dnsmap example.com -6             ; # select only AAAA query type
dnsmap example.com --type A,AAAA  ; # select A and AAAA query types
dnsmap example.com -4 -6          ; # select A and AAAA query types

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.