mirror of
https://github.com/pi-hole/docs.git
synced 2024-12-06 19:27:12 +01:00
Specifying DNS Server for client config in automatic script as the first
one in the chosen subnet. Signed-off-by: Shreshth Goyal <abrattic@protonmail.com>
This commit is contained in:
@@ -29,6 +29,7 @@ For each new client, the following steps must be taken. For the sake of simplici
|
||||
|
||||
echo "[Interface]" > "${name}.conf"
|
||||
echo "Address = $ipv4/32, $ipv6/128" >> "${name}.conf"
|
||||
echo "DNS = ${serv4}, ${serv6}" >> "${name}.conf" #Specifying DNS Server
|
||||
echo "PrivateKey = $(cat "${name}.key")" >> "${name}.conf"
|
||||
echo "" >> "${name}.conf"
|
||||
echo "[Peer]" >> "${name}.conf"
|
||||
|
||||
Reference in New Issue
Block a user