mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
bind: Added DNS servers setting
This commit is contained in:
1 parent
d986d58250
commit
0312c41415
4 files changed
+56
-6
No files matched your search
@@ -24,6 +24,8 @@ from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from plinth.forms import ServiceForm
|
||||
|
||||
from . import get_default
|
||||
|
||||
|
||||
class BindForm(ServiceForm):
|
||||
"""BIND configuration form"""
|
||||
@@ -36,3 +38,8 @@ class BindForm(ServiceForm):
|
||||
label=_('Enable DNSSEC'),
|
||||
required=False,
|
||||
help_text=_('Enable Domain Name System Security Extensions'))
|
||||
|
||||
dns_set = forms.CharField(
|
||||
label=_('Set DNS server'),
|
||||
required=False,
|
||||
help_text=_('Set new DNS server'))
|
||||
Reference in new issue
Block a user