Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Allow to set custom dns servers #889

Open
GoudronViande24 opened this issue Jul 29, 2021 · 3 comments · May be fixed by #1104
Open

[Enhancement] Allow to set custom dns servers #889

GoudronViande24 opened this issue Jul 29, 2021 · 3 comments · May be fixed by #1104

Comments

@GoudronViande24
Copy link

I have a pihole on my network and would like to be able to use it for the DNS server. It could also be used by others to use custom servers

@clientenq
Copy link

If you use this script on the device running pihole service, you can select the current dns option when it asks which dns you like to use for your openvpn setup. Your device(s) connecting via the generated openvpn configuration will then use the pihole dns service (if pihole is configured correctly).

This script for the openvpn service does not affect the configuration of your pihole service. Please contact the pihole community if you have issues how to configure pihole.

@GoudronViande24
Copy link
Author

I was installing this on another device than the pi-hole and that doesn't have the pi-hole DNS. I have to manually edit them after in the openvpn config file. This issue is more a possible enhancement than an actual issue.

Many of the other openvpn scripts have this option so that's why

(sorry for the bad english)

@GoudronViande24 GoudronViande24 changed the title Allow to set custom dns servers [Enhancement] Allow to set custom dns servers Aug 9, 2021
@CagdasOZGUR
Copy link

Can a dns server be selected each time a new client is added?
Just like with WireGuard you did. Pleaseee.

Retro64XYZ added a commit to Retro64XYZ/openvpn-install that referenced this issue May 24, 2024
@Retro64XYZ Retro64XYZ linked a pull request May 24, 2024 that will close this issue
nathansharief added a commit to nathansharief/openvpn-install that referenced this issue Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants