[GH-ISSUE #241] VPN DNS name #223

Closed
opened 2026-03-02 07:44:52 +03:00 by kerem · 1 comment
Owner

Originally created by @niksy on GitHub (Jun 6, 2021).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/241

What is the purpose of VPN_DNS_NAME environment variable?

If I set it to my FQDN, I still need to update A DNS records either manually (e.g. I’m using static IP address) or automatically with DNS updater service (if I’m using dynamic IP address). Is this something container related?

Originally created by @niksy on GitHub (Jun 6, 2021). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/241 What is the purpose of `VPN_DNS_NAME` environment variable? If I set it to my FQDN, I still need to update `A` DNS records either manually (e.g. I’m using static IP address) or automatically with DNS updater service (if I’m using dynamic IP address). Is this something container related?
kerem closed this issue 2026-03-02 07:44:52 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Jun 6, 2021):

@niksy Hello! You are correct that DNS records will need to be updated after setting VPN_DNS_NAME.

The primary purpose of this variable is for generating the server certificate inside the container for IKEv2. When connecting using IKEv2 mode, the VPN server must have a certificate that contains the FQDN specified in the VPN server address field of the VPN client, otherwise the client may refuse to connect.

<!-- gh-comment-id:855400289 --> @hwdsl2 commented on GitHub (Jun 6, 2021): @niksy Hello! You are correct that DNS records will need to be updated after setting VPN_DNS_NAME. The primary purpose of this variable is for generating the server certificate inside the container for IKEv2. When connecting using IKEv2 mode, the VPN server must have a certificate that contains the FQDN specified in the VPN server address field of the VPN client, otherwise the client may refuse to connect.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#223
No description provided.