named stop working after removing root zone '.' from LDAP
To allow ipa donszone-add ., patch required: https://fedorahosted.org/freeipa/attachment/ticket/4149
Single zone
tail /var/named/data/named.run (shows errors)
25-Aug-2014 13:23:05.197 zone ./IN: NS 'ns.example.com' has no address records (A or AAAA) 25-Aug-2014 13:23:05.197 zone ./IN: not loaded due to errors. 25-Aug-2014 13:23:05.197 update_zone (syncrepl) failed for 'idnsname=.,cn=dns,dc=example,dc=com'. Zones can be outdated, run rndc reload: bad zone 25-Aug-2014 13:23:05.349 zone ./IN: loaded serial 1408965786
rndc reload
ipactl status (all services running)
dig NS .
;; QUESTION SECTION: ;. IN NS
;; ANSWER SECTION: . 86400 IN NS ns.example.com.
;; ADDITIONAL SECTION: ns.example.com. 1200 IN A 10.x.x.x
ipa dnszone-del .
tail /var/named/data/named.run (shows assertion)
25-Aug-2014 13:35:39.524 task.c:1678: REQUIRE(task->state == task_state_running) failed, back trace 25-Aug-2014 13:35:39.524 #0 0x7febc696b920 in ?? 25-Aug-2014 13:35:39.525 #1 0x7febc4b5b17a in ?? 25-Aug-2014 13:35:39.525 #2 0x7febc4b7d3b7 in ?? 25-Aug-2014 13:35:39.525 #3 0x7febc0a0fafe in ?? 25-Aug-2014 13:35:39.525 #4 0x7febc0a0a086 in ?? 25-Aug-2014 13:35:39.525 #5 0x7febc0a0df24 in ?? 25-Aug-2014 13:35:39.525 #6 0x7febc4b7d836 in ?? 25-Aug-2014 13:35:39.525 #7 0x7febc4731f33 in ?? 25-Aug-2014 13:35:39.525 #8 0x7febc39d5ded in ?? 25-Aug-2014 13:35:39.525 exiting (due to assertion failure)
zone is removed from LDAP
SIDE EFFECT: significant slowdown of ipa commands, after zone deletion (ipa dnszone-find ~10sec)
dirserv error?: no errors in dirsrv error log
Everything works fine, speed of ipa commands is restored (ipa dnszone-find ~1sec)
;; ANSWER SECTION: . 46510 IN NS d.root-servers.net. . 46510 IN NS a.root-servers.net.
NOTE: ipa dnsforwardzone-add/del '.' works fine
bind-dyndb-ldap-5.1-1.fc20.x86_64
bind-9.9.4-12.P2.fc20.x86_64
F20
x86_64
Yes
Include dynamic-db section from configuration file /etc/named.conf:
dynamic-db "ipa" { library "ldap.so"; arg "uri ldapi://%2fvar%2frun%2fslapd-IDM-LAB-ENG-BRQ-REDHAT-COM.socket"; arg "base cn=dns, dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com"; arg "fake_mname vm-073.idm.lab.eng.brq.redhat.com."; arg "auth_method sasl"; arg "sasl_mech GSSAPI"; arg "sasl_user DNS/vm-073.idm.lab.eng.brq.redhat.com"; arg "serial_autoincrement yes"; };
Do you have some other text based or DLZ zones configured?
No
Metadata Update from @mbasti: - Issue assigned to pspacek - Issue set to the milestone: Fedora 21
Log in to comment on this ticket.