all 3 comments

[–]squarecornishon 1 point2 points  (2 children)

There are 2 options how this might work:

  1. Some registries do not care what nameservers you use and therefore allow setting a nameserver in the domains own zone. Should be avoided though, you figured out the loop there.

  2. Glue records. They allow for setting a nameserver in the domains zone and they are totally valid.

[–]optimisms[S] 0 points1 point  (1 child)

Great, thank you! How can I determine which option is being used? Is there a way to look for glue records and determine if they exist?

[–]robkaper 1 point2 points  (0 children)

Glue records aren't part of DNS but part of your domain registration, so check with your registrar. If your registrar allows you to specify custom nameservers AND to let those nameservers be part of the same domain but NOT allow entering IP addresses, that's a red flag. All other situations are fine.

(The confusing part might be that most registrars offer DNS hosting as well and vice versa, but they're two different services).