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

DNS and Multi WAN issues (still)

Scheduled Pinned Locked Moved DHCP and DNS
19 Posts 6 Posters 7.7k 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
    lothar
    last edited by Apr 16, 2007, 9:50 PM

    Ive got the same problem I guess. When I switch from Cable to ADSL connection, I lost DNS resolving….

    Ping works but no resolving...

    I tried to put DNS server in /var/etc/nameserver_dc0, it changes nothing...

    OK Some Explanation ???

    ADSL = dc0 ----> /var/etc/nameserver_dc0 (I guess its for ADSL DNS servers)
    CABLE = fxp0 ----> /var/etc/nameserver_fxp0 (I guess its for CABLE DNS servers)

    When CABLE goes down (fxp0) it should use ADSL (dc0) ?? So why resolving is not working even if in these 2 files, dns servers are written ????

    I tried with the version 1.0.1 and now with BETA4 but its still the same ...............

    I would be very grateful if someone got an idea.

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Apr 16, 2007, 9:51 PM

      @lothar:

      Ive got the same problem I guess. When I switch from Cable to ADSL connection, I lost DNS resolving….

      Ping works but no resolving...

      I tried to put DNS server in /var/etc/nameserver_dc0, it changes nothing...

      OK Some Explanation ???

      ADSL = dc0 ----> /var/etc/nameserver_dc0 (I guess its for ADSL DNS servers)
      CABLE = fxp0 ----> /var/etc/nameserver_fxp0 (I guess its for CABLE DNS servers)

      When CABLE goes down (fxp0) it should use ADSL (dc0) ?? So why resolving is not working even if in these 2 files, dns servers are written ????

      I tried with the version 1.0.1 and now with BETA4 but its still the same ...............

      I would be very grateful if someone got an idea.

      I answered this earlier in this thread.  You need to add 1 dns server from each isp and then create the static routes manually in the GUI.

      You should never edit files in the filesystem.. They are all auto generated.

      1 Reply Last reply Reply Quote 0
      • L
        lothar
        last edited by Apr 16, 2007, 10:56 PM Apr 16, 2007, 10:34 PM

        Can u tell me what does it looks like ? the static routes ???

        Ty very much for uR help. PLiZ pliZ PliZ :D

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by Apr 16, 2007, 11:00 PM

          http://doc.pfsense.org/index.php/Multi-Wan/Load-Balancing#Setting_up_DNS_for_Load_Balancing

          1 Reply Last reply Reply Quote 0
          • L
            lothar
            last edited by Apr 17, 2007, 12:21 AM

            TY so much, it works :D U r just a genius TYTYTYTY

            1 Reply Last reply Reply Quote 0
            • E
              eric
              last edited by Apr 17, 2007, 5:41 PM

              @hoba:

              In your special case you can remove the static routes for the dns servers as they are directly in the subnet of your WAN interfaces. Does it work then?

              I will attempt to try this later on tonight.
              Thanks hoba

              1 Reply Last reply Reply Quote 0
              • E
                eric
                last edited by May 2, 2007, 10:03 PM

                hey everyone
                I have got my network setup as i described earlier, except i have use ISP dns servers, not my linksys routers,  and all is working properly on the LAN, however, if i try to loadbalnce on an OPT interface, I lose DNS resolution.  DNS forwarder is turned on.
                My static routes are fine, traceroute shows proper gateway, netstat -rn shows both dns servers properly.  and like i said everything works on the LAN interface but not the OPT.  Any ideas on that one?

                1 Reply Last reply Reply Quote 0
                • C
                  cmb
                  last edited by May 3, 2007, 1:55 AM

                  @eric:

                  hey everyone
                  I have got my network setup as i described earlier, except i have use ISP dns servers, not my linksys routers,  and all is working properly on the LAN, however, if i try to loadbalnce on an OPT interface, I lose DNS resolution.  DNS forwarder is turned on.
                  My static routes are fine, traceroute shows proper gateway, netstat -rn shows both dns servers properly.  and like i said everything works on the LAN interface but not the OPT.  Any ideas on that one?

                  What version? This sounds a lot like a multi-WAN NAT bug that was fixed in 1.2, if you're not running 1.2b1 you should.

                  1 Reply Last reply Reply Quote 0
                  • E
                    eric
                    last edited by May 3, 2007, 6:25 AM

                    i am using version 1.2-BETA-1-TESTING-SNAPSHOT-04-30-07

                    1 Reply Last reply Reply Quote 0
                    • E
                      eric
                      last edited by May 4, 2007, 2:51 AM

                      ok i updated to 1.2-BETA-1-TESTING-SNAPSHOT-05-02-07 and i'm still having issues.  no DNS on any OPT interface..

                      1 Reply Last reply Reply Quote 0
                      • E
                        eric
                        last edited by May 4, 2007, 9:40 PM

                        nobody have any ideas on what might be wrong? ???

                        1 Reply Last reply Reply Quote 0
                        • H
                          hoba
                          last edited by May 4, 2007, 9:55 PM

                          Must be a configuration issue. It's working fine here and for a lot of other people. Try to rebuild from scratch following closely the documentation.

                          1 Reply Last reply Reply Quote 0
                          • E
                            eric
                            last edited by May 8, 2007, 5:15 AM

                            OK I have rebuilt from scratch now like 10 times following the guide to the word, and still having the same issue.  DNS resolution does not work on the OPT interfaces with the DNS forwarder turned on when the gateway is set to the load balancer.  If i set the gateway to the default then DNS works fine.  On the LAN interface DNS works fine with the load balancer.. I don't know what to do.  Its driving me crazy.

                            I am at a total loss for what to do.  It seems like this should be working. I have even gone to the lengths of replacing all hardware, except for my 4 port NIC.  That NIC has the LAN and 3 OPT interfaces

                            1 Reply Last reply Reply Quote 0
                            • S
                              sai
                              last edited by May 8, 2007, 5:02 PM

                              Eric, post your configs. Preferably screen shots of your loadbalancer and lan rules. Your network diagram with ip addresses would also be useful in case of misunderstanding.

                              1 Reply Last reply Reply Quote 0
                              • E
                                eric
                                last edited by May 11, 2007, 5:56 PM May 8, 2007, 7:37 PM

                                OK, screen shots of LAN rules, OPT rules, LB rules, LB status, gliffy diagram of layout, config file with passwords errased

                                anything else? i'll be happy to post, i would really like this to work properly.

                                Thanks guys
                                -Eric

                                PS, files to big to upload all of them.. so i posted them on my local webserver.

                                http://artknapp.ca/lanrules.PNG
                                http://artknapp.ca/lbrules.PNG
                                http://artknapp.ca/lbstatus.PNG
                                http://artknapp.ca/optrules.PNG
                                http://artknapp.ca/pfsense.png
                                http://artknapp.ca/config-router.artknapp-20070509032355.xml

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                  This community forum collects and processes your personal information.
                                  consent.not_received