What is an NS record?
When should I use an NS record?
NS records are used to indicate that a particular subdomain will use different name servers. You can use this type of record to designate a test address, for example, that will point to "internal" name servers.
Warning
An NS record can ONLY point to addresses / domain names and never to an IP address. You therefore need to declare your name server via a subdomain, with a type A record, before you can use it (dns.example.com for example).
For example, if I wanted your test address "dev.example.com" to use your own DNS server:
dns 1800 IN A 88.88.88.88
then you'd use this DNS server for your development address:
dev 1800 IN NS dns.example.com.
Important
Never use an NS record on the Apex domain (i.e. "@"). This means that your domain and all its subdomains use DNS servers not belonging to Gandi. As a result, no other record in the Gandi zone will be taken into account, since all requests will be redirected to this DNS server or these DNS servers. Therefore, it makes more sense to change the domain's name servers yourself. What's more, Gandi's administration system will act as if you were using external name servers (because ultimately, you are), and you will no longer be able to access the management of your DNS records via your account.