OdooWiki OCA HUB

Base module for DNS infrastructure

base_dns_infrastructure folder_open OCA/infrastructure open_in_new
Services License: AGPL-3

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.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Store and organise DNS domain zones and their DNS records directly in Odoo, with owners, renewal dates, record types and automatic validation of record values.

This module adds a new "Infrastructure DNS" application area to Odoo for keeping a manual inventory of domain names and their DNS records.

Under "Zones And Records" you find "Domain Zone" and "Domain Records". A domain zone holds the domain name, an optional parent domain (so sub-domains can be nested), the owner contact, a renewal date and a status (Draft, Production, Exception, Inactive). The full domain name is built automatically from the name and the parent domain, and it is checked to be a valid domain; an invalid one is refused. Zones also support chatter messages and activities, and can be archived.

Each zone lists its DNS records. A record needs a domain, a record type, a value and a TTL (default 60 seconds). The record name is computed automatically from the domain, the type code and the value. If the record type defines a validation rule, the value is checked against it and an error is raised when it does not match.

Under "Configuration" you manage "DNS Record Type". Each type has a name, a code, a help text shown on records and an optional validation rule. Standard types such as A, AAAA, CNAME, MX, TXT, PTR, SRV, SPF, NAPTR and NS are provided with examples.

Contacts gain a "Domain Zones" tab listing the zones they own. Two access groups exist: DNS User (read only) and DNS Manager (full create, edit and delete).

Depends on

basemail

Menus it adds

Infrastructure DNSZones And RecordsDomain ZoneDomain RecordsConfigurationDNS Record Type
Models and fields (4)
  • dns.record · new modelttl (TTL), value (DNS Record Value), active, type_id (Record Type), zone_id (Domain), type_help (Record Help), complete_name (DNS Record Name)
  • res.partner · extends an existing modeldomain_zone_ids (Domain Zones)
  • dns.domain_zone · new modelname (Domain Name), state, active, parent_id (Parent Domain), record_ids (DNS Records), renew_date (Renewal Date), parent_path, complete_name (Complete Domain Name), owner_partner_id (Owner)
  • dns.record.type · new modelcode (DNS Type Code), help, name (DNS Type Name), active, complete_name (DNS Record Type Complete Name), validate_regex

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/infrastructure.

terminal Installation and usage

OCA documentation · Odoo 18.0

Just install this module

No configuration required.

No verified information in OCA: Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.