{"id":22082920,"url":"https://github.com/lynkos/dns-lookup","last_synced_at":"2025-10-11T22:30:35.468Z","repository":{"id":252822512,"uuid":"823311057","full_name":"lynkos/dns-lookup","owner":"lynkos","description":"Net-Centric Computing (CNT 4713) – Project 3.","archived":false,"fork":false,"pushed_at":"2024-08-12T17:29:04.000Z","size":409,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-27T22:46:49.065Z","etag":null,"topics":["anaconda","conda","dns","dns-lookup","python","python3","socket","socket-programming","yaml","yml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lynkos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-02T19:42:20.000Z","updated_at":"2024-10-20T05:32:22.000Z","dependencies_parsed_at":"2024-08-12T20:11:49.648Z","dependency_job_id":null,"html_url":"https://github.com/lynkos/dns-lookup","commit_stats":null,"previous_names":["lynkos/dns-lookup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynkos%2Fdns-lookup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynkos%2Fdns-lookup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynkos%2Fdns-lookup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynkos%2Fdns-lookup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lynkos","download_url":"https://codeload.github.com/lynkos/dns-lookup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236130917,"owners_count":19099711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anaconda","conda","dns","dns-lookup","python","python3","socket","socket-programming","yaml","yml"],"created_at":"2024-12-01T00:08:12.694Z","updated_at":"2025-10-11T22:30:30.041Z","avatar_url":"https://github.com/lynkos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNS Lookup\n\u003e The goal of this project is to practice UDP socket programing and understand binary packet structures by developing a simplified DNS lookup client.\n\u003e You must create your own socket and cannot use any existing DNS library.\n\n## Requirements\n- [x] \u003ca target=\"_blank\" href=\"https://docs.continuum.io/free/anaconda/install\"\u003eAnaconda\u003c/a\u003e **OR** \u003ca target=\"_blank\" href=\"https://docs.conda.io/projects/miniconda/en/latest\"\u003eMiniconda\u003c/a\u003e\n\n\u003e [!TIP]\n\u003e If you have trouble deciding between Anaconda and Miniconda, please refer to the table below:\n\u003e \u003ctable\u003e\n\u003e  \u003cthead\u003e\n\u003e   \u003ctr\u003e\n\u003e    \u003cth\u003e\u003ccenter\u003eAnaconda\u003c/center\u003e\u003c/th\u003e\n\u003e    \u003cth\u003e\u003ccenter\u003eMiniconda\u003c/center\u003e\u003c/th\u003e\n\u003e   \u003c/tr\u003e\n\u003e  \u003c/thead\u003e\n\u003e  \u003ctbody\u003e\n\u003e   \u003ctr\u003e\n\u003e    \u003ctd\u003eNew to conda and/or Python\u003c/td\u003e\n\u003e    \u003ctd\u003eFamiliar with conda and/or Python\u003c/td\u003e\n\u003e   \u003c/tr\u003e\n\u003e   \u003ctr\u003e\n\u003e    \u003ctd\u003eNot familiar with using terminal and prefer GUI\u003c/td\u003e\n\u003e    \u003ctd\u003eComfortable using terminal\u003c/td\u003e\n\u003e   \u003c/tr\u003e\n\u003e   \u003ctr\u003e\n\u003e    \u003ctd\u003eLike the convenience of having Python and 1,500+ scientific packages automatically installed at once\u003c/td\u003e\n\u003e    \u003ctd\u003eWant fast access to Python and the conda commands and plan to sort out the other programs later\u003c/td\u003e\n\u003e   \u003c/tr\u003e\n\u003e   \u003ctr\u003e\n\u003e    \u003ctd\u003eHave the time and space (a few minutes and 3 GB)\u003c/td\u003e\n\u003e    \u003ctd\u003eDon't have the time or space to install 1,500+ packages\u003c/td\u003e\n\u003e   \u003c/tr\u003e\n\u003e   \u003ctr\u003e\n\u003e    \u003ctd\u003eDon't want to individually install each package\u003c/td\u003e\n\u003e    \u003ctd\u003eDon't mind individually installing each package\u003c/td\u003e\n\u003e   \u003c/tr\u003e\n\u003e  \u003c/tbody\u003e\n\u003e \u003c/table\u003e\n\u003e\n\u003e Typing out entire Conda commands can sometimes be tedious, so I wrote a shell script ([`conda_shortcuts.sh` on GitHub Gist](https://gist.github.com/lynkos/7a4ce7f9e38bb56174360648461a3dc8)) to define shortcuts for commonly used Conda commands.\n\u003e \u003cdetails\u003e\n\u003e   \u003csummary\u003eExample: Delete/remove a conda environment named \u003ccode\u003etest_env\u003c/code\u003e\u003c/summary\u003e\n\u003e\n\u003e * Shortcut command\n\u003e     ```\n\u003e     rmenv test_env\n\u003e     ```\n\u003e * Manually typing out the entire command\n\u003e     ```sh\n\u003e     conda env remove -n test_env \u0026\u0026 rm -rf $(conda info --base)/envs/test_env\n\u003e     ```\n\u003e\n\u003e The shortcut has 80.8% fewer characters!\n\u003e \u003c/details\u003e\n\n## Installation\n1. Verify that conda is installed\n   ```\n   conda --version\n   ```\n\n2. Ensure conda is up to date\n   ```\n   conda update conda\n   ```\n\n3. Enter the directory you want `dns-lookup` to be cloned in\n   * POSIX\n      ```sh\n      cd ~/path/to/directory\n      ```\n   * Windows\n      ```sh\n      cd C:\\Users\\user\\path\\to\\directory\n      ```\n\n4. Clone and enter `dns-lookup`\n   ```sh\n   git clone https://github.com/lynkos/dns-lookup.git \u0026\u0026 cd dns-lookup\n   ```\n\n5. Create virtual environment from [`environment.yml`](environment.yml)\n   ```sh\n   conda env create -f environment.yml\n   ```\n\n## Usage\n\u003col\u003e\n   \u003cli\u003eActivate \u003ccode\u003edns_env\u003c/code\u003e (i.e., virtual environment)\u003cpre\u003econda activate dns_env\u003c/pre\u003e\u003c/li\u003e\n   \u003cli\u003eConfirm \u003ccode\u003edns_env\u003c/code\u003e is active\n      \u003cul\u003e\n        \u003cli\u003e\u003ccode\u003edns_env\u003c/code\u003e should be in parentheses () or brackets [] before your command prompt, e.g.\u003cpre\u003e(dns_env) $\u003c/pre\u003e\u003c/li\u003e\n        \u003cli\u003eSee which virtual environments are available and/or currently active (active environment denoted with asterisk (*))\u003cpre\u003econda info --envs\u003c/pre\u003e \u003cb\u003eOR\u003c/b\u003e \u003cpre\u003econda env list\u003c/pre\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n   \u003c/li\u003e\n   \u003cli\u003eRun \u003ca href=\"mydns.py\"\u003e\u003ccode\u003emydns.py\u003c/code\u003e\u003c/a\u003e (\u003ccode\u003edomain-name\u003c/code\u003e is the domain name to be resolved while \u003ccode\u003eroot-dns-ip\u003c/code\u003e is the IPv4 address of a \u003ca target=\"_blank\" href=\"https://www.iana.org/domains/root/servers\"\u003eroot DNS server\u003c/a\u003e on the internet)\u003cpre\u003epython mydns.py domain-name root-dns-ip\u003c/pre\u003e\u003c/li\u003e\n   \u003cli\u003eDeactivate \u003ccode\u003edns_env\u003c/code\u003e (i.e., virtual environment) when finished\u003cpre\u003econda deactivate\u003c/pre\u003e\u003c/li\u003e\n\u003c/ol\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flynkos%2Fdns-lookup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flynkos%2Fdns-lookup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flynkos%2Fdns-lookup/lists"}