Skip to content

BasicDNSRelation

The BasicDNSRelation in the OWASP Open Asset Model (OAM) represents a minimal DNS resource record that links a DNS name to either another DNS name or an IP address, using only standard DNS header information.

  • Definition: A BasicDNSRelation captures DNS records such as A, AAAA, or CNAME that map a hostname to another hostname or IP address. It includes only the DNS header fields and the target reference, without storing extended metadata or record-specific attributes.

  • Purpose: This relation type is designed to reflect simple DNS resolution chains within the asset model. It allows mapping how DNS names ultimately resolve to assets or addresses, which is fundamental for understanding how domain names expose infrastructure in an attack surface.

  • Design Choice: By limiting the relation to just the DNS header and the resolved name or address, BasicDNSRelation avoids the complexity of modeling full DNS behavior (e.g., priorities or DNSSEC). It's intended for lightweight use cases where basic DNS resolution structure is sufficient.

In summary, BasicDNSRelation enables efficient modeling of essential DNS relationships, illustrating how domain names resolve in a minimal, structured format, without the overhead of full DNS record semantics.

BasicDNSRelation Attributes

Attributes Type Required Description
label string The label for the relation between two assets
header.rr_type number Specifies the type of resource within the DNS record
header.class number 1, IN class (Internet), is the most commonly used
header.ttl number Specifies how long a DNS record should be cached

BasicDNSRelation Properties

Property Type Property Name Description
SourceProperty Source Plugin Name Indicates that the specified data source discovered this BasicDNSRelation

© 2025 Jeff Foley — Licensed under Apache 2.0.