Guides - Outgoing DNS Zone Transfers
A comprehensive, reliable, and fast DNS service, providing easy domain management to Linode customers at no charge.
When a domain zone is created within Linode’s DNS Manager, you can select if it will operate as a primary or a read-only secondary zone (see Select the Zone Type). Selecting primary allows you to edit the DNS records directly within the DNS Manager and is the most common choice.
If you have configured your domain zone as primary, you can designate external DNS name servers as secondaries. The DNS Manager will then send a NOTIFY request to those name servers when you make any DNS changes. The external name server should then respond back with an AXFR query, which triggers Linode to send an AXFR response with the updated DNS zone. This guide covers the configuration needed to perform outgoing DNS zone transfers, including updating your SOA record.
Configure the External DNS Provider
Before continuing, make sure that you’ve added your domain to the external DNS provider you wish to use. When creating the domain zone on that provider, you may be given the option to create it as a secondary (or read-only) zone. Make sure to select that option. If you do not know how to create a secondary domain zone on that DNS provider, you may need to consult their documentation or contact them for assistance.
To facilitate quick updates, Linode immediately sends the external name servers a NOTIFY request when you update DNS records through the DNS Manager. If you wish to have this trigger an AXFR zone transfer, you will likely need to add the following IP addresses to the ACL or allow-list of those name servers. If you do not do this, the external name servers will only update DNS records when the refresh time has elapsed.
18.104.22.168 22.214.171.124 (was 126.96.36.199) 188.8.131.52 184.108.40.206 220.127.116.11 2600:3c00::a 2600:3c01::a 2600:3c02::a 2600:3c03::a 2a01:7e00::a
18.104.22.168will be retired and replaced with
22.214.171.124. Both IPs will respond to inbound requests until the cutover date. Outbound requests will only originate from the old IP address (
126.96.36.199) until the cutover date. Please update your firewall rules and DNS server configurations to add the new IP address (
188.8.131.52) prior to the cutover.
Add Secondary Name Servers
Log in to the Cloud Manager, select Domains from the left menu, and click on the domain you wish to update.
Locate the SOA Record section and click Edit. This action may appear within the corresponding ellipsis menu.
In the Edit SOA Record pane, find the Domain Transfer IPs. Add the IP addresses for each external name server you wish to notify of DNS changes and send the DNS zone. To add each additional IP address, click Add an IP.
Click on Save to keep the changes.
Test AXFR Transfers
When performing the AXFR DNS query, point your secondary name server to
axfr1.linode.com (or up to
axfr5.linode.com) instead of
ns1.linode.com. To test the AXFR query locally, follow the above instructions to allow your computer’s IP address as one of the Domain Transfer IPs in the SOA Record for your domain. This may take a few minutes before going into effect. Then run the following
dig command, replacing example.com with your domain:
dig axfr example.com @axfr1.linode.com
The query should output all DNS records on the domain. If a
Transfer failed message is received instead, it may be because your computer’s IP address wasn’t added properly within the DNS Manager. Review the settings, wait a few minutes, and then try again.
This page was originally published on