https://github.com/blackvoidx/dns-changer
A Go script to select and apply a DNS server in Linux.
https://github.com/blackvoidx/dns-changer
Last synced: 4 months ago
JSON representation
A Go script to select and apply a DNS server in Linux.
- Host: GitHub
- URL: https://github.com/blackvoidx/dns-changer
- Owner: blackvoidx
- License: gpl-3.0
- Created: 2024-09-28T18:38:50.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-12T06:31:30.000Z (about 1 year ago)
- Last Synced: 2025-05-13T09:05:46.168Z (about 1 year ago)
- Language: Go
- Size: 67.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A Go script to select and apply a DNS server in Linux.
## Dns-Support

----

## Installation
```bash
go install github.com/blackvoidx/dns-changer@latest
```
## Usage
```bash
dns-changer
```
> [!TIP]
> You can add custom or other DNS entries in the `config.json` file.
>
> After the first use, `config.json` will be downloaded and saved in `.config/dns-changer` in home directory.
>
> The script first verifies if the DNS is managed by NetworkManager. If so, it disables NetworkManager's automatic rewriting of the `resolv.conf` file at the start of execution.
## Contributing
Contributions to Fallparams are welcome!