How to query the "incoming" serial of a zone while inline signing
Klaus Darilion
klaus.mailinglists at pernau.at
Thu Jan 30 13:52:25 UTC 2014
On 30.01.2014 14:28, Tony Finch wrote:
> Mark Andrews <marka at isc.org> wrote:
>> In message <52EA4C56.5060206 at pernau.at>, Klaus Darilion writes:
>>>
>>> Are there any tools/ways to query Bind for the incoming serial?
>>
>> rndc zonestatus <zone> [class [view]]
>
> I think that's a BIND-9.10 feature :-)
>
> On 9.9 I think you either have to look at named's logs and/or look at the
> unsigned zone file and journal using named-compilezone -j.
Thanks, that's what I was looking for.
For the records:
named-compilezone -j -f raw -o - example.com \
/etc/bind/zones/example.com 2>&1| grep SOA|awk '{print $7;}'
regards
Klaus
More information about the bind-users
mailing list