8d2b Shoud I use DNSMasq with a Reverse Proxy? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old August 8th, 2012, 03:20
nx nx is offline
Junior Member
 
Join Date: Aug 2010
Posts: 69
Thanks: 21
Thanked 0 Times in 0 Posts
Default Shoud I use DNSMasq with a Reverse Proxy?

I'm currently using pound as reverse proxy to serve app, mail, and development tool servers, and thinking about rebuilding the server to use nginx instead.
A few tutorials to build reverse proxy servers include dnsmasq.

However,
- I don't currently use internal DNS (other than identically configured /etc/hosts per server,
- I've no need for DHCP,
- I can resolve internal servers by IP address or externally by host.domain A records, which is enough for my needs,
- I don't need to resolve domains internally without access to external A records, which from what I've read is a benefit of dnsmasq?

I'm wondering if I've overlooked any of dnsmasqs' benefits?

Would I benefit from setting up a lite DNS like dnsmasq with/on my reverse proxy server, in terms of speed/security/network maintenance?

Thanks
Reply With Quote
  #2  
Old August 8th, 2012, 13:38
kpa kpa is online now
Senior Member
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 1,980
Thanks: 44
Thanked 460 Times in 390 Posts
Default

It's a caching resolver meaning that it will keep a copy of an already resolved DNS record in it's cache as long as it's valid, I would think your reverse proxy is doing quite a bit of name resolving and the target server will have to resolve the same address again when the request hits it. I'd say you will see some increase in performance with a caching DNS resolver.

Last edited by kpa; August 8th, 2012 at 14:50.
Reply With Quote
The Following User Says Thank You to kpa For This Useful Post:
nx (August 9th, 2012)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pound as a reverse proxy brigzzy Web & Network Services 3 June 18th, 2012 17:10
How to setup FreeBSD for a reverse proxy ansarm Howtos & FAQs 0 June 15th, 2012 22:27
Is this the best way to use nginx as a reverse proxy? tingo Web & Network Services 0 March 1st, 2012 22:48
[Solved] nginx reverse proxy for multiple SSL domains gpatrick Web & Network Services 3 September 26th, 2011 16:20
Reverse caching proxy - replacement for Squid rghq Web & Network Services 4 April 4th, 2009 02:23


All times are GMT +1. The time now is 20:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0