Custom NS name

Posts: 5
2424     0

When configuring name servers for a zone (either manually for the zone or with groups), how do I specify a custom name to use for that name server?


Essentially what I want is when someone does a "dig ns <domain>", they get ns1.<domain> and ns2.<domain>.  Right now the results returned are the hostnames of the name servers.


I tried making the grid primary and grid secondaries stealth, and then adding external primary name servers.  But the GUI complained that the IPs used for the external primaries were duplicated with the grid primary/secondary.


Any ideas how I would accomplish this?



Re: Custom NS name

Posts: 101
2425     0

You have to name the Gird Member according to the name you want to see in the NS/A record.

Currently there is no way to change the name only for the zone.

Re: Custom NS name

Posts: 5
2425     0

That makes me sad Smiley Sad

Re: Custom NS name

Community Manager
Community Manager
Posts: 39
2425     0

I think you can work around this a bit. Though not recommended, but still you can try on your lab and see if it works.


Try the below:




  1. Server with hostname "" and IP x.x.x.x
  2. Authoritative zone "". This will automatically add the record "ns1" to the zone "" with the IP of the member (x.x.x.x)
  3. Authoritative zone "". This zone has the Grid Primary ""

If I understand correctly, your requirement is that when we query for the NS record of the zone "", we should get "" instead of "" and if we resolve that NS, we should get the IP x.x.x.x


If the above is the requirement, then


  1. Edit the zone and mark the grid primary as stealth.
  2. Add "External Secondary" as "" and add the IP (placeholder IP)
  3. Create a CNAME record where "Alias" is "ns1" and the "Canonical Name" is ""


When you query for the NS of the zone "", you'll get instead of and when you try to resolve the A record for the NS, you'll get the server's actual IP address. But the problem is, while resolving the query, the output will contain that is the cname for


Let me know if this helps!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You