Skip to main content

DNS

Netsody runs a local DNS resolver on every node with DNS integration enabled. This gives you one place to control name resolution across your network: create the names your services use and decide which DNS servers answer queries for internal and public domains.

  • Zones let you create custom DNS records. Give internal services memorable names, or point an existing name at your own service instead of using the answer from another DNS server. The local resolver answers from your records and covers the zone's entire domain and subdomains.
  • Name servers let you choose which DNS servers handle queries. Keep selected domains on a private DNS server reachable through Netsody, or choose the resolver your nodes should use for other lookups.
Netsody controller DNS Zones view showing an internal service zone, an Engineering lab zone, and a public GitLab name resolved through the overlay
Create zones for internal services, restrict a zone to selected groups, or point an existing public name at a service inside your Netsody network.
Netsody controller Name Servers view showing a private Active Directory resolver and a Quad9 DoH resolver for all domains
Send selected domains to your own resolver and handle everything else with the upstream DNS service of your choice.

Groups scope both zones and name servers. An entry with no groups applies to every member. Otherwise, it applies to nodes that belong to at least one of its groups. This is a membership filter, not a policy that grants network access.

Split DNS and catch-all name servers​

A name server with one or more domains provides split DNS. Only queries for those domains are forwarded to it. Other queries continue through the resolution paths derived from the host and the rest of the network configuration.

A name server without domains is a catch-all. Declaring the root domain . has the same effect. It becomes the default resolver of every node to which the entry applies and replaces the upstream resolvers that the agent would otherwise derive from the host.

On Linux, the agent registers the ~. routing domain and enables the default DNS route on the Netsody link. Other platforms use their native DNS configuration mechanisms. Consequently, a catch-all with no groups changes name resolution for every member, not only name resolution within the Netsody network.

For help with mail servers and other resolver-dependent services, see Troubleshooting.

DNS integration on your terms​

Netsody DNS is optional. Turn it off for a whole network when its nodes should keep working without Netsody hostnames, zones, and name servers. To leave only certain nodes out, exclude their groups instead. Everyone else keeps benefiting from your DNS configuration.

Node hostnames use netsody.me by default, but you can bring your own domain. Set nodes.samplecorp.io, for example, and gitlab-01 becomes gitlab-01.nodes.samplecorp.io. Your Netsody names then fit the naming scheme you already use.