{"id":13441557,"url":"https://github.com/PowerDNS/pdns","last_synced_at":"2025-03-20T12:31:31.286Z","repository":{"id":8247719,"uuid":"9693534","full_name":"PowerDNS/pdns","owner":"PowerDNS","description":"PowerDNS Authoritative, PowerDNS Recursor, dnsdist","archived":false,"fork":false,"pushed_at":"2024-04-19T14:42:29.000Z","size":87106,"stargazers_count":3376,"open_issues_count":919,"forks_count":870,"subscribers_count":125,"default_branch":"master","last_synced_at":"2024-04-21T02:19:23.747Z","etag":null,"topics":["authoritative","dns","dns-server","dnsdist","hacktoberfest","powerdns","powerdns-authoritative-server","recursor"],"latest_commit_sha":null,"homepage":"https://www.powerdns.com/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"USGS-CIDA/sparrow-dss","license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerDNS.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null}},"created_at":"2013-04-26T11:16:49.000Z","updated_at":"2024-04-22T11:38:29.923Z","dependencies_parsed_at":"2024-04-15T09:44:59.882Z","dependency_job_id":"a9a98c5c-d841-4d12-b771-156ff6c16fec","html_url":"https://github.com/PowerDNS/pdns","commit_stats":{"total_commits":19082,"total_committers":360,"mean_commits":53.00555555555555,"dds":0.8086154491143486,"last_synced_commit":"4c5f1277cf0a2fde0cf3cfb3f5d97b9104e932b6"},"previous_names":[],"tags_count":416,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerDNS%2Fpdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerDNS%2Fpdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerDNS%2Fpdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerDNS%2Fpdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerDNS","download_url":"https://codeload.github.com/PowerDNS/pdns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221760040,"owners_count":16876340,"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":["authoritative","dns","dns-server","dnsdist","hacktoberfest","powerdns","powerdns-authoritative-server","recursor"],"created_at":"2024-07-31T03:01:35.408Z","updated_at":"2025-03-20T12:31:31.280Z","avatar_url":"https://github.com/PowerDNS.png","language":"C++","funding_links":[],"categories":["C++","\u003ca name=\"cpp\"\u003e\u003c/a\u003eC++","hacktoberfest","DNS","Application Recommendation"],"sub_categories":["📡 Web Tools"],"readme":"PowerDNS is copyright © by PowerDNS.COM BV and lots of\ncontributors, using the GNU GPLv2 license (see NOTICE for the\nexact license and exception used).\n\nAll documentation can be found on https://doc.powerdns.com/\n\nThis file may lag behind at times. For most recent updates, always check\nhttps://doc.powerdns.com/authoritative/changelog/\n\nAnother good place to look for information is:\nhttps://doc.powerdns.com/authoritative/appendices/compiling.html\n\nTo file bugs, head towards:\nhttps://github.com/PowerDNS/pdns/issues\n\nBut please check if the issue is already reported there first.\n\nDOCKER\n------\n\nThis README is mirrored from GitHub to dockerhub.\nFor information about our Docker images, please refer to https://github.com/PowerDNS/pdns/blob/master/Docker-README.md\n\nSOURCE CODE / GIT\n-----------------\nSource code is available on GitHub:\n\n```sh\ngit clone https://github.com/PowerDNS/pdns.git\n```\n\nThis repository contains the sources for the PowerDNS Recursor, the PowerDNS\nAuthoritative Server, and dnsdist (a powerful DNS loadbalancer). All three can\nbe built from this repository. However, all three released separately as .tar.bz2,\n.deb and .rpm.\n\nThe different releases can be built by the help of pdns-builder, which uses a\ndocker-based build process. To get started with this, run these commands in the root\nof this repository:\n\n```sh\ngit submodule init\ngit submodule update\n./builder/build.sh\n```\n\nThis will bring up a USAGE-page which will explain how to build the different releases.\n\nCOMPILING Authoritative Server\n------------------------------\nThe PowerDNS Authoritative Server depends on Boost, OpenSSL and Lua, and requires a\ncompiler with C++-2017 support.\n\nOn Debian, the following is useful:\n\n```sh\napt install g++ libboost-all-dev libtool make pkg-config default-libmysqlclient-dev libssl-dev libluajit-5.1-dev python3-venv\n```\n\nWhen building from git, the following packages are also required:\n\n```sh\napt install autoconf automake ragel bison flex\n```\n\nFor Ubuntu, the following packages should be installed:\n\n```sh\napt install libcurl4-openssl-dev luajit lua-yaml-dev libyaml-cpp-dev libtolua-dev lua5.3 autoconf automake ragel bison flex g++ libboost-all-dev libtool make pkg-config libssl-dev lua-yaml-dev libyaml-cpp-dev libluajit-5.1-dev libcurl4 gawk libsqlite3-dev python3-venv\n# For DNSSEC ed25519 (algorithm 15) support with --with-libsodium\napt install libsodium-dev\n# If using the gmysql (Generic MySQL) backend\napt install default-libmysqlclient-dev\n# If using the gpgsql (Generic PostgreSQL) backend\napt install libpq-dev\n# If using --enable-systemd (will create the service scripts so it can be managed with systemctl/service)\napt install libsystemd0 libsystemd-dev\n# If using the geoip backend\napt install libmaxminddb-dev libmaxminddb0 libgeoip1 libgeoip-dev\n```\n\nThen generate the configure file:\n\n```sh\nautoreconf -vi\n```\n\nTo compile a very clean version, use:\n\n```sh\n./configure --with-modules=\"\" --disable-lua-records\nmake\n# make install\n```\n\nThis generates a PowerDNS Authoritative Server binary with no modules built in.\n\nSee https://doc.powerdns.com/authoritative/backends/index.html for a list of available modules.\n\nWhen `./configure` is run without `--with-modules`, the bind and gmysql module are\nbuilt-in by default and the pipe-backend is compiled for runtime loading.\n\nTo add multiple modules, try:\n\n```sh\n./configure --with-modules=\"bind gmysql gpgsql\"\n```\n\nNote that you will need the development headers for PostgreSQL as well in this case.\n\nSee https://doc.powerdns.com/authoritative/appendices/compiling.html for more details.\n\nIf you run into C++11-related symbol trouble, please try passing `CPPFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0` (or 1) to `./configure` to make sure you are compatible with the installed dependencies.\n\nCompiling the Recursor\n----------------------\nSee [README.md](pdns/recursordist/README.md) in `pdns/recursordist/`.\n\nCompiling dnsdist\n-----------------\nSee [README-dnsdist.md](pdns/README-dnsdist.md) in `pdns/`.\n\nBuilding the HTML documentation\n-------------------------------\n\nThe HTML documentation (as seen [on the PowerDNS docs site](https://doc.powerdns.com/authoritative/)) is built from ReStructured Text (rst) files located in `docs`. They are compiled into HTML files using [Sphinx](http://www.sphinx-doc.org/en/master/index.html), a documentation generator tool which is built in Python.\n\nInstall the dependencies under \"COMPILING\", and run autoreconf if you haven't already:\n\n```sh\nautoreconf -vi\n```\n\nEnter the `docs` folder, and use make to build the HTML docs.\n\n```\ncd docs\nmake html-docs\n```\n\nThe HTML documentation will now be available in `html-docs`.\n\nFreeBSD Notes\n-------------\nYou need to compile using gmake - regular make only appears to work, but doesn't in fact. Use gmake, not make.\n\nThe clang compiler installed through FreeBSD's package manager does not expose all of the C++17 features needed under the default `std=gnuc++14`. Force the compiler to use `std=c++17` mode instead.\n\n```sh\nexport CXXFLAGS=-std=c++17\n```\n\nmacOS Notes\n-----------\nPowerDNS Authoritative Server is available through Homebrew:\n\n```\nbrew install pdns\n```\n\nIf you want to compile yourself, the dependencies can be installed using\nHomebrew. You need to tell configure where to find OpenSSL, too.\n\n```sh\nbrew install boost lua pkg-config ragel openssl\n./configure --with-modules=\"\" PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig\nmake -j4\n```\n\nAdditionally, for PostgreSQL support, run `brew install postgresql` and add `--with-modules=\"gpgsql\"` to `./configure`.\nFor MySQL support, run `brew install mariadb` and add `--with-modules=\"gmysql\"` to `./configure`.\n\nLinux notes\n-----------\nNone really.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerDNS%2Fpdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPowerDNS%2Fpdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerDNS%2Fpdns/lists"}