Repository
OCA/infrastructure · module folder · Try on Runboat
Module version
1.0.0
Category
Services
Folder size
0.11 MB
License
AGPL-3
Application
Yes
Auto-installable
No
Website
https://github.com/OCA/infrastructure
Last tracking update
2026-08-07 08:43:07
Authors
Odoo Community Association (OCA), Elico Corp, LasLabs, Mind And Go
Maintainers
Odoo Community Association (OCA), Elico Corp, LasLabs, Mind And Go
Committers
OCA-git-bot, oca-ci, Florent THOMAS
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
validator-collection
System dependencies
None
Required by
None
Description
This module only introduces the main data model and can be used as is to
manually store DNS records. It provides the main objects.

Additional modules for specific connectors need to be added to manage
the service provider connection.

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
dns_record_form DNS Record Form dns.record form New
dns_record_search DNS Record Search dns.record search New
dns_record_tree DNS Record Tree dns.record list New
dns_record_type_form DNS Record Type dns.record.type form New
dns_record_type_tree DNS Record Type Tree dns.record.type list New
dns_zone_form DNS Zone Form dns.domain_zone form New
dns_zone_search DNS Zone Search dns.domain_zone search New
dns_zone_tree DNS Zone Tree dns.domain_zone list New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (9)
  • active Boolean
    default=True
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True string='Complete Domain Name'
  • name Char
    help='\n In case of a domain FQDN Hosted domain zone name, such as amazon.com\n In case of a sub domain, the first key of the sub domain\n ' required=True string='Domain Name'
  • owner_partner_id Many2one → res.partner
    comodel_name='res.partner' string='Owner'
  • parent_id Many2one → dns.domain_zone
    comodel_name='dns.domain_zone' index=True ondelete='restrict' string='Parent Domain' tracking=True
  • parent_path Char
    index=True
  • record_ids One2many → dns.record
    comodel_name='dns.record' inverse_name='zone_id' string='DNS Records'
  • renew_date Date
    string='Renewal Date' tracking=True
  • state Selection
    default='draft' help='In Production when active otherwise Exception' tracking=True args: [('draft', 'Draft'), ('production', 'Production'), ('exception', 'Exception'), ('inactive', 'Inactive')]
Public methods (0)

No public methods.

New fields (7)
  • active Boolean
    default=True
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True string='DNS Record Name'
  • ttl Integer
    default=60 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 Char
    help='Enter multiple values on separate lines. Enclose text in quotation marks.' required=True string='DNS Record Value'
  • zone_id Many2one → dns.domain_zone
    comodel_name='dns.domain_zone' help='Domain that this record is applied to.' ondelete='restrict' required=True string='Domain'
Public methods (0)

No public methods.

New fields (6)
  • active Boolean
    default=True
  • code Char
    required=True string='DNS Type Code'
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True string='DNS Record Type Complete Name'
  • 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 string='DNS Type Name'
  • validate_regex Text
    help='This is a regex that is used for validation of the record value. Leave blank for no validation.'
Public methods (0)

No public methods.

New fields (1)
  • domain_zone_ids One2many → dns.domain_zone
    comodel_name='dns.domain_zone' inverse_name='owner_partner_id' string='Domain Zones'
Public methods (0)

No public methods.

Loading…