Bug 58842 - mod_proxy DNS cache with authoritative and no-authoritative DNS Server
Summary: mod_proxy DNS cache with authoritative and no-authoritative DNS Server
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.4.7
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-12 16:45 UTC by Broisy
Modified: 2016-01-12 16:45 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Broisy 2016-01-12 16:45:27 UTC
Hello everybody,

I am using Apache as a reverse proxy to access an application on a server. 
I have two environments :
- In the first environment we have a non-authoritative DNS server
- In the second environment we have an authoritative DNS server.

When I access to the application in the first environment, the non-authoritative DNS server answers with the value in its cache.
When the non-authoritative DNS server updates the value in its cache, Apache (mod_proxy) automatically updates the DNS value in its cache.

When I access to the application in the second environment, the authoritative DNS server answers with the value in its base.
When the authority DNS server updates the value in its base, Apache (mod_proxy) doesn't update the DNS value in its cache. It only updates when I restart Apache service.

SO I am tempted to think that :
- If the DNS server is authoritative, Apache saves in its cache the answers from this DNS server
- If the DNS server is non-authoritative, Apache doesn't save in its cache the answers from this DNS server

What do you think about it?
Is it right?

Any help would be greatly welcome.


Regards 
Broisy