fix wireguard client config dns server
This commit is contained in:
parent
6cceae2458
commit
2300874637
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ f'''[Interface]
|
|||
PrivateKey = {repo.libs.wireguard.privkey(data['peer_id'])}
|
||||
ListenPort = 51820
|
||||
Address = {data['peer_ip']}
|
||||
DNS = 8.8.8.8
|
||||
DNS = 172.30.0.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = {repo.libs.wireguard.pubkey(server_node.metadata.get('id'))}
|
||||
|
|
|
@ -4,7 +4,7 @@ def column_width(column, table):
|
|||
%>\
|
||||
$TTL 600
|
||||
@ IN SOA ${hostname}. admin.${hostname}. (
|
||||
2021070821 ;Serial
|
||||
2021111709 ;Serial
|
||||
3600 ;Refresh
|
||||
200 ;Retry
|
||||
1209600 ;Expire
|
||||
|
|
Loading…
Reference in a new issue