Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi-hole v6.0 documentation #338

Open
wants to merge 324 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 61 commits
Commits
Show all changes
324 commits
Select commit Hold shift + click to select a range
709d299
Bump the npm-dependencies group with 1 update
dependabot[bot] Oct 28, 2023
74c95bf
Merge pull request #944 from pi-hole/dependabot/github_actions/releas…
yubiuser Oct 28, 2023
71ca5ee
Merge pull request #945 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Oct 28, 2023
282290e
Merge pull request #946 from pi-hole/dependabot/npm_and_yarn/release/…
yubiuser Oct 28, 2023
2b8a7fe
Update Node to 20
yubiuser Oct 29, 2023
edeb780
Fix spellcheck
yubiuser Oct 29, 2023
1efc89e
Adlist Table
NittanySeaLion Oct 30, 2023
885cc9b
Merge pull request #949 from NittanySeaLion/release/v6.0
yubiuser Oct 30, 2023
5a4dc22
Add authentication documentation
DL6ER Nov 2, 2023
2953f24
Add Javascript (plain and jQuery) examples
DL6ER Nov 2, 2023
b89107e
Add C example
DL6ER Nov 2, 2023
1529c54
Merge pull request #947 from pi-hole/update/dev
PromoFaux Nov 3, 2023
96117fd
Apply suggestions from code review
DL6ER Nov 3, 2023
62ba878
Fix copy-paste error in the suggested URI
DL6ER Nov 3, 2023
277e51b
The SID should actually be URL-encoded in the query method
DL6ER Nov 3, 2023
a6b505f
Merge pull request #950 from pi-hole/new/auth
DL6ER Nov 4, 2023
9c63cf7
Bump the npm-dependencies group with 1 update
dependabot[bot] Nov 4, 2023
9a91957
Merge pull request #952 from pi-hole/dependabot/npm_and_yarn/release/…
yubiuser Nov 4, 2023
a61064f
Bump the pip-dependencies group with 1 update
dependabot[bot] Nov 11, 2023
b09526d
Merge pull request #953 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Nov 11, 2023
631f436
Bump the pip-dependencies group with 1 update
dependabot[bot] Nov 18, 2023
7af2b59
Merge pull request #955 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Nov 18, 2023
90a3bd7
Update dependencies due to switching from libidn -> libidn2
DL6ER Nov 20, 2023
59b4060
Bump the npm-dependencies group with 2 updates
dependabot[bot] Nov 25, 2023
0d02295
Bump the pip-dependencies group with 1 update
dependabot[bot] Nov 25, 2023
8ddf586
Merge pull request #957 from pi-hole/dependabot/npm_and_yarn/release/…
yubiuser Nov 26, 2023
71e52aa
Merge pull request #958 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Nov 26, 2023
0086716
Bump the pip-dependencies group with 1 update
dependabot[bot] Dec 2, 2023
4e9a6d9
Merge pull request #961 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Dec 2, 2023
7459417
Merge pull request #956 from pi-hole/new/idn2
dschaper Dec 2, 2023
c454a07
Bump the github_action-dependencies group with 2 updates
dependabot[bot] Dec 9, 2023
9cebf17
Bump the pip-dependencies group with 1 update
dependabot[bot] Dec 9, 2023
f214d36
Merge pull request #966 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Dec 9, 2023
f4e0751
Merge pull request #965 from pi-hole/dependabot/github_actions/releas…
yubiuser Dec 9, 2023
921eb82
Bump the pip-dependencies group with 1 update
dependabot[bot] Dec 16, 2023
4045972
Merge pull request #968 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Dec 16, 2023
ab85147
Bump the github_action-dependencies group with 1 update
dependabot[bot] Dec 23, 2023
7ff15f8
Bump the pip-dependencies group with 1 update
dependabot[bot] Dec 23, 2023
b521777
Bump the npm-dependencies group with 1 update
dependabot[bot] Dec 23, 2023
8b18553
Merge pull request #971 from pi-hole/dependabot/github_actions/releas…
yubiuser Dec 23, 2023
ac30434
Merge pull request #972 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Dec 23, 2023
01f40d0
Merge pull request #973 from pi-hole/dependabot/npm_and_yarn/release/…
yubiuser Dec 23, 2023
38e46c3
Bump the pip-dependencies group with 1 update
dependabot[bot] Dec 30, 2023
6aea8fc
Merge pull request #974 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Dec 30, 2023
ebee3d3
Correct API location
yubiuser Jan 6, 2024
912b383
Merge pull request #975 from pi-hole/api_location
DL6ER Jan 7, 2024
a7938a1
Bump the npm-dependencies group with 2 updates
dependabot[bot] Jan 13, 2024
aa6c12e
Fix markdownlinting errors
yubiuser Jan 13, 2024
0949422
Merge pull request #977 from pi-hole/dependabot/npm_and_yarn/release/…
yubiuser Jan 13, 2024
b90c918
Add devcontainer
yubiuser Jan 13, 2024
fd50cbb
Add documentation about how to trust TLS/SSL certificate automaticall…
DL6ER Jan 17, 2024
18e370c
Bump the npm-dependencies group with 1 update
dependabot[bot] Jan 20, 2024
753231d
Bump the pip-dependencies group with 1 update
dependabot[bot] Jan 20, 2024
e3a256f
Merge pull request #982 from pi-hole/dependabot/npm_and_yarn/release/…
yubiuser Jan 20, 2024
d685e36
Merge pull request #983 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Jan 20, 2024
7f69eb0
Merge branch 'release/v6.0' into devcontainer
yubiuser Jan 20, 2024
83d5383
Add explicit description on how to re-generate a new certificate
DL6ER Jan 21, 2024
94eda89
Merge pull request #980 from pi-hole/new/v6_browser_tls
DL6ER Jan 22, 2024
49d1081
Bump the pip-dependencies group with 1 update
dependabot[bot] Jan 27, 2024
d912f01
Merge pull request #985 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Jan 27, 2024
f79345e
Update supported Fedora versions
yubiuser Jan 28, 2024
6eee32c
Bump the pip-dependencies group with 2 updates
dependabot[bot] Feb 3, 2024
202ee8a
Merge pull request #992 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Feb 4, 2024
7f74a74
Merge pull request #989 from pi-hole/fedora
yubiuser Feb 9, 2024
8e9e27b
Bump the pip-dependencies group with 1 update
dependabot[bot] Feb 10, 2024
7687995
Bump the github_action-dependencies group with 1 update
dependabot[bot] Feb 10, 2024
3212ba8
Merge pull request #996 from pi-hole/dependabot/github_actions/releas…
yubiuser Feb 10, 2024
2fa3c61
Merge pull request #995 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Feb 10, 2024
938d624
Fix PATH
yubiuser Feb 23, 2024
0469094
Add serve command and forward port 8000
yubiuser Feb 23, 2024
b332cd4
Merge pull request #979 from pi-hole/devcontainer
yubiuser Feb 23, 2024
171cfea
Bump the pip-dependencies group with 1 update
dependabot[bot] Feb 24, 2024
6eeecd1
Merge pull request #998 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Feb 24, 2024
8459ab3
Bump the pip-dependencies group with 1 update
dependabot[bot] Mar 2, 2024
bb09485
Merge pull request #999 from pi-hole/dependabot/pip/release/v6.0/pip-…
yubiuser Mar 2, 2024
965151c
Bump the pip-dependencies group with 1 update
dependabot[bot] Mar 9, 2024
f7b28ba
Merge pull request #1003 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Mar 9, 2024
7a7ed97
Bump the pip-dependencies group with 1 update
dependabot[bot] Mar 23, 2024
82d2254
Merge pull request #1008 from pi-hole/dependabot/pip/release/v6.0/pip…
PromoFaux Mar 27, 2024
d999f69
Bump the github_action-dependencies group with 3 updates
dependabot[bot] Mar 30, 2024
5422dca
Merge pull request #1013 from pi-hole/dependabot/github_actions/relea…
PromoFaux Apr 1, 2024
18e91e2
Bump mkdocs-material from 9.5.15 to 9.5.18 in the pip-dependencies group
dependabot[bot] Apr 20, 2024
6261e8f
Bump actions/checkout in the github_action-dependencies group
dependabot[bot] Apr 20, 2024
21c5c28
Bump markdownlint-cli2 in the npm-dependencies group
dependabot[bot] Apr 6, 2024
4c9078b
Bump actions/checkout in the github_action-dependencies group
dependabot[bot] Apr 27, 2024
6f9f5c5
Merge pull request #1025 from pi-hole/dependabot/github_actions/relea…
yubiuser Apr 27, 2024
941cb15
Bump the pip-dependencies group with 2 updates
dependabot[bot] Apr 27, 2024
a25fbd9
Fix absolute links, warn about missing link anchors and faild hard on…
yubiuser Apr 28, 2024
ff9b7dd
Add deprecation notice to OpenVPN pages
DL6ER Nov 30, 2023
86f040d
Merge pull request #1028 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Apr 28, 2024
1a15581
Merge pull request #1029 from pi-hole/open_vpn
yubiuser Apr 28, 2024
7199d84
Bump the pip-dependencies group with 2 updates
dependabot[bot] May 4, 2024
beea839
Merge pull request #1030 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser May 4, 2024
3cb9965
Bump the github_action-dependencies group with 2 updates
dependabot[bot] May 11, 2024
48ed2e8
Merge pull request #1033 from pi-hole/dependabot/github_actions/relea…
yubiuser May 11, 2024
3fb549a
Bump mkdocs-material from 9.5.21 to 9.5.23 in the pip-dependencies group
dependabot[bot] May 18, 2024
3a5a9e8
Bump actions/checkout in the github_action-dependencies group
dependabot[bot] May 18, 2024
6622bc3
Merge pull request #1035 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser May 22, 2024
29bd90e
Merge pull request #1037 from pi-hole/dependabot/github_actions/relea…
yubiuser May 22, 2024
69c47ac
Bump mkdocs-material from 9.5.23 to 9.5.24 in the pip-dependencies group
dependabot[bot] May 25, 2024
9c039ab
Merge pull request #1043 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser May 25, 2024
9c3a761
Bump the pip-dependencies group with 2 updates
dependabot[bot] Jun 1, 2024
77be12c
Bump eps1lon/actions-label-merge-conflict
dependabot[bot] Jun 1, 2024
a9c0d92
Merge pull request #1045 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Jun 1, 2024
58e6be4
Merge pull request #1046 from pi-hole/dependabot/github_actions/relea…
yubiuser Jun 1, 2024
fa332f6
Bump mkdocs-material from 9.5.25 to 9.5.26 in the pip-dependencies group
dependabot[bot] Jun 8, 2024
5d40110
Bump linkinator from 6.0.4 to 6.0.5 in the npm-dependencies group
dependabot[bot] Jun 8, 2024
eaf8835
Merge pull request #1050 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Jun 8, 2024
40034a8
Merge pull request #1052 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Jun 8, 2024
4fc221c
Bump actions/checkout in the github_action-dependencies group
dependabot[bot] Jun 15, 2024
2403883
Merge pull request #1060 from pi-hole/dependabot/github_actions/relea…
yubiuser Jun 15, 2024
fe608ec
Bump mkdocs-material from 9.5.26 to 9.5.27 in the pip-dependencies group
dependabot[bot] Jun 22, 2024
171e96f
Bump linkinator from 6.0.5 to 6.0.6 in the npm-dependencies group
dependabot[bot] Jun 29, 2024
f78d2ee
Merge pull request #1064 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Jun 29, 2024
06e30c2
Merge branch 'master' into release/v6.0
DL6ER Jul 1, 2024
7c655ce
Ignore SIGUSR7 (used to signal time is now synchroized)
DL6ER Jul 1, 2024
8603ae9
Bump linkinator from 6.0.6 to 6.1.1 in the npm-dependencies group
dependabot[bot] Jul 6, 2024
768e1ed
Fix indention styl in LICENSE
yubiuser Jul 6, 2024
660f0e8
Merge pull request #1067 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Jul 6, 2024
fc6097b
Bump mkdocs-material from 9.5.27 to 9.5.28 in the pip-dependencies group
dependabot[bot] Jul 6, 2024
0580e37
Merge pull request #1070 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Jul 6, 2024
d1c68ec
Bump the github_action-dependencies group with 2 updates
dependabot[bot] Jul 13, 2024
c72aba1
Merge pull request #1072 from pi-hole/dependabot/github_actions/relea…
yubiuser Jul 13, 2024
64688fc
Bump mkdocs-material from 9.5.28 to 9.5.29 in the pip-dependencies group
dependabot[bot] Jul 20, 2024
f05f3b6
Merge pull request #1073 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Jul 20, 2024
c565949
Bump mkdocs-material from 9.5.29 to 9.5.30 in the pip-dependencies group
dependabot[bot] Jul 27, 2024
335fe3b
Merge pull request #1077 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Jul 27, 2024
a1b0234
Bump mkdocs-material from 9.5.30 to 9.5.31 in the pip-dependencies group
dependabot[bot] Aug 3, 2024
871742e
Merge pull request #1079 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Aug 3, 2024
c7e150f
Merge branch 'master' into release/v6.0
DL6ER Aug 18, 2024
00cd44f
Add docker instructions to FTL gdb debugging page
DL6ER Aug 18, 2024
5a0c05f
Add hint that users may need to use something else than apt if they a…
DL6ER Aug 20, 2024
4da307b
Bump the pip-dependencies group with 2 updates
dependabot[bot] Aug 24, 2024
d3c2bac
Merge pull request #1081 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Aug 24, 2024
7e51b91
Bump actions/setup-python in the github_action-dependencies group
dependabot[bot] Aug 31, 2024
993cba7
Bump mkdocs from 1.6.0 to 1.6.1 in the pip-dependencies group
dependabot[bot] Aug 31, 2024
c54b77c
Merge pull request #1086 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Aug 31, 2024
c3c805c
Merge pull request #1085 from pi-hole/dependabot/github_actions/relea…
yubiuser Aug 31, 2024
a996eeb
Merge pull request #842 from pi-hole/drop_static
yubiuser Sep 2, 2024
f498871
Bump mkdocs-material from 9.5.33 to 9.5.34 in the pip-dependencies group
dependabot[bot] Sep 7, 2024
b1418f2
Bump markdownlint-cli2 in the npm-dependencies group
dependabot[bot] Sep 7, 2024
b90c93d
Merge pull request #1088 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Sep 7, 2024
c84ca00
Merge pull request #1089 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Sep 7, 2024
8dac55f
Bump mkdocs-git-revision-date-localized-plugin
dependabot[bot] Sep 14, 2024
8f01b4f
Merge pull request #1093 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Sep 14, 2024
3a2dcc9
Add new QUERY_EXTERNAL_BLOCKED_EDE15 query status
DL6ER Sep 14, 2024
1de2217
Merge pull request #1094 from pi-hole/new/edns_reasoning
DL6ER Sep 14, 2024
ac1e418
Bump actions/setup-node in the github_action-dependencies group
dependabot[bot] Sep 21, 2024
cea418a
Bump mkdocs-material from 9.5.34 to 9.5.36 in the pip-dependencies group
dependabot[bot] Sep 21, 2024
cc0fb6f
Merge pull request #1096 from pi-hole/dependabot/github_actions/relea…
yubiuser Sep 21, 2024
6941488
Merge pull request #1098 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Sep 21, 2024
6e06b39
Add some information about building the docker image locally
PromoFaux Aug 23, 2024
b730eaa
Tweaks following feedback
PromoFaux Aug 23, 2024
21d24e2
Update docs/docker/build-image.md
PromoFaux Aug 24, 2024
43c5369
Update local image name following https://github.com/pi-hole/docker-p…
PromoFaux Aug 25, 2024
5ef5a90
development-v6 -> development
PromoFaux Sep 11, 2024
83ee25e
Add navigation.indexes feature
PromoFaux Sep 25, 2024
627c8a2
Rename `Pi-hole Core` -> `The pihole command`, move it to `main` and …
PromoFaux Sep 25, 2024
61d413f
Database section. Rationalise section names to match titles and add r…
PromoFaux Sep 25, 2024
323f51b
API Section. Tidy up titles
PromoFaux Sep 25, 2024
de5b0a5
FTLDNS
PromoFaux Sep 25, 2024
120eff1
Group management section, add redirect
PromoFaux Sep 25, 2024
6023ad3
RegEx Blocking section. Title Case and redirects
PromoFaux Sep 25, 2024
0ae479f
Guides section, add redirect links and update internal links
PromoFaux Sep 25, 2024
f361b39
Move the main overview page to the About Pi-hole level
PromoFaux Sep 25, 2024
0432c94
Add index.md for Getting Started section
PromoFaux Sep 25, 2024
dbbdddb
Contribution: Move contributing.md->index.md and move up one level
PromoFaux Sep 25, 2024
1474dc8
Bump actions/checkout in the github_action-dependencies group
dependabot[bot] Sep 28, 2024
1c7d9c7
Bump mkdocs-material from 9.5.36 to 9.5.38 in the pip-dependencies group
dependabot[bot] Sep 28, 2024
2231e14
Merge pull request #1104 from pi-hole/dependabot/github_actions/relea…
yubiuser Sep 28, 2024
7d29f90
Merge pull request #1105 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Sep 28, 2024
9e728be
Flesh out the Docker section, add some more detailed information abou…
PromoFaux Sep 25, 2024
6d66f8b
remove restartdns command from docs per https://github.com/pi-hole/pi…
PromoFaux Sep 24, 2024
e3d537b
Update various `pihole restartdns` references
PromoFaux Oct 2, 2024
807e522
Update benchmark.md to reflect removed restartdns command and also up…
PromoFaux Oct 2, 2024
87804ec
Remove outdated references to pihole-FTL.conf
PromoFaux Oct 2, 2024
282cf1a
Reflect changes to the `pihole` command, plus move whitelist/blacklis…
PromoFaux Oct 2, 2024
8d1dfba
Bump mkdocs-material from 9.5.38 to 9.5.39 in the pip-dependencies group
dependabot[bot] Oct 5, 2024
d7ab402
Merge pull request #1108 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Oct 5, 2024
3f436cc
Update docs/database/query-database.md
PromoFaux Oct 6, 2024
86ae7a3
Bump mkdocs-material from 9.5.39 to 9.5.40 in the pip-dependencies group
dependabot[bot] Oct 12, 2024
36915de
Bump actions/checkout in the github_action-dependencies group
dependabot[bot] Oct 12, 2024
d04d4bc
Bump linkinator from 6.1.1 to 6.1.2 in the npm-dependencies group
dependabot[bot] Oct 12, 2024
c6a966c
Merge pull request #1114 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Oct 12, 2024
20147b1
Merge pull request #1115 from pi-hole/dependabot/github_actions/relea…
yubiuser Oct 12, 2024
4aa3822
Merge pull request #1116 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Oct 12, 2024
d14f2cc
Bump mkdocs-material from 9.5.40 to 9.5.41 in the pip-dependencies group
dependabot[bot] Oct 19, 2024
020c777
Merge pull request #1120 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Oct 19, 2024
e68cabf
white/black -> allow/deny
PromoFaux Oct 20, 2024
fa65822
adlist(s)/blocklist(s) -> subscribed list(s)
PromoFaux Oct 20, 2024
19f39c1
Address @Yubiusers review comments
PromoFaux Oct 20, 2024
31aa2ab
Update/remove lighttpd/php references. Remove the links to community …
PromoFaux Oct 20, 2024
762f4c1
Add SIGRT6 and SIGRT7 descriptions
DL6ER Oct 21, 2024
08b9ddd
grammar?
PromoFaux Oct 21, 2024
49c32e2
Remove webserver community guides - they're outdated and it is probab…
PromoFaux Oct 21, 2024
116835b
Bump the github_action-dependencies group with 3 updates
dependabot[bot] Oct 26, 2024
9fc0867
Bump the pip-dependencies group with 2 updates
dependabot[bot] Oct 26, 2024
421f355
Merge pull request #1122 from pi-hole/dependabot/github_actions/relea…
yubiuser Oct 26, 2024
e62a86a
Merge pull request #1123 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Oct 26, 2024
b49eaa9
Add reloadDNS/lists to hte pihole-command page
PromoFaux Oct 28, 2024
252aced
Review comments
PromoFaux Oct 28, 2024
6aec290
Fix mkdocs yaml
PromoFaux Oct 28, 2024
67f7d0f
Update docs/ftldns/dnsmasq_warn.md
PromoFaux Oct 29, 2024
bfddfe5
Bump mkdocs-material from 9.5.42 to 9.5.43 in the pip-dependencies group
dependabot[bot] Nov 2, 2024
d16a433
Merge pull request #1126 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Nov 2, 2024
3836980
Merge branch 'master' into release/v6.0
DL6ER Nov 9, 2024
b027938
Add gdb section introduction
DL6ER Nov 9, 2024
bd877ca
Bump the pip-dependencies group with 2 updates
dependabot[bot] Nov 9, 2024
5a9b17e
Merge pull request #1129 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Nov 9, 2024
1f77aba
Add missing word
yubiuser Nov 9, 2024
eb98c6c
Add further real-time signals to ignore - we never really want to bre…
DL6ER Nov 11, 2024
8e155e3
Add note about not being able to debug forks using gdb
DL6ER Nov 11, 2024
883f042
Add instrutions how to combine valgrind with gdb debugging
DL6ER Nov 12, 2024
51543da
Rename ftldns/debugging -> ftldns/gdb for clarity
DL6ER Nov 12, 2024
24477e3
Add docker-specific instructions for running pihole-FTL supervised by…
DL6ER Nov 15, 2024
ef32afc
Add note that FTL will run much slower in valgrind
DL6ER Nov 15, 2024
20e630f
Bump markdownlint-cli2 in the npm-dependencies group
dependabot[bot] Nov 16, 2024
9794504
Merge pull request #1130 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Nov 16, 2024
dc87197
Bump mkdocs-material from 9.5.44 to 9.5.45 in the pip-dependencies group
dependabot[bot] Nov 23, 2024
025f88d
Merge pull request #1133 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Nov 23, 2024
5ad7e25
Update docs/guides/misc/benchmark.md
PromoFaux Nov 29, 2024
6720aa5
Bump mkdocs-material from 9.5.45 to 9.5.46 in the pip-dependencies group
dependabot[bot] Nov 30, 2024
09ce328
Merge pull request #1136 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Nov 30, 2024
4772f43
Bump mkdocs-material from 9.5.46 to 9.5.47 in the pip-dependencies group
dependabot[bot] Dec 7, 2024
fb2b8f9
Merge pull request #1137 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Dec 7, 2024
bcef624
Merge branch 'release/v6.0' into remove-restartdns
PromoFaux Dec 10, 2024
b487608
Bump markdownlint-cli2 in the npm-dependencies group
dependabot[bot] Dec 14, 2024
750e3cc
Merge pull request #1139 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Dec 14, 2024
55223b9
Bump mkdocs-material from 9.5.47 to 9.5.48 in the pip-dependencies group
dependabot[bot] Dec 14, 2024
3e3f4b1
Merge pull request #1141 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Dec 14, 2024
448e7b4
Merge branch 'master' into release/v6.0
DL6ER Dec 16, 2024
d309d26
Add example on how to use Home Assistant to control Pi-hole enable an…
DL6ER Dec 16, 2024
7c85e5a
Optimised images with calibre/image-actions
github-actions[bot] Dec 16, 2024
d4735b5
Merge pull request #1143 from pi-hole/new/home-assistant
DL6ER Dec 16, 2024
0bf6408
Bump mkdocs-material from 9.5.48 to 9.5.49 in the pip-dependencies group
dependabot[bot] Dec 21, 2024
97a77f8
Merge pull request #1146 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Dec 21, 2024
d9ae4c9
Merge pull request #1099 from pi-hole/remove-restartdns
DL6ER Dec 23, 2024
d4f0988
Merge branch 'master' into release/v6.0
DL6ER Dec 23, 2024
de60486
Bump markdownlint-cli2 in the npm-dependencies group
dependabot[bot] Dec 28, 2024
31f77be
Merge pull request #1148 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Dec 28, 2024
14ae4e7
Bump markdownlint-cli2 in the npm-dependencies group
dependabot[bot] Jan 4, 2025
3cff012
Merge pull request #1151 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Jan 4, 2025
aa5f67a
Bump eps1lon/actions-label-merge-conflict
dependabot[bot] Jan 11, 2025
cd993cb
Merge pull request #1153 from pi-hole/dependabot/github_actions/relea…
yubiuser Jan 11, 2025
99cd527
Bump markdownlint-cli2 in the npm-dependencies group
dependabot[bot] Jan 18, 2025
42926df
Bump mkdocs-material from 9.5.49 to 9.5.50 in the pip-dependencies group
dependabot[bot] Jan 18, 2025
4baebd9
Merge pull request #1157 from pi-hole/dependabot/npm_and_yarn/release…
yubiuser Jan 18, 2025
fa25479
Merge pull request #1158 from pi-hole/dependabot/pip/release/v6.0/pip…
yubiuser Jan 18, 2025
a2d7943
Bump actions/stale in the github_action-dependencies group
dependabot[bot] Jan 25, 2025
214ef0e
Merge pull request #1159 from pi-hole/dependabot/github_actions/relea…
yubiuser Jan 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/calibreapp-image-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3.6.0
uses: actions/checkout@v4.1.0

