('name',models.CharField(help_text='Name of the zone where dynamic hosts may get added',unique=True,max_length=255)),
('nameserver_ip',models.GenericIPAddressField(help_text='IP where the dynamic DNS updates for this zone will be sent to')),
('nameserver_update_secret',models.CharField(default=b'',help_text='Shared secret that allows updating this zone (base64 encoded)',max_length=88)),
('nameserver_update_algorithm',models.CharField(default=b'HMAC_SHA512',help_text='HMAC_SHA512 is fine for bind9 (you can change this later, if needed)',max_length=16,choices=[(b'HMAC_SHA384',b'HMAC_SHA384'),(b'HMAC_SHA256',b'HMAC_SHA256'),(b'HMAC_SHA224',b'HMAC_SHA224'),(b'HMAC_SHA1',b'HMAC_SHA1'),(b'HMAC_MD5',b'HMAC_MD5'),(b'HMAC_SHA512',b'HMAC_SHA512')])),
('public',models.BooleanField(default=False,help_text="Check to allow any user to add dynamic hosts to this zone - if not checked, we'll only allow the owner to add hosts")),
('available',models.BooleanField(default=True,help_text="Check if nameserver is available/reachable - if not checked, we'll pause querying/updating this nameserver for a while")),
('comment',models.CharField(default=b'',max_length=255,null=True,help_text='Some arbitrary comment about your domain. If your domain is public, the comment will be also publicly shown.',blank=True)),
('name',models.CharField(help_text='The name of your host.',max_length=255,validators=[django.core.validators.RegexValidator(regex=b'^(([a-z0-9][a-z0-9\\-]*[a-z0-9])|[a-z0-9])$',message=b'Invalid host name: only "a-z", "0-9" and "-" is allowed'),nsupdate.main.models.host_blacklist_validator])),
('comment',models.CharField(default=b'',max_length=255,null=True,help_text='Some arbitrary comment about your host, e.g who / what / where this host is',blank=True)),
('available',models.BooleanField(default=True,help_text="Check if host is available/in use - if not checked, we won't accept updates for this host")),
('netmask_ipv4',models.PositiveSmallIntegerField(default=32,help_text='Netmask/Prefix length for IPv4.')),
('netmask_ipv6',models.PositiveSmallIntegerField(default=64,help_text='Netmask/Prefix length for IPv6.')),
('abuse',models.BooleanField(default=False,help_text='Checked if we think you abuse the service - you may uncheck this AFTER fixing all issues on your side')),
('abuse_blocked',models.BooleanField(default=False,help_text='Checked to block a host for abuse.')),
('name',models.CharField(help_text='The name of a host in same network as your main host.',max_length=255,validators=[django.core.validators.RegexValidator(regex=b'^(([a-z0-9][a-z0-9\\-]*[a-z0-9])|[a-z0-9])$',message=b'Invalid host name: only "a-z", "0-9" and "-" is allowed')])),
('comment',models.CharField(default=b'',max_length=255,null=True,help_text='Some arbitrary comment about your host, e.g who / what / where this host is',blank=True)),
('interface_id_ipv4',models.CharField(default=b'',help_text='The IPv4 interface ID of this host. Use IPv4 notation.',max_length=16)),
('interface_id_ipv6',models.CharField(default=b'',help_text='The IPv6 interface ID of this host. Use IPv6 notation.',max_length=22)),
('available',models.BooleanField(default=True,help_text="Check if host is available/in use - if not checked, we won't accept updates for this host")),