Trying to figure out what the correct syntax is for using a dns name for the remote peer in my Wireguard Config. This would typically be the value for “Endpoint” and does support using dns instead ip addresses. Here is what I’ve tried.
[edit]
vyos@fw1# set interfaces wireguard wg01 peer to-home address home.example.org
Invalid value
Value validation failed
Set failed
[edit]
vyos@fw1# set interfaces wireguard wg01 peer to-home address 'home.example.org'
Invalid value
Value validation failed
Set failed
[edit]
vyos@fw1:~$ show version
Version: VyOS 1.3-rolling-202005100117
Release Train: equuleus
Built by: [email protected]
Built on: Sun 10 May 2020 01:17 UTC
Build UUID: aa1e03bc-7360-40b3-a58c-cdae46958353
Build Commit ID: 2cb6f390d7bdaa
Architecture: x86_64
Boot via: installed image
System type: guest
Hardware vendor: Dell Inc.
Hardware model: PowerEdge R210 II
Hardware S/N: 8XYWLS1
Hardware UUID: 4c4c4544-0058-5910-8057-b8c04f4c5331
Copyright: VyOS maintainers and contributors