{"id":22880630,"url":"https://github.com/elliotsecops/dns_control","last_synced_at":"2025-10-05T16:32:19.170Z","repository":{"id":216514454,"uuid":"741536864","full_name":"elliotsecops/DNS_Control","owner":"elliotsecops","description":"Un Bash script que permite redirigir la configuración DNS en máquinas Linux a servidores privados. // A Bash script to redirect DNS settings on Linux machines to private servers.","archived":false,"fork":false,"pushed_at":"2024-04-28T21:51:32.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T08:51:15.400Z","etag":null,"topics":["bash-script","dns-server","linux-administration","privacy-tools","security-automation","sysadmin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elliotsecops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-10T15:48:31.000Z","updated_at":"2024-09-30T15:35:18.000Z","dependencies_parsed_at":"2024-04-28T22:48:19.120Z","dependency_job_id":null,"html_url":"https://github.com/elliotsecops/DNS_Control","commit_stats":null,"previous_names":["elliott-fibonacci/dns_control"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotsecops%2FDNS_Control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotsecops%2FDNS_Control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotsecops%2FDNS_Control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotsecops%2FDNS_Control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elliotsecops","download_url":"https://codeload.github.com/elliotsecops/DNS_Control/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248956153,"owners_count":21189306,"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":["bash-script","dns-server","linux-administration","privacy-tools","security-automation","sysadmin"],"created_at":"2024-12-13T17:20:13.524Z","updated_at":"2025-10-05T16:32:19.123Z","avatar_url":"https://github.com/elliotsecops.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Script de control de DNS\n\n## Resumen\n\nEste repositorio contiene un script bash diseñado para actualizar la configuración de DNS en sistemas Linux. El propósito principal de este script es mejorar la privacidad y seguridad permitiendo a los usuarios cambiar fácilmente entre diferentes servidores DNS, como `9.9.9.9` (Quad9), conocido por su enfoque en privacidad.\n\n## Características\n\n- **Cambio sencillo de DNS**: Permite a los usuarios modificar rápidamente el servidor DNS para mejorar la privacidad y seguridad.\n- **Copia de seguridad de la configuración original**: Antes de realizar cambios, el script crea una copia de seguridad del archivo `/etc/resolv.conf` original. Esto asegura que los usuarios puedan revertir fácilmente a la configuración DNS original si es necesario.  \n- **Enfoque en privacidad y seguridad**: Al usar servidores DNS enfocados en privacidad como Quad9, este script ayuda a proteger las actividades en línea de los usuarios de potenciales vigilancias y recolección de datos.\n\n## Uso\n\n1. **Clone el repositorio**: Primero, clona este repositorio en tu máquina local.\n   ```bash\n   git clone https://github.com/elliotsecops/DNS_Control.git\n   ```\n\n2. **Navega hasta el directorio del script**: Cambia al directorio que contiene el script.\n   ```bash\n   cd DNS_Control\n   ```\n\n3. **Hacer ejecutable el script**: Asegúrate de que el script es ejecutable.\n   ```bash\n   chmod +x dns_control.sh\n   ```\n\n4. **Ejecutar el Script**: Ejecuta el script con `sudo` para aplicar los cambios.\n   ```bash\n   sudo ./dns_control.sh\n   ```\n   Esto actualizará `/etc/resolv.conf` para utilizar el servidor DNS especificado en el script (`9.9.9.9` por defecto).\n\nSi deseas usar un servidor DNS diferente, puedes modificar la variable `dns_server` en el script.\n\n## Restaurar la configuración DNS original\n\nSi necesitas revertir a la configuración DNS original, puedes restaurar la copia de seguridad creada por el script.\n\n```bash\nsudo cp /etc/resolv.conf.backup /etc/resolv.conf\n```\n## Colaborar\n\n¡Se aceptan colaboraciones! Si tienes sugerencias de mejora o encuentras algún problema, abre un issue o envía un pull request.\n\n---\n\n## EN\n\n# DNS Control Script\n\n## Overview\n\nThis repository contains a bash script designed to update the DNS settings on a Linux system. The primary purpose of this script is to enhance privacy and security by allowing users to easily switch between different DNS servers, such as `9.9.9.9` (Quad9), which is known for its privacy-focused approach.\n\n## Features\n\n- **Easy DNS Switching**: Allows users to quickly change their DNS server to enhance privacy and security.\n- **Backup of Original Configuration**: Before making any changes, the script creates a backup of the original `/etc/resolv.conf` file. This ensures that users can easily revert to their original DNS settings if needed.\n- **Privacy and Security Focus**: By using privacy-focused DNS servers like Quad9, this script helps protect users' online activities from potential surveillance and data collection.\n\n## Usage\n\n1. **Clone the Repository**: First, clone this repository to your local machine.\n   ```bash\n   git clone https://github.com/elliotsecops/DNS_Control.git\n   ```\n\n2. **Navigate to the Script Directory**: Change to the directory containing the script.\n   ```bash\n   cd DNS_Control\n   ```\n\n3. **Make the Script Executable**: Ensure the script is executable.\n   ```bash\n   chmod +x dns_control.sh\n   ```\n\n4. **Run the Script**: Execute the script with `sudo` to apply the changes.\n   ```bash\n   sudo ./dns_control.sh\n   ```\n   This will update `/etc/resolv.conf` to use the DNS server specified in the script (`9.9.9.9` by default).\n\n## Customization\n\nIf you wish to use a different DNS server, you can modify the `dns_server` variable in the script.\n\n## Restoring Original DNS Settings\n\nIf you need to revert to the original DNS settings, you can restore the backup created by the script.\n\n```bash\nsudo cp /etc/resolv.conf.backup /etc/resolv.conf\n```\n\n## Contributing\n\nContributions are welcome! If you have suggestions for improvements or encounter any issues, please open an issue or submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotsecops%2Fdns_control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felliotsecops%2Fdns_control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotsecops%2Fdns_control/lists"}