mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-07-21 19:34:52 +02:00
DNS diagnostic tool
This commit is contained in:
parent
99ca031645
commit
070c99b433
8 changed files with 50 additions and 4 deletions
|
@ -46,6 +46,9 @@ def view_console(request):
|
|||
elif requested_command == 'traceroute':
|
||||
page_title = 'Console: traceroute ' + command_target
|
||||
bash_command = ['bash', '-c', 'traceroute ' + command_target]
|
||||
elif requested_command == 'testdns':
|
||||
page_title = 'Console: DNS container test script'
|
||||
bash_command = ['/app/dns/scripts/test_dns_service.sh']
|
||||
else:
|
||||
bash_command = None
|
||||
command_output = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue