Avatar of beer9
Flag for India asked on

How IXFR works with BIND name server?

I understand that IXFR sends the 'incremental' record since the last update. I would like to know how BIND get to know the difference of last and current and then send only the difference? Appreciate any leads here


Avatar of undefined
Last Comment

8/22/2022 - Mon

The description of IXFR is in: https://tools.ietf.org/html/rfc1995   (RFC 1995)

And it consists of Notification to specified slave-zones on updates (which contains the SOA version number)
the slave zone then does a bulk transfer over TCP/IP if the version on the slave is lower then the one in the notification.

Normal transfer is full transfer, i.e. AXFR
IXFR needs server which is already slave server and calculates incremental updates (aka journals) between zone versions sent by (isolated) zone master server. Master server alone cannot generate them.

So BIND master server keep journal of every update (difference) since the last update to it's zone fine? How it works?

I will edit the zone file manually (using VIM) then before saving and closing I will increment the serial number by 1. Then I will reload/restart the BIND service. How it will track the differences ?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

For dynamic zones - yes, master server has journal.
For static zones (most common setup) - you need an interim server to calculate differences.

I can agree to that.