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

DNS Forwarder - dies when WAN2 goes down (dnsmasq)

Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
5 Posts 2 Posters 1.3k Views
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.
  • L
    luckman212 LAYER 8
    last edited by Mar 6, 2013, 12:34 PM

    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 Mar 6, 2013, 2:07 PM

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

      Do you have the right servers in there?

      1 Reply Last reply Reply Quote 0
      • L
        luckman212 LAYER 8
        last edited by Mar 6, 2013, 2:42 PM

        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 Mar 7, 2013, 9:11 AM

          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
          • L
            luckman212 LAYER 8
            last edited by Mar 7, 2013, 11:57 AM

            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
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received