Linux / UNIX Tech Support Forum
This is a discussion on Dnsmasq query all servers and query at least one more in case the first can't resolve within the Proxy Servers forums, part of the Mastering Servers category; I have a dnsmasq 2.50-1 installed on ubuntu 8.04 x86_64 LTS. Squid is configured to use it for dns caching. ...
Register free or login to your account to remove all advertisements.
|
|||||||
| Proxy Servers Discussion about UNIX / Linux caching proxy servers, web proxy, reverse / content filtering proxy server. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
I have a dnsmasq 2.50-1 installed on ubuntu 8.04 x86_64 LTS.
Squid is configured to use it for dns caching. In /etc/resolv.conf I have 2 nameservers, my ISP nameserver and google public dns. But dnsmasq takes only the first it finds. There is a setting -all-servers that makes dnsmasq to send requests for all dns nameservers it finds in /etc/resolv.conf I think and the first answer is delivered. Now the problem is that my ISP nameserver replies faster than Google public DNS and in some cases it does not resolve some addresses but Google dns does. If I start dnsmasq with -all-servers it will query both my ISP nameserver and google public dns, but if my ISP dns replies with no address this will be server to squid, even if the later answer from other dns servers does know how to resolve the address the fastest answer wins. How can I make dnsmasq to query all nameservers and in case the first answer does not resolve then to query at least one more server? It this possible ? |
![]() |
|
|
| Tags |
| all-servers, dnsmasq, no resolve, ubuntu |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] Calculate BIND DNS Server Query | sem007 | Domain Name Server | 2 | 4th January 2010 02:06 PM |
| Query - Apache and PHP | kasimani | Web servers | 1 | 7th December 2009 08:02 PM |
| Hard Link Query | sharadgana | Getting started tutorials | 2 | 25th March 2008 12:11 AM |
| a query | kavi | Linux software | 2 | 16th October 2005 06:16 AM |
| BIND 9 and Query-Source | Ashish Pathak | Linux software | 2 | 7th February 2005 12:42 PM |