{"id":13573040,"url":"https://github.com/CZ-NIC/knot","last_synced_at":"2025-04-04T11:31:16.753Z","repository":{"id":29641584,"uuid":"33182993","full_name":"CZ-NIC/knot","owner":"CZ-NIC","description":"A mirrored repository","archived":false,"fork":false,"pushed_at":"2025-04-03T08:50:11.000Z","size":59574,"stargazers_count":247,"open_issues_count":3,"forks_count":59,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-03T09:34:12.692Z","etag":null,"topics":["dns","dns-server","dnssec","server"],"latest_commit_sha":null,"homepage":"https://gitlab.nic.cz/knot/knot-dns","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CZ-NIC.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","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":"2015-03-31T12:01:28.000Z","updated_at":"2025-04-03T08:50:14.000Z","dependencies_parsed_at":"2023-09-22T09:38:56.455Z","dependency_job_id":"81dc8bc8-8283-4039-845e-ca4edf8ef6b9","html_url":"https://github.com/CZ-NIC/knot","commit_stats":null,"previous_names":[],"tags_count":200,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CZ-NIC%2Fknot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CZ-NIC%2Fknot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CZ-NIC%2Fknot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CZ-NIC%2Fknot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CZ-NIC","download_url":"https://codeload.github.com/CZ-NIC/knot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247170189,"owners_count":20895428,"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":["dns","dns-server","dnssec","server"],"created_at":"2024-08-01T15:00:28.025Z","updated_at":"2025-04-04T11:31:11.739Z","avatar_url":"https://github.com/CZ-NIC.png","language":"C","funding_links":[],"categories":["C","server"],"sub_categories":[],"readme":"[![Coverity Status](https://img.shields.io/coverity/scan/knot-dns.svg)](https://scan.coverity.com/projects/knot-dns)\n[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/knot-dns.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened\u0026can=1\u0026q=proj:knot-dns)\n\n# Requirements\n\n[doc/requirements.rst](doc/requirements.rst)\n\n# Installation\n\n[doc/installation.rst](doc/installation.rst)\n\n## 1. Install prerequisites\n\n### Debian based distributions\n\n#### Update the system:\n```bash\nsudo apt-get update\nsudo apt-get upgrade\n```\n\n#### Install prerequisites:\n```bash\nsudo apt-get install \\\n  libtool autoconf automake make pkg-config liburcu-dev libgnutls28-dev libedit-dev liblmdb-dev\n```\n\n#### Install optional packages:\n```bash\nsudo apt-get install \\\n  libcap-ng-dev libsystemd-dev libidn2-dev libprotobuf-c-dev protobuf-c-compiler libfstrm-dev libmaxminddb-dev libnghttp2-dev libbpf-dev libxdp-dev libmnl-dev python3-sphinx python3-sphinx-panels\n```\n\n### Fedora like distributions\n\n#### Update the system:\n```bash\ndnf upgrade\n```\n\n#### Install basic development tools:\n```bash\ndnf install @buildsys-build\n```\n\n#### Install prerequisites:\n```bash\ndnf install \\\n  libtool autoconf automake pkgconfig userspace-rcu-devel gnutls-devel libedit-devel lmdb-devel\n```\n\n#### Install optional packages:\n```bash\ndnf install \\\n  libcap-ng-devel systemd-devel libidn2-devel protobuf-c-devel fstrm-devel libmaxminddb-devel libnghttp2-devel libbpf-devel libxdp-devel libmnl-devel python-sphinx python-sphinx-panels\n```\n\nWhen compiling on RHEL based system, the Fedora EPEL repository has to be\nenabled.\n\n## 2. Install Knot DNS\n\nGet the source code:\n```bash\ngit clone https://gitlab.nic.cz/knot/knot-dns.git\n```\nOr extract source package to knot-dns directory.\n\nCompile the source code:\n```bash\ncd knot-dns\nautoreconf -if\n./configure\nmake\n```\n\nInstall Knot DNS into system:\n```bash\nsudo make install\nsudo ldconfig\n```\n\n# Running\n\n### 1. Ensure some configuration\n\n[doc/configuration.rst](doc/configuration.rst)\n\nPlease see [samples/knot.sample.conf](samples/knot.sample.conf),\n[project documentation](https://www.knot-dns.cz/documentation/),\nor `man 5 knot.conf` for more details. Basically the configuration should specify:\n- network interfaces\n- served zones\n\nE.g. use the default configuration file:\n```bash\ncd /etc/knot\nmv knot.sample.conf knot.conf\n```\nModify the configuration file:\n```bash\neditor knot.conf\n```\n\n### 2. Prepare working directory\n\n```bash\nmv example.com.zone /var/lib/knot/\n```\n\n### 3. Start the server\n\n[doc/operation.rst](doc/operation.rst)\n\nThis can be done by running the `knotd` command. Alternatively, your distribution\nshould have an init script available, if you installed Knot DNS from a binary package.\n\nStart the server in foreground to see if it runs:\n```bash\nknotd -c /etc/knot/knot.conf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCZ-NIC%2Fknot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCZ-NIC%2Fknot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCZ-NIC%2Fknot/lists"}