Overview
DNS configuration in Xloud Networking controls which resolvers instances use for hostname resolution. Name servers are set at the subnet level and pushed to instances via DHCP at boot time. You can configure private internal resolvers, public fallback resolvers, or a combination — giving instances access to both internal service hostnames and public domain names.Prerequisites
- An existing subnet with DHCP enabled (Create and Manage Subnets)
- Dashboard access or CLI configured with valid credentials
Configure DNS on a Subnet
- Dashboard
- CLI
Open the subnet for editing
Log in to the Xloud Dashboard (
https://connect.<your-domain>) and navigate to
Project → Network → Networks. Click the network name, open the Subnets tab,
and click Edit Subnet on the target subnet.Update DNS Name Servers
In the Subnet Details section, update the DNS Name Servers field.
Enter one resolver per line.
| Resolver Type | Example | Use Case |
|---|---|---|
| Internal resolver | 10.0.0.53 | Resolve private hostnames (e.g., db.internal) |
| Public fallback | 8.8.8.8 | Resolve public internet domains |
| Secondary public | 8.8.4.4 | Redundant public resolver |
Apply DNS Changes to Running Instances
DNS resolvers are delivered via DHCP at instance boot. Running instances retain their current resolvers until their DHCP lease renews or you force a renewal.- Linux instances
- Verify resolution
Force DHCP renewal (systemd-networkd)
Force DHCP renewal (NetworkManager)
Force DHCP renewal (dhclient)
Remove DNS Resolvers
Clear DNS name servers from subnet
DNS Reference
| Resolver | Address | Notes |
|---|---|---|
| Google Public DNS | 8.8.8.8, 8.8.4.4 | Low-latency, widely available |
| Cloudflare DNS | 1.1.1.1, 1.0.0.1 | Privacy-focused, fast |
| Internal (example) | 10.0.0.53 | Resolves private hostnames within your cluster |
For deployments with a dedicated DNS service, Xloud Networking supports the optional
DNS service (Xloud DNS) which provides zone management, record lifecycle, and floating
IP-to-hostname associations. Contact your administrator to enable Xloud DNS.
Next Steps
Create and Manage Subnets
Manage all subnet settings including DHCP, allocation pools, and host routes
Network Troubleshooting
Diagnose DHCP and name resolution failures on your instances
Floating IP Addresses
Assign public IPs to instances with DNS-resolvable hostnames
Network Topologies
Design multi-tier topologies with DNS-aware subnets