Re: BIND ignores changes in zonefiles

2012-06-15 Thread Marian Roess
Thank you all. It was as some of you suggested. There were two instances of bind running. One answering the queries, the ohterone listening on the controllchannel. After killing both and starting bind again, all works well. Thank you Greetings, Marian -- Marian Roess __

Re: BIND ignores changes in zonefiles

2012-06-14 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 11216

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 the

Re: BIND ignores changes in zonefiles

2012-06-14 Thread Tony Finch
Marian Röß 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 serving the old zone, and a new

Re: BIND ignores changes in zonefiles

2012-06-14 Thread Marian Röß
> But his log message showed that it loaded the correct file, or at least > a file with the correct serial number. That is what bothers me. Even the debug messages show, that a change is detected and the zone is loaded into the database. > How about this: does the server use "views"? If the zo

Re: BIND ignores changes in zonefiles

2012-06-14 Thread Barry Margolin
In article , Jan-Piet Mens wrote: > > 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? But his log message showed that it lo

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 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 `named

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 cor

BIND ignores changes in zonefiles

2012-06-14 Thread Marian Roess
Hello List, please be lenient towards me, for it is my first post on this list. I am administrator at the computing faculty at the TU Dortmund and responsible for the nameservers. Since yesterday we have the problem, that BIND is ignoring the changes in our zonefiles. This happened after updati