Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    DNS Forwarder - dies when WAN2 goes down (dnsmasq)

    2.1 Snapshot Feedback and Problems - RETIRED
    2
    5
    1179
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • luckman212
      luckman212 LAYER 8 last edited by

      Hey guys, I am testing 2.1 – 2.1-BETA1 (i386) built on Thu Feb 28 04:26:22 EST 2013 to be exact (nanobsd-2g build).  I am updating to the Mar6 snapshot as I write this but I wanted to report/ask about a problem I'm having with DNS & the DNS Forwarder.  I have a dual-WAN setup (using "WAN" and "OPT1" as my wan links) with a routing group set up prioritizing WAN (Tier1) and then OPT (Tier2).

      I am finding that if OPT1 goes down (not the physical link, just e.g. an ISP problem) then the DNS Forwarder starts failing to look up anything. I even SSHed into the box and tried manually running a few queries 'nslookup google.com'  which returns an error.  I have 2 DNS servers for each WAN connection defined in the General settings page.  I can ping all DNS servers just fine, and even manually specifying one on the command line 'nslookup google.com 8.8.4.4' works fine too.  It's just the local instance of dnsmasq at 127.0.0.1 that is going dead.

      I will try again with the new snapshot but just in case, does anyone know what might be happening here? Need me to post more configs?
      Here's a little screenshot of the log page for the DNSforwarder, seems to be complaining about rebind attacks??

      1 Reply Last reply Reply Quote 0
      • E
        eri-- last edited by

        What do you have in /var/etc/resolv.conf?

        Do you have the right servers in there?

        1 Reply Last reply Reply Quote 0
        • luckman212
          luckman212 LAYER 8 last edited by

          resolv.conf has:

          127.0.0.1
          8.8.8.8
          4.2.2.1
          8.8.4.4
          4.2.2.2

          1 Reply Last reply Reply Quote 0
          • E
            eri-- last edited by

            All these are manually configured entries?
            If yes, did you specify any gateway/interface for them to go out from?

            Or just post the configuration of your system related to dns, interfaces and gateways.

            1 Reply Last reply Reply Quote 0
            • luckman212
              luckman212 LAYER 8 last edited by

              Yes these are manually entered (not the ISP-assigned ones) via System → General

              Here's WAN1 interface

              WAN2

              Gateways

              GW group

              Routing LAN→WAN via HAroute

              am I doing something wrong??

              1 Reply Last reply Reply Quote 0
              • First post
                Last post