>> 2. Prior to the second test, in an attempt to get rid of the journal 
>> files, I issued the command "rndc sync -clear jaspain.net". This 
>> generated an error "rndc: 'sync' failed: unknown class/type. I found 
>> that "rndc sync" and "rndc sync jaspain.net" both worked, so I think 
>> rndc just doesn't recognize the -clear parameter as described in the 
>> rndc usage message. With the journal files still present, I decided to 
>> use "rndc freeze jaspain.net" prior to the next test.

> It's supposed to be rndc sync -clean, not -clear.  I thought we'd fixed that, 
> darn it...

Also, for consideration along with a fix to the usage message, it would be more 
clear if the error message error "rndc: 'sync' failed: unknown class/type" 
could be changed to something like "rndc: 'sync' failed: unknown option 
-clear". Apparently, using the above example, rndc's parameter parser regards 
"-clear" as the zone name and "jaspain.net" as the class name. As I read RFC 
1035, domain names can't begin with a hyphen, so rndc should in theory be able 
to correctly discern this error.

Jeffry A. Spain
Network Administrator
Cincinnati Country Day School


_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to