how to add more dns servers @ dnsmasq custom configuration

Discussion in 'Tomato Firmware' started by vanhh, Nov 22, 2008.

  1. vanhh

    vanhh Network Guru Member


    This topic has been talked here before, but I could not find the post. So how do I add more public dns servers into dnsmasq custom configuration box?

  2. astehn

    astehn LI Guru Member

    Simply add lines like this to your Dns Custom Configuration box:

  3. vanhh

    vanhh Network Guru Member

    Thanks for replied, but how do you tell the router to use all of the severs after you put them in?
  4. astehn

    astehn LI Guru Member

    Add this line in the custom configuration:


    By default, dnsmasq sets the server that is first to respond to its queries as the primary server. Adding the line above forces dnsmasq to use the order the servers appear in /etc/resolv.dnsmasq

    If you want more info, see this thread:
  5. s0dhi

    s0dhi LI Guru Member

    Is it possible to specify a DNS server for a specific IP address on the network?

    For example, all computers on the network should use OpenDNS as their DNS server except one specific machine/IP which should use the ISP provided DNS.

    Any thoughts?
  6. Lost Dog

    Lost Dog LI Guru Member

    I was coming here to ask this EXACT same thing! I want to be using OpenDNS on the kid's computers (based on their IP address) but don't want any of the other computers using it.
  7. s0dhi

    s0dhi LI Guru Member

    Yes, I need to handle this for one of my neighbours. It would be good to have this option for my place as well.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice