Bug ID 663310: named reports "file format mismatch" when upgrading to versions with Bind 9.9.X versions for text slave zone files

Last Modified: Nov 07, 2022

Bug Tracker

Affected Product:  See more info
BIG-IP DNS, GTM, Install/Upgrade(all modules)

Known Affected Versions:
11.4.1, 11.5.0, 11.5.1, 11.5.1 HF1, 11.5.1 HF10, 11.5.1 HF11, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.10, 11.5.2, 11.5.2 HF1, 11.5.3, 11.5.3 HF1, 11.5.3 HF2, 11.5.4, 11.5.4 HF1, 11.5.4 HF2, 11.5.4 HF3, 11.5.4 HF4, 11.5.5, 11.6.0, 11.6.0 HF1, 11.6.0 HF2, 11.6.0 HF3, 11.6.0 HF4, 11.6.0 HF5, 11.6.0 HF6, 11.6.0 HF7, 11.6.0 HF8, 11.6.1, 11.6.1 HF1, 11.6.1 HF2, 11.6.2, 11.6.2 HF1, 11.6.3, 11.6.3.1, 12.0.0, 12.0.0 HF1, 12.0.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.0, 12.1.0 HF1, 12.1.0 HF2, 12.1.1, 12.1.1 HF1, 12.1.1 HF2, 12.1.2, 12.1.2 HF1, 12.1.2 HF2, 12.1.3, 12.1.3.1, 12.1.3.2, 12.1.3.3, 13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3

Fixed In:
13.1.0, 13.0.1, 12.1.3.4, 11.6.3.2, 11.5.6

Opened: May 05, 2017
Severity: 3-Major
Related Article:
K50871313

Symptoms

named reports "file format mismatch", zone files are renamed randomly to db-XXXX files, and zone cannot be loaded.

Impact

Zones cannot be loaded.

Conditions

-- Upgrade from BIG-IP containing pre-9.9.X versions of Bind, to BIG-IP versions with Bind versions later than 9.9.x. -- Slave zone files are in text format. -- No options set for masterfile-format text.

Workaround

Before upgrading, add the following line to the named.conf options: masterfile-format text;

Fix Information

BIND 9.9.x changes the default behavior governing the storage format of slave zone files to "raw" from "text". On upgrade, the config needs to be parsed looking for slave zones that do not specify the masterfile-format and set them to "text".

Behavior Change