HomeDedibox NetworkDNSHow to
Add a DNS delegation
Jump toUpdate content

How to add a DNS delegation

Reviewed on 19 September 2023Published on 26 May 2021

You cannot edit the reverse of IPv4 /27 blocks nor the IPv6 blocks (/48 - /56 - /64) directly in the console. Therefore you will have to delegate your subnet to your nameservers. This will delegate the task of propagating thee DNS reverses of your IPs on the Internet to your servers. You will need two DNS servers for redundancy, and can delegate the subnets directly in your account.

  • You have an account and are logged into the Dedibox console
  • You created a corresponding A record for your reverse DNS at leat 24 hours ago

How to add a DNS delegation in the console

  1. From the console, click Server in the top menu, then select Network configuration.

  2. Click the cogwheel icon next to the relevant IP block, then select Edit nameserver delegation. The Edit nameserver delegation page displays.

  3. Enter details for the two name servers, and click Update delegation

    • You can have a minimum of two and a maximum of five name servers. To add more name servers, use the Add nameserver button.
    • Ensure that your DNS configuration complies with RFC 4183

    You will need to repeat this for all your /27 IPv4 blocks. For IPv6, once you delegate your /48 all subnets will be automatically configured to the same name servers.

Example BIND configurations


Here is an example BIND configuration for the block

0- 86400 IN SOA ns1.mydns.net. hostmaster.mydns.net. (
2013121407 ; Serial
10800 ; Refresh
1800 ; Retry
604800 ; Expire
86400 ) ; Minimum TTL
0- 86400 IN NS ns1.mydns.net.
0- 86400 IN NS ns2.mydns.net.
1.0- 86400 IN PTR toto.domaine.com.
  • The line SOA indicates the authoritative server for the IP block,
  • The lines NS indicate the propagating DNS servers for the concerned IP block.
  • The lines PTR indicate the reverse of the indicated IP, here

If your IP block is a size other than /27, you will need to adapt your configuration accordingly.


Here is an example BIND configuration for the zone 001:bc8::3398::/48:

; 2001:bc8:3398::/48
$TTL 1h ; Default TTL IN SOA ns1.domain.fr webmaster.domain.fr (
2016071503 ; serial
1h ; secondary refresh interval
15m ; secondary retry interval
1w ; secondary copy expire time
1h ; NXDOMAIN cache time
; domain name servers
@ IN NS ns1.domain.fr.
@ IN NS ns2.domain.fr.
; IPv6 PTR entries IN PTR toto.domain.fr.

You can use the utilities available at whatsmydns.net to facilitate the generation of your zones.

See Also