Score:-2

Hidden Primary DNS NS records

fr flag

I am trying to setup a hidden primary DNS server and want to understand what should the right way to setup the SOA and NS records

The hidden primary DNS will then do zone transfer to the secondary DNS that will be authoritative and serving DNS requests

The hidden primary DNS service provider is requesting to setup vanity NS in the zonefile

I do not understand the reason for doing so - i don't mind exposing the authoritative nameservers (secondary DNS) for that zone

Can i just put the NS records as the secondary DNS nameservers in the hidden primary zonefile ?

djdomi avatar
za flag
i think that you should explain what you are trying to solve with this, update the question
fr flag
updated with further explanation
djdomi avatar
za flag
still, you hiding details
Score:0
cn flag

Can i just put the NS records as the secondary DNS nameservers in the hidden primary zonefile ?

Yes. That is exactly how it is supposed to be done in fact.

Whatever is in SOA as MNAME is not relevant for normal resolution (only broken software look at it). It is sometimes the hidden primary nameserver (see fr. for example) but even so it might not resolve or resolve but not be available.

Note that primary/secondary is kind of useless terminology. It is not something visible from outside, from clients requesting data. The only thing that matters is the NS recordset that must match between both sides of the delegation cut point. For the outside querying clients, all nameservers listed in the NS recordset are the same and all are supposed to have a complete copy of the zone content, no matter how (between one of them being primary and other feeding them from it, or all of them feeding from another one not present in the NS recordset).

The hidden primary DNS service provider is requesting to setup vanity NS in the zonefile

As you don't give a lot of details, you might want to just ask more to your DNS provider and understand what they want because obviously you depend on them.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.