nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

Dnsmasq query all servers and query at least one more in case the first can't resolve

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.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Mastering Servers > Proxy Servers

Linux answers from nixCraft.


Proxy Servers Discussion about UNIX / Linux caching proxy servers, web proxy, reverse / content filtering proxy server.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 10th February 2010, 05:20 PM
rak rak is offline
Junior Member
 
Join Date: Feb 2010
OS: Ubuntu Server
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rak is on a distinguished road
Default Dnsmasq query all servers and query at least one more in case the first can't resolve

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 ?
Reply With Quote
Reply

Tags
all-servers, dnsmasq, no resolve, ubuntu


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT +5.5. The time now is 08:50 PM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40