DNS connector

connector_dns
REPOSITORY
REPOSITORYOCA/infrastructure
GIT
GIThttps://github.com/OCA/infrastructure.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/infrastructure/tree/8.0/connector_dns
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYConnector
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Elico Corp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Elico Corp
COMMITTERS
COMMITTERSDave Lasley, oca-travis, OCA-git-bot, noah
WEBSITE
WEBSITEhttps://www.elico-corp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/connector:
    - connector
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
dns_backend_form DNS Backend Form dns.backend form New
dns_backend_tree DNS Backend Tree dns.backend tree New
dns_record_form DNS Record Form dns.record form New
dns_record_tree DNS Record Tree dns.record tree New
dns_zone_form DNS Zone Form dns.zone form New
dns_zone_tree DNS Zone Tree dns.zone tree New
view_connector_config_settings Connector Settings connector.config.settings xpath Inherits connector.view_connector_config_settings
Models touched (8)

New fields (9)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • import_records_from_date Datetime
  • import_zones_from_date Datetime
  • is_default Boolean
    default=True help='Check this if this is the default connector for the company. All newly created records for this company will be synced to the default system. Only records that originated from non-default systems will be synced with them.'
  • login Char
    help="Provider's login." required=True string='Login'
  • password Char
    help="Provider's password." required=True string='Password'
  • uri Char
    help='URI to Provider endpoint.'
  • version Selection
    help='DNS service provider' required=True selection='_select_version' string='Service Provider'
Public methods (5)
  • check_dns_structure(self)
    @api.multi
    It provides a central method used in every data import It should support non-singleton Recordsets.
  • import_dns_records(self)
    @api.multi
  • import_dns_zones(self)
    @api.multi
  • name_get(self)
    @api.multi
  • resync_all(self, binding_model, backend_ids=None)
    @api.model
    It re-imports all bound records with their external systems. This method is particularly useful if the external system does not have a webhook to notify Odoo of updated records. Args: binding_model (str): Name of binding model to sync backend_ids (list): List of ids for Backend records that should be used as search filter. ``None`` or ``False`` for all.

New fields (3)
  • dns_backend_id Many2one → dns.backend
    comodel_name='dns.backend' default=<expr> ondelete='restrict' required=True store=True string='DNS Backend'
  • dns_id_external Char
    help='ID of the record in external system.' string='External ID'
  • fail_date Datetime
Public methods (0)

No public methods.

New fields (7)
  • dns_bind_ids One2many → dns.record.bind
    comodel_name='dns.record.bind' inverse_name='odoo_id' string='External Bindings'
  • name Char
    help='Host record, such as "www".' required=True string='Sub domain'
  • ttl Integer
    default=600 help='Time to Live, in seconds. Scope: 1-604800' required=True string='TTL'
  • type_help Text
    related='type_id.help' string='Record Help'
  • type_id Many2one → dns.record.type
    comodel_name='dns.record.type' required=True string='Record Type'
  • value Text
    help='Enter multiple values on separate lines. Enclose text in quotation marks.' required=True string='Value'
  • zone_id Many2one → dns.zone
    comodel_name='dns.zone' help='Hosted zone that this record is applied to.' ondelete='cascade' required=True string='Zone'
Public methods (0)

No public methods.

New fields (1)
  • odoo_id Many2one → dns.record
    comodel_name='dns.record' ondelete='cascade' required=True string='DNS Record'
Public methods (0)

No public methods.

New fields (6)
  • code Char
    required=True
  • dns_bind_ids One2many → dns.record.type.bind
    comodel_name='dns.record.type.bind' inverse_name='odoo_id' string='External Bindings'
  • help Text
    help='Text that will be displayed to user as a formatting guide for this record type.'
  • name Char
    help='Name of DNS record type, such a "A" or "CNAME".' required=True
  • supported_backend_ids Many2many → dns.backend
    comodel_name='dns.backend' string='Supported Backends'
  • validate_regex Char
    help='This is a regex that is used for validation of the record value. Leave blank for no validation.'
Public methods (1)
  • name_get(self)
    @api.multi

New fields (1)
  • odoo_id Many2one → dns.record.type
    comodel_name='dns.record.type' ondelete='cascade' required=True string='DNS Record'
Public methods (0)

No public methods.

New fields (3)
  • dns_bind_ids One2many → dns.zone.bind
    comodel_name='dns.zone.bind' inverse_name='odoo_id' string='External Bindings'
  • name Char
    help='Hosted zone name, such as "amazon.com".' required=True string='Name'
  • record_ids One2many → dns.record
    comodel_name='dns.record' inverse_name='zone_id' string='DNS Records'
Public methods (0)

No public methods.

New fields (1)
  • odoo_id Many2one → dns.zone
    comodel_name='dns.zone' ondelete='cascade' required=True string='DNS Zone'
Public methods (0)

No public methods.