{"id":21672852,"url":"https://github.com/dogoncouch/dhcptranslate","last_synced_at":"2025-03-20T08:35:25.701Z","repository":{"id":82059189,"uuid":"318958515","full_name":"dogoncouch/dhcptranslate","owner":"dogoncouch","description":"Parses ISC DHCP server config, performs DNS resolution as needed, and outputs lease data in CSV format.","archived":false,"fork":false,"pushed_at":"2021-01-18T00:30:05.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-25T09:27:58.020Z","etag":null,"topics":["configuration","csv-format","data-analysis","isc-dhcp","isc-dhcp-server","migration-tool"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dogoncouch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2020-12-06T05:26:23.000Z","updated_at":"2024-10-14T13:55:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"21620c38-d164-4f76-99c1-2ff62f097eb7","html_url":"https://github.com/dogoncouch/dhcptranslate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogoncouch%2Fdhcptranslate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogoncouch%2Fdhcptranslate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogoncouch%2Fdhcptranslate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogoncouch%2Fdhcptranslate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dogoncouch","download_url":"https://codeload.github.com/dogoncouch/dhcptranslate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244579736,"owners_count":20475755,"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":["configuration","csv-format","data-analysis","isc-dhcp","isc-dhcp-server","migration-tool"],"created_at":"2024-11-25T13:33:16.167Z","updated_at":"2025-03-20T08:35:25.671Z","avatar_url":"https://github.com/dogoncouch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dhcptranslate\n\n## Usage\nParses DHCP reservations from an ISC DHCP config file, and translates any reservations made by DNS name to an IP address. Outputs CSV format to the command line in the following format, sorted by `ip_address`:\n```\nip_address,MAC_address,\"MAC_vendor\",hostname,reservation,original_config_line\n```\nThe `reservation` field contains what was originally defined by the reservation, whether it is by IP address or DNS name. The `ip_address` field will show `0.0.0.0` if DNS resolution failed. `MAC_vendor` is in quotes, since it sometimes contains commas. The last field is the original config line in its entirety.\n\n### Options\n```\nusage: dhcptranslate [-h] [--version] FILE [FILE ...]\n\npositional arguments:\n  FILE        set a dhcp conf file to parse\n\noptional arguments:\n  -h, --help  show this help message and exit\n  --version   show program's version number and exit\n  -c, --config  Output in config format with IP address\n```\n\n## Examples\n    \n    dhcptranslate dhcpd.conf includes.conf \u003e csvoutputfile\n\n## Support\nBugs, questions, and other issues can be directed to the project's [issues page](https://github.com/dogoncouch/dhcptranslate/issues) on GitHub, or emailed to [dogoncouch@dogoncouch.net](mailto:dogoncouch@dogoncouch.net).\n\n\n# Copyright\nMIT License\n\nCopyright (c) 2020 Dan Persons (dogoncouch@dogoncouch.net)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogoncouch%2Fdhcptranslate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdogoncouch%2Fdhcptranslate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogoncouch%2Fdhcptranslate/lists"}