#19 BIND stalls for a moment when starting
Closed: Invalid None Opened 15 years ago by mnagy.

BIND will stall for some time on two places when starting. Running bind with -gunamed -mrecord -d2 will produce the following output:

09-Jun-2009 17:59:59.246 registering dynamic ldap driver for ipa.
09-Jun-2009 17:59:59.248 trying to establish LDAP connection to ldap://server.ipatest.com
09-Jun-2009 17:59:59.248 Using default keytab file name: FILE:/etc/named.keytab
09-Jun-2009 17:59:59.249 Principal not found in cred cache (Matching credential not found)

After a short pause, BIND will move on:

09-Jun-2009 18:00:09.451 GSSAPI
09-Jun-2009 18:00:09.460 SASL_CB_USER
09-Jun-2009 18:00:09.462 result: DNS/server.ipatest.com

And hits another pause. The cause might potentially be resolving a name during SASL authentication.


I just noticed that this happens when /etc/resolv.conf points to ourselves. We obviously can't answer the query because we're still just booting, so this is definitely a DNS timeout issue.

This is chicken-and-egg issue. You cannot rely on local DNS server before it is started. Proper solution is to use IP addresses (put them into /etc/hosts, for example) for names which are needed to start DNS server.

Closing as wontfix.

Ticket dance to change resolution to 'invalid'.

Metadata Update from @pspacek:
- Issue assigned to atkac
- Issue set to the milestone: 0.1.1ipa

7 years ago

Log in to comment on this ticket.

Metadata