Is it possible to use DNS caching in Linux?

347940 pts.
Tags:
Caching
DNS
Linux
I'm having a ton of problems understanding DNS caching. I'm trying to write a small forward proxy server and need to use the OS DNS cache on my Linux system. From what I know, there's DNS caching on the browser and OS level (I know Windows has it but I'm not sure if Linux carries it). Can someone tell me how a browser/proxy_server uses OS DNS caching? I need to figure out if I can depend on Linux for DNS caching instead of doing it through my proxy. Thank!

Answer Wiki

Thanks. We'll let you know when a new response is added.

Normally, the proxy client will forward the whole url to the proxy server. So it’s the proxy server resolve the domain name. And the proxy server will use his own dns cache or os dns cache is depend on the proxy software settings.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following