Nameserver Groups
Nameserver groups define DNS servers that peers should use for resolving domains.List All Nameserver Groups
Unique nameserver group identifier
Nameserver group name (1-40 characters)
Description of the nameserver group
List of nameserver configurations (1-3 servers)
Whether the nameserver group is active
Peer group IDs that should use these nameservers
Primary nameserver group resolves all domains (requires empty
domains)Match domain list (empty only if
primary: true)Enable search domains (only when
domains is not empty)Create a Nameserver Group
Nameserver group name (1-40 characters)
Description of the nameserver group
List of 1-3 nameserver configurations
Whether the nameserver group is active
Peer group IDs that should use these nameservers
Whether this is the primary nameserver group
Match domain list (1-255 characters each)
Enable search domains for match domains
Update a Nameserver Group
The unique identifier of the nameserver group
Example
Delete a Nameserver Group
Example
DNS Settings
Manage global DNS settings including which groups have DNS management disabled.Get DNS Settings
Example
Group IDs whose DNS management is disabled
Update DNS Settings
Group IDs to disable DNS management for
Example
Custom DNS Zones
Create custom DNS zones with A, AAAA, and CNAME records.List All DNS Zones
Create a DNS Zone
Zone name identifier (1-255 characters)
Zone domain (FQDN)
Enable this zone as a search domain
Group IDs that will use this zone
Example
Update a DNS Zone
Delete a DNS Zone
DNS Records
Manage DNS records within custom zones.Create a DNS Record
The unique identifier of the zone
FQDN for the DNS record (must be subdomain of zone)
DNS record type:
A, AAAA, or CNAMEDNS record content (IP for A/AAAA, domain for CNAME)
Time to live in seconds (minimum: 0)
Update a DNS Record
Delete a DNS Record
DNS Resolution Flow
- Custom Zones - Checked first for matching domains
- Domain-Specific Nameservers - Used for configured domains
- Primary Nameservers - Used for all other queries
- System DNS - Fallback if no NetBird DNS configured
Common Configurations
Split DNS
Use different nameservers for different domains:Search Domains
Enable search domains for easy access:ping server instead of ping server.company.com
Best Practices
Use primary nameservers - Always configure a primary for general DNS resolution
Split internal/external - Use separate nameservers for internal vs external domains
Enable search domains - Makes internal resources easier to access
Set appropriate TTLs - Lower for dynamic records, higher for static
Monitor DNS health - Ensure nameservers are reachable