Module ImportFrom alias ImportFrom alias Import alias Import alias FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr keyword NameLoad Assign NameStore Str handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr body Return NameLoad Assign NameStore NameLoad If CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num body Return NameLoad TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Str NameLoad NameLoad If NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Str NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Str NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Str NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Str NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad If NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str body Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Call AttributeLoad Str attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Call AttributeLoad Str attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Call AttributeLoad Str attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Call AttributeLoad Str attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Call AttributeLoad Str attr NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitOr Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str BinOpBitOr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Call AttributeLoad Str attr NameLoad NameLoad Call NameLoad Dict Call AttributeLoad Str attr NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitOr Call NameLoad Dict Call AttributeLoad Str attr NameLoad NameLoad Call NameLoad Dict Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad decorator_list
N/A django.db.models Q django.core.exceptions ObjectDoesNotExist N/A mozdns N/A core fqdn_search N/A N/A fqdn N/A args kwargs N/A N/A 
    Find any records that have a name that is the provided fqdn. This
    name would show up on the left hand side of a zone file and in a PTR's
    case the right side.

    :param fqdn: The name to search for.
    :type   fqdn: str
    :return: (type, Querysets) tuples containing all the objects that matched
        during
    the search are returned.
     N/A N/A _build_queries fqdn args kwargs N/A smart_fqdn_exists N/A N/A fqdn N/A args kwargs N/A N/A 
    Searching for a fqdn by actually looking at a fqdn is very inefficient.
    Instead we should:
        1) Look for a domain with the name of fqdn.
        2) Look for a label = fqdn.split('.')[0]
            and domain = fqdn.split('.')[1:]
     N/A N/A N/A search_domain N/A N/A N/A N/A N/A N/A mozdns domain models Domain objects get name fqdn N/A label N/A N/A N/A ObjectDoesNotExist N/A N/A search_domain None N/A search_domain N/A N/A N/A type_ qset N/A _build_label_domain_queries label search_domain kwargs N/A N/A N/A N/A qset exists N/A N/A qset N/A search_domain None N/A N/A N/A len N/A N/A fqdn split . 1 N/A N/A None N/A N/A N/A label N/A N/A N/A fqdn split . N/A 0 N/A domain_name N/A N/A . join N/A N/A N/A fqdn split . N/A 1 N/A search_domain N/A N/A N/A N/A N/A N/A mozdns domain models Domain objects get name domain_name N/A N/A N/A ObjectDoesNotExist N/A N/A search_domain None N/A search_domain N/A N/A N/A type_ qset N/A _build_label_domain_queries label search_domain kwargs N/A N/A N/A N/A qset exists N/A N/A qset N/A _build_label_domain_queries N/A N/A label domain mx sr tx cn ar sreg ns ss N/A True True True True True True True True N/A N/A qsets N/A N/A mx N/A N/A N/A N/A qsets append N/A MX N/A N/A N/A N/A N/A N/A mozdns mx models MX objects filter N/A label domain label domain N/A ns N/A N/A N/A label N/A N/A N/A N/A qsets append N/A NS N/A N/A N/A N/A N/A N/A mozdns nameserver models Nameserver objects filter N/A domain domain N/A sr N/A N/A N/A N/A qsets append N/A SRV N/A N/A N/A N/A N/A N/A mozdns srv models SRV objects filter N/A label domain label domain N/A tx N/A N/A N/A N/A qsets append N/A TXT N/A N/A N/A N/A N/A N/A mozdns txt models TXT objects filter N/A label domain label domain N/A ss N/A N/A N/A N/A qsets append N/A SSHFP N/A N/A N/A N/A N/A N/A mozdns sshfp models SSHFP objects filter N/A label domain label domain N/A cn N/A N/A N/A N/A qsets append N/A CNAME N/A N/A N/A N/A N/A N/A mozdns cname models CNAME objects filter N/A label domain label domain N/A ar N/A N/A AddressRecord N/A N/A N/A mozdns address_record models AddressRecord N/A ars N/A N/A N/A AddressRecord objects filter N/A label domain label domain N/A N/A N/A qsets append N/A AddressRecord ars N/A sreg N/A N/A StaticReg N/A N/A N/A N/A core registration static models StaticReg N/A sregs N/A N/A N/A StaticReg objects filter N/A label domain label domain N/A N/A N/A qsets append N/A AddressRecord sregs N/A qsets N/A fqdn_exists N/A N/A fqdn N/A kwargs N/A N/A Return a Queryset or False depending on whether an object exists
    with the fqdn.

    :param fqdn: The name to search for.
    :type   fqdn: str
    :return: True or False
     N/A N/A type_ qset N/A _build_queries fqdn kwargs N/A N/A N/A N/A qset exists N/A N/A qset N/A False N/A _build_queries N/A N/A fqdn dn mx sr tx cn ar pt ip sreg search_operator N/A True True True True True True True False True N/A N/A qsets N/A N/A dn N/A N/A N/A N/A qsets append N/A Domain N/A N/A N/A N/A N/A N/A mozdns domain models Domain objects filter N/A N/A N/A name{0} format search_operator fqdn N/A mx N/A N/A N/A N/A qsets append N/A MX N/A N/A N/A N/A N/A N/A mozdns mx models MX objects filter N/A N/A N/A fqdn{0} format search_operator fqdn N/A sr N/A N/A N/A N/A qsets append N/A SRV N/A N/A N/A N/A N/A N/A mozdns srv models SRV objects filter N/A N/A N/A fqdn{0} format search_operator fqdn N/A tx N/A N/A N/A N/A qsets append N/A TXT N/A N/A N/A N/A N/A N/A mozdns txt models TXT objects filter N/A N/A N/A fqdn{0} format search_operator fqdn N/A cn N/A N/A N/A N/A qsets append N/A CNAME N/A N/A N/A N/A N/A N/A mozdns cname models CNAME objects filter N/A N/A N/A fqdn{0} format search_operator fqdn N/A ar N/A N/A AddressRecord N/A N/A N/A mozdns address_record models AddressRecord N/A ars N/A N/A N/A AddressRecord objects filter N/A N/A Q fqdn fqdn N/A Q ip_str ip N/A N/A N/A qsets append N/A AddressRecord ars N/A pt N/A N/A N/A N/A qsets append N/A PTR N/A N/A N/A N/A N/A N/A N/A mozdns ptr models PTR objects Q N/A N/A N/A name{0} format search_operator fqdn N/A Q N/A N/A N/A ip_str{0} format search_operator ip N/A sreg N/A N/A StaticReg N/A N/A N/A N/A core registration static models StaticReg N/A N/A N/A qsets append N/A StaticReg N/A N/A N/A StaticReg objects filter N/A N/A Q N/A N/A N/A fqdn{0} format search_operator fqdn N/A Q N/A N/A N/A ip_str{0} format search_operator ip N/A qsets N/A