Re: BIND ignores changes in zonefiles

2012-06-15 Thread Mark Pettit
On Jun 14, 2012, at 5:54 AM, Marian Roess wrote: Thank you for your quick answer. You've possibly checked all this, but let me ask anyway: 1. Are you monitoring named logs when reload the zones? Any errors? Yes, I do. zone cs.uni-dortmund.de/IN: loaded serial 1121661332 2.

Re: BIND ignores changes in zonefiles

2012-06-14 Thread Jan-Piet Mens
We have a script that generates the zonefiles for bind. This script is working correct, i.e. the files are correctly generated and have no syntax errors. When adding e.g a CNAME to our database, the script generates a correct file, including this CNAME. BIND reloads this file with its correct

Re: BIND ignores changes in zonefiles

2012-06-14 Thread Marian Roess
Thank you for your quick answer. You've possibly checked all this, but let me ask anyway: 1. Are you monitoring named logs when reload the zones? Any errors? Yes, I do. zone cs.uni-dortmund.de/IN: loaded serial 1121661332 2. Have you run your generated zonefiles through

Re: BIND ignores changes in zonefiles

2012-06-14 Thread Jan-Piet Mens
The serialnumber in the SOA record is lower than the serial number BIND pretends to load in the logs. But why would BIND log to load the right zone, but use an old one? Because it's loading the wrong file? Have you (or somebody else) changed `directory' option or path to master zone file?

Re: BIND ignores changes in zonefiles

2012-06-14 Thread Tony Finch
Marian Röß marian.ro...@cs.uni-dortmund.de wrote: That is what bothers me. Even the debug messages show, that a change is detected and the zone is loaded into the database. Are you running one copy of named on the server? It might be that you have an old instance of the server running and

Re: BIND ignores changes in zonefiles

2012-06-14 Thread Alexander Gurvitz
Such problems usually end up in being something stupid, for example, does pgrep named return ONE pid ? Or maybe you are looking at log file on one server but dig another one. Did you try to stop named and start it over ? Maybe try to enable statistic-channel and see which serial BIND reports