question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HetznerDNS Provider / NS Records

See original GitHub issue

Hello!

I am trying to add the NS Records in my octoDNS configuration too.

I have an interesting behavior at the moment:

'':
  - type: NS
    values:
      - hydrogen.ns.hetzner.com.
      - oxygen.ns.hetzner.com.
      - helium.ns.hetzner.de.

This option makes nothing, no changes.

If I use this option:

'@':
  - type: NS
    values:
      - hydrogen.ns.hetzner.com.
      - oxygen.ns.hetzner.com.
      - helium.ns.hetzner.de.

This options generates new entries with every run.

My question is if I configured it correctly or if I missed anything? Additionally if the coding is correct or if I made an issue.

Additionally A, MX and TXT records are in the ‘’ field for the domain.

Yours faithfully, Mathias

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rosscommented, Dec 30, 2021

I am trying to add the NS Records in my octoDNS configuration too.

I could have sworn it was in the README/docs somewhere, but apparently not, but octoDNS doesn’t support managing apex NS records due to messes around how various providers deal with them. Some providers allow you to manage them completely, some allow you to add or remove extra values but won’t let you touch their own NS values, and others won’t let you do anything with them.

I think it’d probably make sense to add a validation to the NS record type similar to the one on CNAMEs that throws an error if you try to do it (unless lenient is included.)

The @ is probably a ~bug in the Hetzner provider. I’m not familiar with it, but a quick glance at it seems like the provider under the hood expects @ for apex records so the code is adding that as needed and removing it when things come back from the provider with @. I don’t know that the provider really needs to handle that case. I suppose octoDNS could throw an error when the name is @ as that’s otherwise not a legal name. I’ll think about that.

See https://github.com/octodns/octodns/issues/38 for more info on the apex NS stuff and that issue tracks the maybe someday managing of them. This issue can stay open to record the one/two changes mentioned above.

0reactions
rosscommented, Dec 31, 2021

@ symbol validation is added in https://github.com/octodns/octodns/pull/827.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NS records - Hetzner Docs
The NS in NS records stands for name servers. NS records tell you which name server is authoritive for the domain/subdomain.
Read more >
DNS Console - Hetzner
Hetzner's DNS Console is an intuitive DNS management platform. Simply enter your zone names to import DNS entries. You don't even need to...
Read more >
Managing NS records - Hetzner Docs
Select a zone which you want to add records to. · Click on the Records button in the top navigation. · Choose the...
Read more >
DNS - Hetzner Docs
With our DNS Console and API you can manage zones and DNS records. Here you can find general information about DNS at Hetzner...
Read more >
DNS Overview - Hetzner Docs
Hetzner Online DNS Console currently supports these record types on the graphical interface: A; AAAA; CNAME; MX; NS; SRV; TXT. You can manage ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found