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

    DNS server from pppoe does not work with 2.0.2

    Scheduled Pinned Locked Moved General pfSense Questions
    34 Posts 11 Posters 13.8k 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.
    • S
      slu
      last edited by

      Hi,

      upgrade today from 2.0.1.to 2.0.2 (amd64).
      After the upgrade, pfsense do not use the dns servers of the pppoe connection  :(

      Look like "Allow DNS server list to be overridden by DHCP/PPP on WAN" do not work.
      We have three PPPoE WAN connections.

      pfsense_2.0.2_general_setup.png
      pfsense_2.0.2_general_setup.png_thumb
      pfsense_2.0.2_system_info.png
      pfsense_2.0.2_system_info.png_thumb
      ppp_log.png
      ppp_log.png_thumb
      wan1_interface.png
      wan1_interface.png_thumb

      pfSense Gold subscription

      1 Reply Last reply Reply Quote 0
      • S
        slu
        last edited by

        I add now four dns servers by hand, but why they are show only on pppoe0 (wan1)?

        add_dns_servers_general_setup.png
        add_dns_servers_general_setup.png_thumb
        isp_dns_servers.png
        isp_dns_servers.png_thumb

        pfSense Gold subscription

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          The interface status page doesn't have the smarts to split up the DNS servers. They always show up on the "wan" interface.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • S
            slu
            last edited by

            @jimp:

            They always show up on the "wan" interface.

            Ok, but why "Allow DNS server list to be overridden by DHCP/PPP on WAN" do not work?
            Work fine on 2.0.1 with three pppoe connections (6 dns server).

            pfSense Gold subscription

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              I don't know. I didn't specifically test pppoe on mine at home with 2.0.2.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • B
                Bentrax
                last edited by

                Hi,
                I am having the same issue with 2.0.2. I switched my slice mack to 2.0.1. Nothing else changed in config. pfSense is not getting the DNS servers from the PPPoE connection…

                Regards,
                Alexander

                1 Reply Last reply Reply Quote 0
                • S
                  slu
                  last edited by

                  Alexander, did you have one or more pppoe connections?

                  pfSense Gold subscription

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    Do you have anything showing up in /var/etc/nameserver_* ?

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • S
                      slu
                      last edited by

                      [2.0.2-RELEASE][user@pfsense]/var/etc(7): ls -l | grep nameserver
                      [2.0.2-RELEASE][user@pfsense]/var/etc(8):
                      

                      No such file.

                      pfSense Gold subscription

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bentrax
                        last edited by

                        @slu: only one connection

                        @jimp: I didn't look in that file, I only locked at the interface status page and there was only 127.0.0.1 the local host as DNS. May the content of that file be different, then I will switch slices again and have a look…

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          Install the System Patches package, then fetch/apply this patch to see if it helps:

                          Name: ppp_dns_fix
                          URL: http://files.nyi.pfsense.org/jimp/patches/ppp_dns_fix_202.patch
                          Path Strip Count: 1
                          Base: /
                          Ignore Whitespace: [X]

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • B
                            Bentrax
                            last edited by

                            Sorry not enough time atm to play around… maybe slu can test...

                            1 Reply Last reply Reply Quote 0
                            • S
                              slu
                              last edited by

                              @jimp:

                              Install the System Patches package, then fetch/apply this patch to see if it helps:

                              Name: ppp_dns_fix
                              URL: http://files.nyi.pfsense.org/jimp/patches/ppp_dns_fix_202.patch
                              Path Strip Count: 1
                              Base: /
                              Ignore Whitespace: [X]

                              [2.0.2-RELEASE][user@pfsense]/var/etc(13): ls -l | grep nameserver
                              -rw-r--r--  1 root  wheel    32 Dec 21 20:29 nameserver_pppoe0
                              -rw-r--r--  1 root  wheel    32 Dec 21 20:29 nameserver_pppoe1
                              -rw-r--r--  1 root  wheel    32 Dec 21 20:29 nameserver_pppoe2
                              [2.0.2-RELEASE][user@pfsense]/var/etc(14):
                              

                              Thank you very much, it work now!
                              Pfsense 2.0.3 release now?

                              I must remove the patch before I upgrade to the next version? How to handle it?

                              pfSense Gold subscription

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                The patch won't reapply itself so it's safe to keep as-is.

                                There may need to be a 2.0.3, hard to tell just yet.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • S
                                  slu
                                  last edited by

                                  @jimp:

                                  There may need to be a 2.0.3, hard to tell just yet.

                                  It is dangerous to upgrade a remote pfsense with pppoe wan connection to 2.0.2, the system can not reconnect without dns server to my openvpn server.

                                  pfSense Gold subscription

                                  1 Reply Last reply Reply Quote 0
                                  • jimpJ
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by

                                    Only if you have not manually defined DNS servers.

                                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                    Need help fast? Netgate Global Support!

                                    Do not Chat/PM for help!

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      Bentrax
                                      last edited by

                                      So the solution for me is to note the DNS servers now, then switch slices, enter the DNS server manually, install the package and the patch (think I can't without DNS, won't find the servers), then remove the manual DNS servers?

                                      I think I'll wait for the next maintenance release…

                                      1 Reply Last reply Reply Quote 0
                                      • jimpJ
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by

                                        Or just define custom DNS servers (like 8.8.8.8 8.8.4.4) and don't use the ones from PPPoE.

                                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

                                        1 Reply Last reply Reply Quote 0
                                        • chpalmerC
                                          chpalmer
                                          last edited by

                                          Yep-  I did the upgrade at my office remotely and had no problems. I had defined dns so did not run into this.

                                          Triggering snowflakes one by one..
                                          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            timur_dav
                                            last edited by

                                            Run into the same problem while doing remote update… Had to specify DNS servers manually. I want to see release without need to patch. Expecting quick 2.0.3

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.