When I add a zone passing a SOA Serial using dnszone-add the CLI returns a response saying the serial was set but it actually was not.
[vagrant@ipaserver ~]$ ipa dnszone-add --serial=12345 test.example.com --raw idnsname: test.example.com. idnszoneactive: TRUE idnssoamname: ipaserver.test.local. idnssoarname: hostmaster idnssoaserial: 12345 ### HERE: it says it was set idnssoarefresh: 3600 idnssoaretry: 900 idnssoaexpire: 1209600 idnssoaminimum: 3600 idnsupdatepolicy: grant TEST.LOCAL krb5-self * A; grant TEST.LOCAL krb5-self * AAAA; grant TEST.LOCAL krb5-self * SSHFP; idnsallowdynupdate: FALSE idnsallowquery: any; idnsallowtransfer: none; [vagrant@ipaserver ~]$ ipa dnszone-find --name=test.example.com --all --raw dn: idnsname=test.example.com.,cn=dns,dc=test,dc=local idnsname: test.example.com. idnszoneactive: TRUE idnssoamname: ipaserver.test.local. idnssoarname: hostmaster idnssoaserial: 1584133412 ### HERE: it was NOT set. idnssoarefresh: 3600 idnssoaretry: 900 idnssoaexpire: 1209600 idnssoaminimum: 3600 idnsallowquery: any; idnsallowtransfer: none; idnsAllowDynUpdate: FALSE idnsUpdatePolicy: grant TEST.LOCAL krb5-self * A; grant TEST.LOCAL krb5-self * AAAA; grant TEST.LOCAL krb5-self * SSHFP; nsrecord: ipaserver.test.local. objectClass: top objectClass: idnsrecord objectClass: idnszone ---------------------------- Number of entries returned 1 ---------------------------- [vagrant@ipaserver ~]$ ipa dnszone-mod test.example.com --serial=12345 --raw idnsname: test.example.com. idnszoneactive: TRUE idnssoamname: ipaserver.test.local. idnssoarname: hostmaster idnssoaserial: 12345 ### HERE: it says it was set (again) idnssoarefresh: 3600 idnssoaretry: 900 idnssoaexpire: 1209600 idnssoaminimum: 3600 idnsallowquery: any; idnsallowtransfer: none; [vagrant@ipaserver ~]$ ipa dnszone-find --name=test.example.com --all --raw dn: idnsname=test.example.com.,cn=dns,dc=test,dc=local idnsname: test.example.com. idnszoneactive: TRUE idnssoamname: ipaserver.test.local. idnssoarname: hostmaster idnssoaserial: 12345 ### HERE: it was actually set idnssoarefresh: 3600 idnssoaretry: 900 idnssoaexpire: 1209600 idnssoaminimum: 3600 idnsallowquery: any; idnsallowtransfer: none; idnsAllowDynUpdate: FALSE idnsUpdatePolicy: grant TEST.LOCAL krb5-self * A; grant TEST.LOCAL krb5-self * AAAA; grant TEST.LOCAL krb5-self * SSHFP; nsrecord: ipaserver.test.local. objectClass: top objectClass: idnsrecord objectClass: idnszone ---------------------------- Number of entries returned 1 ----------------------------
IPA Version: 4.8.0 API Version: 2.233
ipa-server-4.8.0-13.module_el8.1.0+265+e1e65be4.x86_64 ipa-client-4.8.0-13.module_el8.1.0+265+e1e65be4.x86_64 389-ds-base-1.4.1.3-7.module_el8.1.0+234+96aec258.x86_64 pki-ca-10.7.3-1.module_el8.1.0+238+005506d1.noarch krb5-server-1.17-9.el8.x86_64
https://github.com/freeipa/freeipa/pull/5841
master:
ipa-4-9:
Metadata Update from @antorres: - Custom field affects_doc adjusted to on - Custom field knownissue adjusted to on - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.