Hi

I have problems in v2.0.0 with the serial-policy definition as it is not 
working as expected.
Here is my knot.conf which I am using:

# knot.conf
server:
    user: knot:knot
    udp-workers: 1
    tcp-workers: 1
    background-workers: 1
    listen: 0.0.0.0@53
    listen: ::@53

log:
  - target: syslog
    any: debug

template:
  - id: default
    storage: /opt/knot
    semantic-checks: on
    dnssec-signing: on
    kasp-db: kasp
    serial-policy: increment

zone:
  - domain: example.com
    dnssec-signing: off

2015-08-11T18:27:33 info: configuration is valid

Using increment as serial-policy, first the serial gets incremented by 1. After 
that, it will stay at 1, nevertheless how many changes I make.
info: [example.com] loaded, serial 0 -> 1
info: [example.com] loaded, serial 1 -> 1
info: [example.com] loaded, serial 1 -> 1
info: [example.com] loaded, serial 1 -> 1

Using unixtime as serial-policy, the serial stays always at 0.
info: [example.com] loaded, serial 0 -> 0
info: [example.com] loaded, serial 0 -> 0
info: [example.com] loaded, serial 0 -> 0
info: [example.com] loaded, serial 0 -> 0

Am I doing it wrong?
Do you use in anyway a RTC? – because I do not have it.

Regards
shadice
_______________________________________________
knot-dns-users mailing list
[email protected]
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users

Reply via email to