diff --git a/.gitignore b/.gitignore
index 19d33794dd191504b8c281072f94453b17e1156b..1679ce6b02840b1464c53a43c3aef733dfee40de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,6 +47,7 @@ _obj
 /daemon/kresd
 /daemon/lua/*.inc
 /daemon/lua/trust_anchors.lua
+/daemon/lua/zonefile.lua
 /tests/test_array
 /tests/test_lru
 /tests/test_map