1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

pihole: update page (#15863)

Co-authored-by: Darío Hereñú <magallania@gmail.com>
This commit is contained in:
Lena 2025-03-07 21:12:09 +00:00 committed by GitHub
parent 81a2655b72
commit d00edf2aec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 41 deletions

View file

@ -1,36 +1,28 @@
# pihole
> Interfaz de terminal para el servidor DNS de bloqueo de anuncios Pi-hole.
> Más información: <https://docs.pi-hole.net/core/pihole-command/>.
> Más información: <https://docs.pi-hole.net/main/pihole-command>.
- Verifica el estado del daemon de Pi-hole:
- Verifica el estado del programa residente de Pi-hole:
`pihole status`
- Actualiza Pi-hole y Gravity:
`pihole -up`
`pihole {{[-up|updatePihole]}}`
- Monitorea el estado detallado del sistema:
`pihole chronometer`
- Inicia o detiene el daemon:
- Inicia o detiene el programa residente:
`pihole {{enable|disable}}`
- Reinicia el daemon (no el servidor en sí):
`pihole restartdns`
- Incluye en lista blanca o negra un dominio:
`pihole {{whitelist|blacklist}} {{ejemplo.com}}`
`pihole {{allowlist|denylist}} {{example.com}}`
- Busca en las listas un dominio:
`pihole query {{ejemplo.com}}`
`pihole {{[-q|query]}} {{example.com}}`
- Abre un registro de conexiones en tiempo real:
`pihole tail`
`pihole {{[-t|tail]}}`

View file

@ -1,7 +1,7 @@
# pihole
> Pi-hole 광고 차단 DNS 서버의 터미널 인터페이스.
> 더 많은 정보: <https://docs.pi-hole.net/core/pihole-command/>.
> 더 많은 정보: <https://docs.pi-hole.net/main/pihole-command>.
- Pi-hole 데몬의 상태 확인:
@ -9,28 +9,20 @@
- Pi-hole 및 Gravity 업데이트:
`pihole -up`
- 시스템 상태 자세히 모니터링:
`pihole chronometer`
`pihole {{[-up|updatePihole]}}`
- 데몬 시작 또는 중지:
`pihole {{enable|disable}}`
- 데몬 재시작 (서버 자체는 아님):
`pihole restartdns`
- 도메인 화이트리스트 또는 블랙리스트에 추가:
`pihole {{whitelist|blacklist}} {{example.com}}`
`pihole {{allowlist|denylist}} {{example.com}}`
- 도메인을 목록에서 검색:
`pihole query {{example.com}}`
`pihole {{[-q|query]}} {{example.com}}`
- 연결의 실시간 로그 열기:
`pihole tail`
`pihole {{[-t|tail]}}`

View file

@ -1,7 +1,7 @@
# pihole
> Terminal interface for the Pi-hole ad-blocking DNS server.
> More information: <https://docs.pi-hole.net/core/pihole-command/>.
> Manage the Pi-hole ad-blocking DNS server.
> More information: <https://docs.pi-hole.net/main/pihole-command>.
- Check the Pi-hole daemon's status:
@ -9,28 +9,28 @@
- Update Pi-hole and Gravity:
`pihole -up`
- Monitor detailed system status:
`pihole chronometer`
`pihole {{[-up|updatePihole]}}`
- Start or stop the daemon:
`pihole {{enable|disable}}`
- Restart the daemon (not the server itself):
- Update the lists and flush the cache without restarting the DNS server:
`pihole restartdns`
`pihole reloaddns`
- Whitelist or blacklist a domain:
- Update the list of ad-serving domains:
`pihole {{whitelist|blacklist}} {{example.com}}`
`pihole {{[-g|updateGravity]}}`
- Allow or deny the specified domain:
`pihole {{allowlist|denylist}} {{example.com}}`
- Search the lists for a domain:
`pihole query {{example.com}}`
`pihole {{[-q|query]}} {{example.com}}`
- Open a real-time log of connections:
`pihole tail`
`pihole {{[-t|tail]}}`