subspacecommunity / subspace

A fork of the simple WireGuard VPN server GUI community maintained
MIT License
1.8k stars 131 forks source link

Add support for providing multiple dns servers #140

Closed syphernl closed 3 years ago

syphernl commented 4 years ago

to: cc: @subspacecommunity/subspace-maintainers related to: resolves:

Background

Out of the box Subspace only accepts a single nameserver. In order to prevent issues when it's unavailable, it would be nice to configure more than one.

Changes

Testing

Local container was built and spun-up.

Config

SUBSPACE_NAMESERVER=1.1.1.1,8.8.8.8,9.9.9.9

Results in:

subspace    | dnsmasq: using nameserver 1.1.1.1#53
subspace    | dnsmasq: using nameserver 8.8.8.8#53
subspace    | dnsmasq: using nameserver 9.9.9.9#53
sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

agonbar commented 3 years ago

@all-contributors please add @syphernl for code

allcontributors[bot] commented 3 years ago

@agonbar

I've put up a pull request to add @syphernl! :tada: