1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Using 3rd party DNS servers?

Discussion in 'Tomato Firmware' started by Misato, Apr 15, 2007.

  1. Misato

    Misato LI Guru Member

    Hello,

    I checked through the FAQ but wasn't able to find something that would answer my question.

    I would like to ensure Tomato and my NATed client are not using the DNS servers supplied by my ISP. Instead, I would like to use DNS servers from 3rd party provider - OpenDNS. However, I would also like to keep internal DNS caching enabled for local DNS resolution.

    How would I set that up from the GUI?
    Is Tomato using the DNS servers supplied by my ISP or is it using its own DNS server?

    Thanks in advance!
     
  2. ifican

    ifican Network Guru Member

    Its using the DNS supplied by your isp, if you would like your hosts use a different dns ip then input that in the lan dns field or statically assign it to the host themselves. I am not sure what you mean by "I would also like to keep internal DNS caching enabled for local DNS resolution".
     
  3. Misato

    Misato LI Guru Member

    The solution you gave me will prevent me from using local dns resolution.
    Some local workstations receive static IPs and are therefore associated a host name. I want to continue being able to use these host names.
     
  4. ifican

    ifican Network Guru Member

    Then use a lmhost file (if Windows), if they are any other OS i am sure they have something thats equivalent. Other then that i dont know how that would be done.
     
  5. ntest7

    ntest7 Network Guru Member

    Put the external DNS server IP in the
    Basic -> Network -> Static DNS entries.

    Also, on the
    Advanced -> DHCP/DNS page, "Use internal caching DNS forwarder" should be checked, and "Use received DNS with static DNS" should be empty. I believe these two settings are the default.

    This work the way you want.
     
  6. Misato

    Misato LI Guru Member

    In fact that configuration method worked.
    I was afraid setting static DNS in the LAN field would cause these DNS to be used in the DHCP server but it doesn't. 192.168.1.1 (default) remains the DNS server for my clients. Quite odd that this configuration field belongs in the "LAN", shouldn't belong in the WAN?

    Anyways, many thanks!

    Misato
     
  7. dissident

    dissident LI Guru Member

    An issue with the Use Internal Caching DNS Forwarder setting is that, when enabled, it causes NVRAM to be written to...doesn't it? And frequent writing to NVRAM isn't good.

    I know that DD-WRT tries to reduce the number of writes, but I have no idea how Tomato handles this. In fact, I'm not even sure WTH the Use Internal Caching DNS Forwarder setting does.
     
  8. ntest7

    ntest7 Network Guru Member

    No, that setting doesn't save anything to NVRAM. Rather it tells dsnmasq to keep a cache of DNS lookup results in RAM.
     

Share This Page