Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Str For NameStore NameLoad body AugAssignAdd NameStore Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Str AugAssignAdd NameStore Call NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad keyword Str AugAssignAdd NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword AttributeLoad NameLoad attr attr Str Str Str Str Str keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad attr keyword AttributeLoad NameLoad attr attr Str Str Str Str Str keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword AttributeLoad NameLoad attr attr Str Str keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword AttributeLoad NameLoad attr attr Str Str keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword AttributeLoad NameLoad attr attr Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str AugAssignAdd NameStore Call NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad keyword NameLoad keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad attr keyword AttributeLoad NameLoad attr attr Str Str Str Str Str keyword Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr keyword AttributeLoad NameLoad attr attr Str Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore IfExp AttributeLoad NameLoad attr Str Str If BoolOpAnd Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad UnaryOpNot Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr body Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad keyword Str Expr Call NameLoad Str NameLoad Return Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore BinOpBitOr NameLoad Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore BinOpBitOr NameLoad Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad TryExcept body If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Str If NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad Return NameLoad decorator_list
N/A django.db.models Q mozdns.address_record.models AddressRecord mozdns.cname.models CNAME mozdns.mx.models MX mozdns.nameserver.models Nameserver mozdns.ptr.models PTR mozdns.srv.models SRV mozdns.txt.models TXT mozdns.sshfp.models SSHFP mozdns.view.models View core.interface.static_intr.models StaticInterface gettext gettext _ core.utils fail_mail N/A DEFAULT_TTL 3600 render_soa_only N/A N/A soa root_domain N/A N/A N/A BUILD_STR N/A _ N/A N/A {root_domain}.  {ttl}  IN   SOA   {primary}. {contact}. (
		{{serial}}     ; Serial
		{refresh}     ; Refresh
		{retry}     ; Retry
		{expire}     ; Expire
		{minimum}     ; Minimum
)

 format ttl N/A soa ttl root_domain N/A root_domain name primary N/A soa primary contact N/A soa contact refresh N/A str N/A soa refresh retry N/A str N/A soa retry expire N/A str N/A soa expire minimum N/A soa minimum N/A BUILD_STR N/A render_rdtype N/A N/A rdtype_set N/A kwargs N/A N/A BUILD_STR N/A obj rdtype_set N/A N/A BUILD_STR N/A _ N/A N/A N/A obj bind_render_record kwargs N/A BUILD_STR N/A _render_forward_zone N/A N/A default_ttl nameserver_set mx_set addressrecord_set interface_set cname_set srv_set txt_set sshfp_set N/A N/A N/A BUILD_STR N/A BUILD_STR N/A render_rdtype nameserver_set N/A BUILD_STR N/A render_rdtype mx_set N/A BUILD_STR N/A render_rdtype txt_set N/A BUILD_STR N/A render_rdtype sshfp_set N/A BUILD_STR N/A render_rdtype srv_set N/A BUILD_STR N/A render_rdtype cname_set N/A BUILD_STR N/A render_rdtype interface_set rdtype A N/A BUILD_STR N/A render_rdtype addressrecord_set N/A BUILD_STR N/A render_forward_zone N/A N/A view mega_filter N/A N/A N/A data N/A _render_forward_zone default_ttl DEFAULT_TTL nameserver_set N/A N/A N/A N/A N/A N/A N/A Nameserver objects filter mega_filter filter views__name N/A view name order_by server mx_set N/A N/A N/A N/A N/A N/A N/A MX objects filter mega_filter filter views__name N/A view name order_by server addressrecord_set N/A N/A N/A N/A N/A N/A N/A AddressRecord objects filter mega_filter filter views__name N/A view name order_by pk ip_type fqdn ip_upper ip_lower interface_set N/A N/A N/A N/A N/A N/A N/A StaticInterface objects filter mega_filter dns_enabled True filter views__name N/A view name order_by pk ip_type fqdn ip_upper ip_lower cname_set N/A N/A N/A N/A N/A N/A N/A CNAME objects filter mega_filter filter views__name N/A view name order_by fqdn srv_set N/A N/A N/A N/A N/A N/A N/A SRV objects filter mega_filter filter views__name N/A view name order_by pk fqdn txt_set N/A N/A N/A N/A N/A N/A N/A TXT objects filter mega_filter filter views__name N/A view name order_by pk fqdn sshfp_set N/A N/A N/A N/A N/A N/A N/A SSHFP objects filter mega_filter filter views__name N/A view name order_by pk fqdn N/A data N/A _render_reverse_zone N/A N/A default_ttl nameserver_set interface_set ptr_set N/A N/A N/A BUILD_STR N/A BUILD_STR N/A render_rdtype nameserver_set N/A BUILD_STR N/A render_rdtype ptr_set N/A BUILD_STR N/A render_rdtype interface_set reverse True rdtype PTR N/A BUILD_STR N/A render_reverse_zone N/A N/A view domain_mega_filter rdomain_mega_filter N/A N/A N/A data N/A _render_reverse_zone default_ttl DEFAULT_TTL nameserver_set N/A N/A N/A N/A N/A N/A N/A Nameserver objects filter domain_mega_filter filter views__name N/A view name order_by server interface_set N/A N/A N/A N/A N/A N/A N/A StaticInterface objects filter rdomain_mega_filter dns_enabled True filter views__name N/A view name order_by pk ip_type label ip_upper ip_lower ptr_set N/A N/A N/A N/A N/A N/A N/A PTR objects filter rdomain_mega_filter filter views__name N/A view name order_by pk ip_upper ip_lower N/A data N/A build_zone_data N/A N/A view root_domain soa logf N/A None N/A N/A 
    This function does the heavy lifting of building a zone. It coordinates
    getting all of the data out of the db into BIND format.

    :param soa: The SOA corresponding to the zone being built.
    :type soa: SOA

    :param root_domain: The root domain of this zone.
    :type root_domain: str

    :returns public_file_path: The path to the zone file in the STAGEING dir
    :type public_file_path: str
    :returns public_data: The data that should be written to public_file_path
    :type public_data: str

    :returns view_zone_file: The path to the zone file in the STAGEING dir
    :type view_zone_file: str
    :param view_data: The data that should be written to view_zone_file
    :type view_data: str
     N/A ztype N/A N/A root_domain is_reverse reverse forward N/A N/A N/A N/A soa has_record_set view view exclude_ns True N/A N/A N/A N/A N/A N/A root_domain nameserver_set filter views view exists N/A N/A msg N/A N/A The {0} zone has a records in the {1} view, but there are no nameservers in that view. A zone file for {1} won't be built. Use the search string 'zone=:{0} view=:{1}' to find the troublesome records format root_domain N/A view name N/A N/A fail_mail msg subject Shitty edge case detected. N/A N/A logf LOG_WARNING msg N/A N/A domains N/A N/A N/A N/A N/A soa domain_set all order_by name N/A domain_mega_filter N/A Q domain root_domain N/A domain domains N/A N/A domain_mega_filter N/A domain_mega_filter N/A Q domain domain N/A rdomain_mega_filter N/A Q reverse_domain root_domain N/A reverse_domain domains N/A N/A rdomain_mega_filter N/A rdomain_mega_filter N/A Q reverse_domain reverse_domain N/A soa_data N/A render_soa_only soa soa root_domain root_domain N/A N/A N/A N/A ztype forward N/A N/A view_data N/A render_forward_zone view domain_mega_filter N/A N/A view_data N/A render_reverse_zone view domain_mega_filter rdomain_mega_filter N/A N/A N/A N/A View DoesNotExist N/A N/A view_data N/A view_data N/A N/A view_data N/A soa_data view_data N/A view_data N/A