Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NS DnsRecords are created twice #159

Open
anentropic opened this issue Nov 15, 2020 · 0 comments
Open

NS DnsRecords are created twice #159

anentropic opened this issue Nov 15, 2020 · 0 comments
Labels
kind/question Questions about existing features

Comments

@anentropic
Copy link

anentropic commented Nov 15, 2020

I have the following code to create NS records for the three DigitalOcean nameservers against my app domain:

domain = do.Domain(
    "my-domain",
    name=APPS_DOMAIN,
    ip_address=droplet.ipv4_address,  # will also create an A record
)
for i in range(1, 4):
    do.DnsRecord(
        f"my-domain-ns-{i}",
        domain=domain.name,
        type="NS",
        value=f"ns{i}.digitalocean.com.",
        name="@",
    )

the first time I pulumi up I always end up with 6 NS records, i.e. two for each DnsRecord instance

If I look in the DO control panel I can see two identical records for each NS hostname

if I manually delete the duplicates and pulumi up --refresh they get recreated

what is going on here?

@infin8x infin8x added kind/question Questions about existing features and removed question labels Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions about existing features
Projects
None yet
Development

No branches or pull requests

4 participants