Add multiple DNS in OpenVPN to push them to the clients

Hello,

First, I would like to thank you for the great job you’ve done recently!

A few days ago, I upgraded one of the production IPFire servers.. CU196 => CU197 and everything went smoothly (with much manual customization, of course), except for one thing, the “Additional configuration”, which is now missing in CU197.

On CU196 (and backwards), there was an “Additional configuration” checkbox under the “Miscellaneous options” of the “Advanced server options” for OpenVPN, which allowed us to add additional custom configurations in /var/ipfire/ovpn/scripts/server.conf.local file (like, adding multiple DNS Servers) to be configured/pushed to the OpenVPN clients.

In CU197, the file (server.conf.local) is still available after an upgrade (not sure for fresh installation), but the “Additional configuration” checkbox has gone from the GUI !! The clients are getting only one DNS server IP address, which is configured in the “DNS” field of “DHCP Settings” under the new UI of “Advanced settings”.

Was this an intentional change or a lost/missed thing that happened during the transition of the OpenVPN?

If taking out the “Additional configuration” checkbox was an intentional change, would you please provide me with a way to push multiple DNS IP addresses to the OpenVPN clients as they connect?

The current “DNS” field under the “Advanced settings” won’t let me add more than one DNS address. I’ve tried this in many forms (comma-separated, dash, and many others).

Thanks!

1 Like

There wasn’t any intent to remove that element. Likely the code for dealing with it is still there but the checkbox was lost when a merge conflict was resolved.

Unfortunately it seems that no one using that capability carried out an evaluation during the Testing Phase of CU197.

The best thing is if you could raise this as a bug report.

https://www.ipfire.org/docs/devel/bugzilla

Your IPFire People email address and password will act as your login credentials for the IPFire Bugzilla.

I understand.. Those are advanced configurations that few people can or do actually.

I traced some links in the files showing that this function is still enabled after the upgrade, but the configurations are not pushed! The generated “server.conf” is missing those directives to be pushed further.

Here is the Bug link anyway. I hope it will be fixed soon!

Thank you!