An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

A Go script to select and apply a DNS server in Linux.



Install
Usage
DNS-Support
Contributing

## Dns-Support

![Dns-changer](https://github.com/user-attachments/assets/af03f351-0922-4fd6-98c2-265781c60c5b)

----

![2024-12-07_15-38](https://github.com/user-attachments/assets/bbb54355-f782-4dc1-9f2e-4eedee699471)

## 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!