# Long wait configtest

**URL:** <https://www.ruby-forum.com/t/long-wait-configtest/241876>\
**Category:** NGINX\
**Created:** [May 7, 2015, 4:17pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876 "2015-05-07T16:17:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [May 7, 2015, 4:17pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876/1 "2015-05-07T16:17:33Z")

</div>

Hi all

after several modification (implemented ocsp stapling) the command

“service nginx configtest”

I wait the return of configtest for circa one minute

i don’t understand the problem, before the command run in on second or  
less.

Posted at Nginx Forum:

> **[long wait configtest](https://forum.nginx.org/read.php?2,258721,258721#msg-258721)**
>
> Hi all after several modification (implemented ocsp stapling) the command "service nginx configtest" I wait the return of configtest for circa one minute i don't understand the problem, before the command run in on second or less.

---

<div class="post-metadata">

**Author:** ![zilog80](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/b5e925/32.png) [@zilog80](https://www.ruby-forum.com/u/zilog80)\
**Post date:** [May 7, 2015, 4:48pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876/2 "2015-05-07T16:48:31Z")

</div>

Hello!

On Thu, May 07, 2015 at 10:17:14AM -0400, zilog80 wrote:

> Hi all
> 
> after several modification (implemented ocsp stapling) the command
> 
> “service nginx configtest”
> 
> I wait the return of configtest for circa one minute
> 
> i don’t understand the problem, before the command run in on second or less.

Likely there is a problem with name resolution.

–  
Maxim D.

> **[nginx](http://nginx.org/)**

---

<div class="post-metadata">

**Author:** ![zilog80](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/b5e925/32.png) [@zilog80](https://www.ruby-forum.com/u/zilog80)\
**Post date:** [May 7, 2015, 4:58pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876/3 "2015-05-07T16:58:27Z")

</div>

Hi thanks for the answer

infact I add in the main

“resolver 8.8.8.8 8.8.4.4;”

you means that in my config I have a names without dns resolution?

Posted at Nginx Forum:

> **[Re: long wait configtest](https://forum.nginx.org/read.php?2,258721,258723#msg-258723)**
>
> Hi all after several modification (implemented ocsp stapling) the command "service nginx configtest" I wait the return of configtest for circa one minute i don't understand the problem, before the command run in on second or less.

---

<div class="post-metadata">

**Author:** ![zilog80](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/b5e925/32.png) [@zilog80](https://www.ruby-forum.com/u/zilog80)\
**Post date:** [May 7, 2015, 5:37pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876/4 "2015-05-07T17:37:00Z")

</div>

Hello!

On Thu, May 07, 2015 at 10:58:11AM -0400, zilog80 wrote:

> Hi thanks for the answer
> 
> infact I add in the main
> 
> “resolver 8.8.8.8 8.8.4.4;”
> 
> you means that in my config I have a names without dns resolution?

Hostnames of OCSP resolvers are resolved during configuration  
testing if OCSP Stapling is configured (much like all other  
hostnames in a configuration), and this is done using a system  
resolver. If your system resolver is slow this will affect  
configuration testing time.

–  
Maxim D.

> **[nginx](http://nginx.org/)**

---

<div class="post-metadata">

**Author:** ![zilog80](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/b5e925/32.png) [@zilog80](https://www.ruby-forum.com/u/zilog80)\
**Post date:** [May 8, 2015, 6:06pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876/5 "2015-05-08T18:06:52Z")

</div>

On Friday 08 May 2015 12:01:47 zilog80 wrote:

> can i bypass the resolver test in configtest?

No.

wbr, Valentin V. Bartenev

---

<div class="post-metadata">

**Author:** ![zilog80](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/b5e925/32.png) [@zilog80](https://www.ruby-forum.com/u/zilog80)\
**Post date:** [May 8, 2015, 6:02pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876/6 "2015-05-08T18:02:47Z")

</div>

can i bypass the resolver test in configtest?

Posted at Nginx Forum:

> **[Re: long wait configtest](https://forum.nginx.org/read.php?2,258721,258753#msg-258753)**
>
> Hi all after several modification (implemented ocsp stapling) the command "service nginx configtest" I wait the return of configtest for circa one minute i don't understand the problem, before the command run in on second or less.

---

<div class="post-metadata">

**Author:** ![zilog80](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/b5e925/32.png) [@zilog80](https://www.ruby-forum.com/u/zilog80)\
**Post date:** [May 20, 2015, 4:34pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876/7 "2015-05-20T16:34:33Z")

</div>

Thank you Valentin!  
Today I have re-test the command and I waited for 3 minutes before  
command  
finishes  
I’m surprised I use google DNS but usually its very fast,i don’t know  
where  
is wrong.

Posted at Nginx Forum:

> **[Re: long wait configtest](https://forum.nginx.org/read.php?2,258721,259015#msg-259015)**
>
> Hi all after several modification (implemented ocsp stapling) the command "service nginx configtest" I wait the return of configtest for circa one minute i don't understand the problem, before the command run in on second or less.

---

<div class="post-metadata">

**Author:** ![zilog80](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/b5e925/32.png) [@zilog80](https://www.ruby-forum.com/u/zilog80)\
**Post date:** [June 18, 2015, 4:26pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876/8 "2015-06-18T16:26:29Z")

</div>

Hi all

i solve my problem.

All configuration was correct.

The problem was IPV6 configuration, disable it and DNS responce get  
fast!

Posted at Nginx Forum:

> **[Re: long wait configtest](https://forum.nginx.org/read.php?2,258721,259726#msg-259726)**
>
> Hi all after several modification (implemented ocsp stapling) the command "service nginx configtest" I wait the return of configtest for circa one minute i don't understand the problem, before the command run in on second or less.
