From adf3b9155777a1aa124e8763a468a47dc5800592 Mon Sep 17 00:00:00 2001
From: hexa- <mweinelt@users.noreply.github.com>
Date: Thu, 23 Mar 2017 17:35:50 +0100
Subject: [PATCH] docs: user/site.rst: add peer with ip addresses and mention
 resilience benefit (#1073)

---
 docs/user/site.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/user/site.rst b/docs/user/site.rst
index ed2fd7aea..d5d0237a9 100644
--- a/docs/user/site.rst
+++ b/docs/user/site.rst
@@ -229,6 +229,16 @@ mesh_vpn
                   -- You can also omit the ipv4 to allow both connection via ipv4 and ipv6
                   remotes = {'"vpn2.alpha-centauri.freifunk.net" port 10000'},
                 },
+                peer3 = {
+                  key = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
+                  -- In addition to domains you can also add ip addresses, which provides
+                  -- resilience in case of dns outages
+                  remotes = {
+                    '"vpn3.alpha-centauri.freifunk.net" port 10000',
+                    '[2001:db8::3:1]:10000',
+                    '192.0.2.3:10000',
+                  },
+                },
               },
               -- Optional: nested peer groups
               -- groups = {
-- 
GitLab