- name: Compress Images
uses: calibreapp/[email protected] # TODO: if they start using a tag like v1, switch to that
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.6.0
- uses: actions/checkout@v4.1.0
with:
fetch-depth: 0

- name: Set up Python
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
python-version: "${{ env.PYTHON_VERSION }}"
architecture: "x64"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
-
name: Checkout repository
uses: actions/checkout@v3.6.0
uses: actions/checkout@v4.1.0
-
name: Spell-Checking
uses: codespell-project/actions-codespell@master
with:
ignore_words_file: .codespellignore
skip: ./docs/routers/fritzbox-de.md,./mkdocs.yml,./package.json,./package-lock.json,./.markdownlint.json,./requirements.txt
skip: ./docs/routers/fritzbox-de.md,./mkdocs.yml,./package.json,./package-lock.json,./.markdownlint.json,./requirements.txt, ./MathJax-es5/*
2 changes: 1 addition & 1 deletion .github/workflows/editorconfig-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
name: editorconfig-checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.6.0
- uses: actions/checkout@v4.1.0
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker
9 changes: 6 additions & 3 deletions docs/abbreviations.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@

*[API]: Application Programming Interface (a set of subroutine definitions, protocols, and tools for building application software)
*[DNS]: Domain Name Service (decentralized naming system for computers, services, or other resources connected to the Internet)
*[FTL]: Pi-hole's Faster Than Light daemon
*[DnyDNS]: Dynamic DNS record pointing to a frequently changing IP address
*[DHCP]: Dynamic Host Configuration Protocol (network management protocol for configuring Internet Protocol version 4 (IPv4) hosts with IP addresses)
*[DHCPv6]: Dynamic Host Configuration Protocol version 6 (a network protocol for configuring Internet Protocol version 6 (IPv6) hosts with IP addresses)
*[FTL]: Pi-hole's Faster Than Light daemon
*[IPv4]: Internet Protocol version 4 (addresses like 192.168.0.1)
*[IPv6]: Internet Protocol version 6 (addresses like 2001:db8::ff00:42:8329)
*[HTTP]: Hypertext Transfer Protocol (HTTP), an application protocol for distributed, collaborative, and hypermedia information systems
*[HTTPS]: HTTP Secure (HTTPS), an extension of the Hypertext Transfer Protocol (HTTP) for secure communication over a computer network
*[TCP]: Transmission Control Protocol (protocol providing reliable, ordered, and error-checked delivery of data between applications running on hosts communicating via an IP network)
*[UDP]: User Datagram Protocol (a network communications method for sending messages as datagrams)
*[API]: Application Programming Interface (a set of subroutine definitions, protocols, and tools for building application software)
*[PE]: Privacy Extension
*[PID]: Process identifier (a number used to identify a process)
*[HOSTS]: The computer file /etc/hosts is an operating system file that maps hostnames to IP addresses
Expand Down Expand Up @@ -39,4 +40,6 @@
*[TFTP]: Trivial File Transfer Protocol is a simple lockstep File Transfer Protocol which allows a client to get a file from or put a file onto a remote host
*[TTL]: Time-To-Live is a mechanism that limits the lifespan or lifetime of data in a computer or network
*[NAT]: Network address translation
*[DnyDNS]: Dynamic DNS record pointing to a frequently changing IP address
*[UTF-8]: 8-bit Unicode Transformation Format - a character encoding format capable of encoding all known 1,112,064 valid Unicode characters
*[URL]: Uniform Resource Locator, commonly known as "web address"
*[REST]: Representational State Transfer - a software architecture for distributed systems like the World Wide Web (WWW)
190 changes: 190 additions & 0 deletions docs/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
# API Reference

The Pi-hole API is organized around [REST](http://en.wikipedia.org/wiki/Representational_State_Transfer). Our API has predictable resource-oriented URLs, accepts and returns reliable UTF-8 [JavaScript Object Notation (JSON)-encoded](http://www.json.org/) data for all API responses, and uses standard HTTP response codes and verbs.

Most (but not all) endpoints require authentication. API endpoints requiring authentication will fail with code `401 Unauthorized` if no key is supplied.

## JSON response

The form of replies to successful requests strongly depends on the selected endpoint, e.g.,

<!-- markdownlint-disable code-block-style -->
???+ success "Example reply: Success"

Resource: `GET /api/dns/blocking`

Response code: `HTTP/1.1 200 OK`

``` json
{
"blocking": true
}
```

**Reply type**

Object or Array

**Fields**

Depending on the particular endpoint

In contrast, errors have a uniform style to ease their programmatic treatment:

???+ failure "Example reply: Error (unauthorized access)"

Resource: `GET /api/domains`

Response code: `HTTP/1.1 401 Unauthorized`

``` json
{
"error": {
"key": "unauthorized",
"message": "Unauthorized",
"data": null
}
}
```

**Reply type**

Object

**Fields**

??? info "Key describing the error (`"key": string`)"
This string may be used for internal categorization of error types

Examples for `key` are:

- `bad_request`

Possible reason: Payload is invalid for this endpoint

- `database_error`

Possible reason: Failed to read/write to the database

??? info "Human-readable description of the error (`"message": string`)"
This string may be shown to the user for troubleshooting

Examples for `messages` are:

- `Could not read domains from database table`

Possible reason: Database is not readable

- `No request body data`

Possible reason: Payload is empty

- `Invalid request body data`

Possible reason: Payload is not valid JSON

- `No "domain" string in body data`

Possible reason: The required field `domain` is missing in the payload

??? info "Additional data (`"data": [object|null]`)"

The field `data` may contain a JSON object. Its content depends on the error itself and may contain further details such as the interpreted user data. If no additional data is available for this endpoint, `null` is returned instead of an object.

Examples for a failed request with `data` being set is (domain is already on this list):

``` json
{
"error": {
"key": "database_error",
"message": "Could not add to gravity database",
"data": {
"argument": "abc.com",
"enabled": true,
"sql_msg": "UNIQUE constraint failed: domainlist.domain, domainlist.type"
}
}
}
```
<!-- markdownlint-enable code-block-style -->

## HTTP methods used by this API

Each HTTP request consists of a method that indicates the action to be performed on the identified resource. The relevant standards is [RFC 2616](https://tools.ietf.org/html/rfc2616). Though, RFC 2616 has been very clear in differentiating between the methods, complex wordings are a source of confusion for many users.

Pi-hole's API uses the methods like this:

Method | Description
---------|------------
`GET` | **Read** from resource. The resource may not exist.
`POST` | **Create** resources
`PUT` | **Create or Replace** a resource. This method is commonly used to *update* entries.
`DELETE` | **Delete** existing resource

<!-- markdownlint-disable code-block-style -->
??? info "Summarized details from [RFC 2616, Scn. 9](https://tools.ietf.org/html/rfc2616#section-9) (`GET/POST/PUT/DELETE`)"
### `GET`

The `GET` method means retrieve whatever information (in the form of an entity) that is identified by the URI.

As `GET` requests do not change the state of the resource, these are said to be **safe methods**. Additionally, `GET` requests are **idempotent**, which means that making multiple identical requests must produce the same result every time until another method (`POST` or `PUT`) has changed the state of the resource on the server.

For any given HTTP `GET`, if the resource is found on the server, then the API returns HTTP response code `200 (OK)` – along with the response body.

In case a resource is NOT found on server, then the API returns HTTP response code `404 (Not found)`. Similarly, if it is determined that `GET` request itself is not correctly formed then API will return HTTP response code `400 (Bad request)`.

### `POST`

Use `POST` APIs to **create new subordinate records**, e.g., a file is subordinate to a directory containing it or a row is subordinate to a database table. W`POST` methods are used to create a new resource into the collection of resources.

If a resource has been created on the origin server, the response will be `201 (Created)`.
Not all action performed using the `POST` method will result in a resource that can be identified by a URI. In such a case, either `200 (OK)` or `204 (No Content)` is the appropriate response status, depending on whether or not the response includes an entity that describes the result.

Note that `POST` is **neither safe nor idempotent**, and invoking two identical `POST` requests typically results in an error.

### `PUT`

Use `PUT` primarily to **update existing records** (if the resource does not exist, the API will typically create a new record for it). If a new record has been added at the given URI, or an existing resource is modified, either the `200 (OK)` or `204 (No Content)` response codes are sent to indicate successful completion of the request.

### `DELETE`

As the name applies, `DELETE` APIs are used to **delete records** (identified by the Request-URI).

A successful response will be `200 (OK)` if the response includes an entity describing the status, `202 (Accepted)` if the action has not yet been enacted, or `204 (No Content)` if the action has been enacted but the response does not include an entity.

`DELETE` operations are **idempotent**. If you `DELETE` a resource, it’s removed from the collection of resources. Repeatedly calling `DELETE` on that resource will not change the outcome – however, calling `DELETE` on a resource a second time *may* return a 404 (NOT FOUND) since it was already removed.

???+ info "Example"
Let’s list down few URIs and their purpose to get better understanding when to use which method:

Method + URI | Interpretation
---------------------|--------------------
`GET /api/groups` | Get all groups
`POST /api/groups` | Create a new group
`GET /api/groups/abc` | Get the group `abc`
`PUT /api/groups/abc` | Update the group `abc`
`DELETE /api/groups/abc` | Delete group `abc`
<!-- markdownlint-enable code-block-style -->

## Error handling

Pi-hole uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the `2xx` range indicate success. Codes in the `4xx` range indicate an error that failed given the information provided (e.g., a required parameter was omitted, missing authentication, etc.). Codes in the `5xx` range indicate an error with Pi-hole's API (these are rare).

Some `4xx` errors that could be handled programmatically include an error code that briefly explains the error reported:

Code | Description | Interpretation
---- | ----------- | --------------
`200` | `OK` | Everything worked as expected
`201` | `Content Created` | Added a new item
`204` | `No Content` | Removed an item
`400` | `Bad Request` | The request was unacceptable, often due to a missing required parameter
`401` | `Unauthorized` | No session identity provided for endpoint requiring authorization
`402` | `Request Failed` | The parameters were valid but the request failed
`403` | `Forbidden` | The API key doesn't have permissions to perform the request
`404` | `Not Found` | The requested resource doesn't exist
`429` | `Too Many Requests` | Too many requests hit the API too quickly
`500`, `502`, `503`, `504` | `Server Errors` | Something went wrong on Pi-hole's end (These are rare)

We recommend writing code that gracefully handles all possible API exceptions. The Pi-hole API is designed to support this by standardized error messages and human-readable hints for errors.

{!abbreviations.md!}
58 changes: 4 additions & 54 deletions docs/core/pihole-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Pi-hole makes use of many commands, and here we will break down those required t
| Index | Invocation |
-------------- | --------------
[Core Script](#pi-hole-core) | `pihole`
[Web Script](#pi-hole-web) | `pihole -a`

---

Expand All @@ -21,7 +20,7 @@ Pi-hole makes use of many commands, and here we will break down those required t
[Log Flush](#log-flush) | `pihole flush`
[Reconfigure](#reconfigure) | `pihole reconfigure`
[Tail](#tail) | `pihole tail`
[Admin](#admin) | `pihole -a`
[Set password](#password) | `pihole setpassword`
[Chronometer](#chronometer) | `pihole chronometer`
[Gravity](#gravity) | `pihole updateGravity`
[Logging](#logging) | `pihole logging`
Expand Down Expand Up @@ -109,15 +108,6 @@ Example Usage | [`pihole tail`](https://discourse.pi-hole.net/t/the-pihole-com

Since Pi-hole will log DNS queries by default, using this command to watch the log in real-time can be useful for debugging a problematic site, or even just for sheer curiosities sake.

### Admin

| | |
-------------- | --------------
Help Command | `pihole -a --help`
Script Location | [`/opt/pihole/webpage.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/webpage.sh)
Example Usage | `pihole -a -p secretpassword`

Detailed information on this is [found here](#web-script).

### Chronometer

Expand Down Expand Up @@ -261,35 +251,15 @@ Switch Pi-hole subsystems to a different GitHub branch. An admin can specify rep

---

## Pi-hole Web

| Feature | Invocation |
-------------- | --------------
[Web Script](#web-script) | `pihole -a`
[Password](#password) | `pihole -a password`
[Teleport](#teleport) | `pihole -a -t`
[Temperature Unit](#temperature-unit) | `pihole -a celsius`, `pihole -a fahrenheit`, `pihole -a kelvin`
[Interface](#interface) | `pihole -a interface`

### Web Script

| | |
-------------- | --------------
Help Command | `pihole -a --help`
Script Location | [`/opt/pihole/webpage.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/webpage.sh)
Example Usage | `pihole -a -p secretpassword`

Set options for the Web Interface. This script is used to tie in all Web Interface features which are not already covered by the [Core Script](#core-script).

### Password

| | |
-------------- | --------------
Help Command | N/A
Script Location | [`/opt/pihole/webpage.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/webpage.sh)
Example Usage | [`pihole -a -p secretpassword`](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#web-password)
Script Location | [`/usr/local/bin/pihole`](https://github.com/pi-hole/pi-hole/blob/master/pihole)
Example Usage | `pihole setpassword`

Set the Web Interface password. Password can be entered as an option (e.g: `pihole -a -p secretpassword`), or separately as to not display on the screen (e.g: `pihole -a -p`).
Set the Web Interface an API password. Password can be entered as an option (e.g: `pihole setpassword secretpassword`), or separately as to not display on the screen (e.g: `pihole setpassword`).

### Teleport

Expand All @@ -300,23 +270,3 @@ Script Location | N/A
Example Usage | `pihole -a -t`

Create a configuration backup. The backup will be created in the directory from which the command is run. The backup can be imported using the Settings > Teleport page.

### Temperature Unit

| | |
-------------- | --------------
Help Command | N/A
Script Location | [`/opt/pihole/webpage.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/webpage.sh)
Example Usage | [`pihole -a -c`](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#temp-unit)

Set the specified temperature unit as the preferred type. This preference will affect the Web Interface, as well as Chronometer.

### Interface

| | |
-------------- | --------------
Help Command | `pihole -a interface --help`
Script Location | [`/opt/pihole/webpage.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/webpage.sh)
Example Usage | [`pihole -a interface local`](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#interface)

Specify interface listening behavior for `pihole-FTL`. When using `pihole -a interface all`, please ensure you use a firewall to prevent your Pi-hole from becoming an unwitting host to [DNS amplification attackers](https://duckduckgo.com/?q=dns+amplification+attack). You may want to consider running [Wireguard](../guides/vpn/wireguard/overview.md) to grant your mobile devices access to the Pi-hole.
1 change: 1 addition & 0 deletions docs/database/ftl.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ ID | DNSSEC status is
2 | `INSECURE`
3 | `BOGUS`
4 | `ABANDONED`
5 | `TRUNCATED`

### Linking tables

Expand Down
Loading