Configuring White-Label Name Servers With a Delegation Set
Configuring White-Label Name Servers with a Delegation Set
In this guide, we will configure white-label name servers using AWS Route 53 with a delegation set. The key services involved are AWS Route 53 for DNS management and delegation sets for creating reusable name servers.
Step-by-Step Explanation
Step 1: Create a Delegation Set
A delegation set is a group of four name servers that you can reuse across multiple hosted zones. First, we need to create a delegation set.
Step 2: Create a Hosted Zone
Next, create a hosted zone that will use the delegation set created in the previous step.
Step 3: Associate the Delegation Set with the Hosted Zone
Associate the delegation set with the hosted zone to ensure that the white-label name servers are used.
Summary
In this guide, we configured white-label name servers using AWS Route 53 with a delegation set. We created a delegation set, a hosted zone, and associated the delegation set with the hosted zone to achieve reusable name servers.
Conclusion
Configuring white-label name servers with a delegation set in AWS Route 53 allows for consistent and reusable DNS management across multiple hosted zones.
Full Code Example
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
// Step 1: Create a Delegation Set
const delegationSet = new aws.route53.DelegationSet("myDelegationSet", {});
// Step 2: Create a Hosted Zone
const hostedZone = new aws.route53.Zone("myHostedZone", {
delegationSetId: delegationSet.id,
});
// Step 3: Associate the Delegation Set with the Hosted Zone
// This is done automatically by specifying the delegationSetId in the Zone creation
// Export the name servers
export const nameServers = hostedZone.nameServers;
Deploy this code
Want to deploy this code? Sign up for a free Pulumi account to deploy in a few clicks.
Sign upNew to Pulumi?
Want to deploy this code? Sign up with Pulumi to deploy in a few clicks.
Sign upThank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.