Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've noticed that on some occasions, when I run rndc reload foobar.com, it'll validate the domain -- it'll give me an error if there is one, for example:

rndc: 'reload' failed: multiple RRs of singleton type

... or ...

rndc: 'reload' failed: not a valid number

... which is good.

However, some times, rndc will say:

rndc: zone reload queued

... and the error will only be logged.

Is it possible to have rndc always validate on reload? The reason being, when my application updates a zone, it runs rndc to reload the zone and assumes that it will fail if the zone is invalid. However, it only does this some times.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try:

named-checkzone

To expand on that answer a bit: I'm not aware of a way, via rndc, to force an immediate reload. But by working named-checkzone into your reload operation, as with a small script or alias, you can accomplish your goal.

share|improve this answer
    
Yeah, I think I'll change the app so it calls this first. Thanks. –  nbolton Jul 7 '10 at 18:56
    
Solved my problem! –  nbolton Jul 7 '10 at 20:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.