digquery


Namedigquery JSON
Version 0.1.7 PyPI version JSON
download
home_pagehttps://github.com/techdjay/digquery
SummaryA Python package for querying DNS information using dig
upload_time2023-07-09 16:53:20
maintainer
docs_urlNone
authorJay
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
==============
digquery
==============

A Python package for querying DNS information using the `dig` command.

Installation
------------

Install the package using pip:

.. code-block:: bash

    pip install digquery

Usage
-----

To use the `digquery` command, run it from the command line followed by the domain name:

.. code-block:: bash

    digquery example.com 
    pydig example.com 
    mydig example.com

This will execute separate `dig` commands for each query type (`A` , `TXT` , `MX`, `NS`) and display the results in clear and crisp format.

Output of above command will be look like:

.. code-block:: bash

	digquery google.com
	====================================
	dig query for domain: google.com, type: TXT
	====================================
	google.com.             3600    IN      TXT     "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"
	google.com.             3600    IN      TXT     "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"
	google.com.             3600    IN      TXT     "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"
	google.com.             3600    IN      TXT     "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"
	google.com.             3600    IN      TXT     "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"
	google.com.             3600    IN      TXT     "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="
	google.com.             3600    IN      TXT     "webexdomainverification.8YX6G=6e6922db-e3e6-4a36-904e-a805c28087fa"
	google.com.             3600    IN      TXT     "v=spf1 include:_spf.google.com ~all"
	google.com.             3600    IN      TXT     "onetrust-domain-verification=de01ed21f2fa4d8781cbc3ffb89cf4ef"
	google.com.             3600    IN      TXT     "atlassian-domain-verification=5YjTmWmjI92ewqkx2oXmBaD60Td9zWon9r6eakvHX6B77zzkFQto8PQ9QsKnbf4I"
	google.com.             3600    IN      TXT     "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"
	google.com.             3600    IN      TXT     "apple-domain-verification=30afIBcvSuDV2PLX"
	
	====================================
	dig query for domain: google.com, type: A
	====================================
	google.com.             142     IN      A       142.250.193.238
	
	====================================
	dig query for domain: google.com, type: MX
	====================================
	google.com.             300     IN      MX      10 smtp.google.com.
	
	====================================
	dig query for domain: google.com, type: NS
	====================================
	google.com.             13296   IN      NS      ns4.google.com.
	google.com.             13296   IN      NS      ns1.google.com.
	google.com.             13296   IN      NS      ns3.google.com.
	google.com.             13296   IN      NS      ns2.google.com.


Contributing
------------

Contributions are welcome! Here are some ways you can contribute:

- Report bugs or suggest improvements by creating a new issue on the `digquery` GitHub repository.
  https://github.com/techdjay/digquery
- Fork the repository, make changes, and submit a pull request.

License
-------

This project is licensed under the MIT License. See the `LICENSE` file for more information.

Authors
-------

- Jay <techdjay@gmail.com>



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/techdjay/digquery",
    "name": "digquery",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Jay",
    "author_email": "techdjay@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a2/ae/60083d4f2eb8acc3f7b6002443c43daa88e9e2caccfa325d408aabf59854/digquery-0.1.7.tar.gz",
    "platform": null,
    "description": "\n==============\ndigquery\n==============\n\nA Python package for querying DNS information using the `dig` command.\n\nInstallation\n------------\n\nInstall the package using pip:\n\n.. code-block:: bash\n\n    pip install digquery\n\nUsage\n-----\n\nTo use the `digquery` command, run it from the command line followed by the domain name:\n\n.. code-block:: bash\n\n    digquery example.com \n    pydig example.com \n    mydig example.com\n\nThis will execute separate `dig` commands for each query type (`A` , `TXT` , `MX`, `NS`) and display the results in clear and crisp format.\n\nOutput of above command will be look like:\n\n.. code-block:: bash\n\n\tdigquery google.com\n\t====================================\n\tdig query for domain: google.com, type: TXT\n\t====================================\n\tgoogle.com.             3600    IN      TXT     \"docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e\"\n\tgoogle.com.             3600    IN      TXT     \"google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o\"\n\tgoogle.com.             3600    IN      TXT     \"MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB\"\n\tgoogle.com.             3600    IN      TXT     \"google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ\"\n\tgoogle.com.             3600    IN      TXT     \"facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95\"\n\tgoogle.com.             3600    IN      TXT     \"globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=\"\n\tgoogle.com.             3600    IN      TXT     \"webexdomainverification.8YX6G=6e6922db-e3e6-4a36-904e-a805c28087fa\"\n\tgoogle.com.             3600    IN      TXT     \"v=spf1 include:_spf.google.com ~all\"\n\tgoogle.com.             3600    IN      TXT     \"onetrust-domain-verification=de01ed21f2fa4d8781cbc3ffb89cf4ef\"\n\tgoogle.com.             3600    IN      TXT     \"atlassian-domain-verification=5YjTmWmjI92ewqkx2oXmBaD60Td9zWon9r6eakvHX6B77zzkFQto8PQ9QsKnbf4I\"\n\tgoogle.com.             3600    IN      TXT     \"docusign=1b0a6754-49b1-4db5-8540-d2c12664b289\"\n\tgoogle.com.             3600    IN      TXT     \"apple-domain-verification=30afIBcvSuDV2PLX\"\n\t\n\t====================================\n\tdig query for domain: google.com, type: A\n\t====================================\n\tgoogle.com.             142     IN      A       142.250.193.238\n\t\n\t====================================\n\tdig query for domain: google.com, type: MX\n\t====================================\n\tgoogle.com.             300     IN      MX      10 smtp.google.com.\n\t\n\t====================================\n\tdig query for domain: google.com, type: NS\n\t====================================\n\tgoogle.com.             13296   IN      NS      ns4.google.com.\n\tgoogle.com.             13296   IN      NS      ns1.google.com.\n\tgoogle.com.             13296   IN      NS      ns3.google.com.\n\tgoogle.com.             13296   IN      NS      ns2.google.com.\n\n\nContributing\n------------\n\nContributions are welcome! Here are some ways you can contribute:\n\n- Report bugs or suggest improvements by creating a new issue on the `digquery` GitHub repository.\n  https://github.com/techdjay/digquery\n- Fork the repository, make changes, and submit a pull request.\n\nLicense\n-------\n\nThis project is licensed under the MIT License. See the `LICENSE` file for more information.\n\nAuthors\n-------\n\n- Jay <techdjay@gmail.com>\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Python package for querying DNS information using dig",
    "version": "0.1.7",
    "project_urls": {
        "Homepage": "https://github.com/techdjay/digquery"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8d22a2c422827d0466de6ab2e7c665341b09f849b9107eacb50babc1be3d2a91",
                "md5": "35b551b0553f528c953198bf975c8e04",
                "sha256": "54b19a89e5afd93e13e19f7e95c0fa40b1e551c4f1dd2f0c75b0be01d43076e0"
            },
            "downloads": -1,
            "filename": "digquery-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35b551b0553f528c953198bf975c8e04",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3361,
            "upload_time": "2023-07-09T16:53:18",
            "upload_time_iso_8601": "2023-07-09T16:53:18.492026Z",
            "url": "https://files.pythonhosted.org/packages/8d/22/a2c422827d0466de6ab2e7c665341b09f849b9107eacb50babc1be3d2a91/digquery-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a2ae60083d4f2eb8acc3f7b6002443c43daa88e9e2caccfa325d408aabf59854",
                "md5": "1c544e05c8a67cff91c99f7b00a6bb21",
                "sha256": "fb03674322599ccd31ce5fbcbdff266045c84d7e57823d4483d72e09bd6a4cdb"
            },
            "downloads": -1,
            "filename": "digquery-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "1c544e05c8a67cff91c99f7b00a6bb21",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2985,
            "upload_time": "2023-07-09T16:53:20",
            "upload_time_iso_8601": "2023-07-09T16:53:20.249842Z",
            "url": "https://files.pythonhosted.org/packages/a2/ae/60083d4f2eb8acc3f7b6002443c43daa88e9e2caccfa325d408aabf59854/digquery-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-09 16:53:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "techdjay",
    "github_project": "digquery",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "digquery"
}
        
Jay
Elapsed time: 0.60351s