Navigation

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

    DNS problem with 0.95.8

    Installation and Upgrades
    3
    27
    7946
    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.
    • E
      Emab last edited by

      After the upgrade to 0.95.8, DNS server are not taken by DHCP/PPP on WAN. So I have to manual put the DNS IP address.

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

        I am not seeing this here.

        Please show me:

        cat /var/etc/resolv.conf
        cat /var/etc/nameserver*

        1 Reply Last reply Reply Quote 0
        • E
          Emab last edited by

          This is if I don't set the DNS manually.

          # cat /var/etc/resolv.conf
          domain local
          
          
          # cat /var/etc/nameserver*
          85.37.17.13
          
          
          1 Reply Last reply Reply Quote 0
          • T
            thinair last edited by

            I have the same issue.

            In the resolv.conf file and nameserver file I get the same thing, just with my ISP's DNS server instead.

            Below is the GUI, looks sorta weird, the ISP DNS servers cell is missing.


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

              Okay, thats cosmetic.

              I'll fix now.

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

                I can't duplicate the issue with stock DHCP.  I guess everyone is running PPPoE?  I see thinair's screenshot which supports this hunch.

                Please modify /etc/rc.newwanip and insert:

                /* regenerate DNS servers / resolv.conf */
                        system_resolvconf_generate();

                Right before:

                /* signal filter reload */
                touch("/tmp/filter_dirty");

                Does it fix it?

                1 Reply Last reply Reply Quote 0
                • E
                  Emab last edited by

                  I've chnaged rc.newwanip.

                  Now i've the "ISP DNS servers" filed in GUI, but it's blank. And the DNS is still not running…

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

                    @Emab:

                    I've chnaged rc.newwanip.

                    Now i've the "ISP DNS servers" filed in GUI, but it's blank. And the DNS is still not running…

                    What does /var/etc/resolv.conf show now?

                    Please make a screenshot of what you mean as blank.

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

                      not for me….

                      still the same as it was.

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

                        update_file.sh /etc/inc/pfsense-utils.inc

                        And please try again.

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

                          I did that and rebooted, still not resolved.

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

                            Okay, I'm still waking up, but I think that it should be okay now.

                            update_file.sh /etc/inc/pfsense-utils.inc

                            And reboot again.

                            BUMP!  Please test this ASAP, I'm about out of time for the day and need to get a new version out the door if this fixes your issue!

                            1 Reply Last reply Reply Quote 0
                            • E
                              Emab last edited by

                              Still not running.

                              Now I get "Fatal error: Call to a member function on a non-object in /etc/inc/pfsense-utils.inc on line 1118" going in the Firmware menu (/system_firmware_check.php).

                              In the GUI, in Interface, now i can read the DNS. This is the HTML:

                              ISP DNS servers
                              
                              		85.37.17.13
                              
                              

                              (I noted the two "
                              ". I think it's only comestic).

                              /var/etc/nameserver.conf is not found.

                              # cat /var/etc/resolv.conf
                              domain local
                              
                              

                              Tell me if you need anything else.

                              Best.
                              Emanuele

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

                                That is because we mixed head with RELENG_1.  Try this from a shell:

                                fetch -o /etc/inc/pfsense-utils.inc "http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/~checkout~/pfSense/etc/inc/pfsense-utils.inc?rev=1.316.2.23;content-type=text%2Fplain;only_with_tag=RELENG_1"

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

                                  @sullrich:

                                  Okay, I'm still waking up, but I think that it should be okay now.

                                  update_file.sh /etc/inc/pfsense-utils.inc

                                  And reboot again.

                                  BUMP!  Please test this ASAP, I'm about out of time for the day and need to get a new version out the door if this fixes your issue!

                                  still the same

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

                                    I'm at a loss, because Emab says the interfaces now show in interfaces status.

                                    What i've done REALLY should have fixed it.

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

                                      @sullrich:

                                      That is because we mixed head with RELENG_1.  Try this from a shell:

                                      fetch -o /etc/inc/pfsense-utils.inc "http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/~checkout~/pfSense/etc/inc/pfsense-utils.inc?rev=1.316.2.23;content-type=text%2Fplain;only_with_tag=RELENG_1"

                                      still the same :(

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        Emab last edited by

                                        I try with

                                        fetch -o /etc/inc/pfsense-utils.inc "http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/~checkout~/pfSense/etc/inc/pfsense-utils.inc?rev=1.316.2.23;content-type=text%2Fplain;only_with_tag=RELENG_1"
                                        

                                        But still not running…

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

                                          @Emab:

                                          I try with

                                          fetch -o /etc/inc/pfsense-utils.inc "http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/~checkout~/pfSense/etc/inc/pfsense-utils.inc?rev=1.316.2.23;content-type=text%2Fplain;only_with_tag=RELENG_1"
                                          

                                          But still not running…

                                          Sorry but I am out of options/fixes then.

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

                                            Wait, found some more stuff…

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

                                              Okay, run this from a shell:

                                              /etc/rc.conf_mount_rw
                                              fetch -o /etc/inc/system.inc "http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/~checkout~/pfSense/etc/inc/system.inc?rev=1.79.2.12;content-type=text%2Fplain;only_with_tag=RELENG_1"

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

                                                I get this:
                                                fetch: http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/~checkout~/pfSense/etc/inc/system.inc?rev=1.79.2.12;content-type=text%2Fplain;only_with_tag=RELENG_1: No address record

                                                In fact I've always gotten that no address record message with every fetch entered here.

                                                Anyway, still didn't work.  I appreciate the effort you're putting into this though.  I guess it is a PPPoE thing?

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

                                                  Wait for the next update then.

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

                                                    Please try:

                                                    http://www.pfsense.com/~sullrich/?M=D

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

                                                      Unrelated, but when uploading a new image to the firewall I don't get a seperate window stating the speed and completion.  Just the progress bar at the bottom of the browse (IE) is progressing.

                                                      Ok, DNS works, at 'ISP DNS servers' it shows two indentical IP addresses though.

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

                                                        Progress bar has been removed.  It's not compatible with LightHTTPD.

                                                        Duplicate DNS server issue just fixed and will be included with next release.

                                                        1 Reply Last reply Reply Quote 0
                                                        • E
                                                          Emab last edited by

                                                          @sullrich:

                                                          Okay, run this from a shell:

                                                          /etc/rc.conf_mount_rw
                                                          fetch -o /etc/inc/system.inc "http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/~checkout~/pfSense/etc/inc/system.inc?rev=1.79.2.12;content-type=text%2Fplain;only_with_tag=RELENG_1"

                                                          Perfect!
                                                          Doing this, now the DNS is ok!!
                                                          Great Job!

                                                          Thank you!

                                                          1 Reply Last reply Reply Quote 0

                                                          Products

                                                          • Platform Overview
                                                          • TNSR
                                                          • pfSense
                                                          • Appliances

                                                          Services

                                                          • Training
                                                          • Professional Services

                                                          Support

                                                          • Subscription Plans
                                                          • Contact Support
                                                          • Product Lifecycle
                                                          • Documentation

                                                          News

                                                          • Media Coverage
                                                          • Press
                                                          • Events

                                                          Resources

                                                          • Blog
                                                          • FAQ
                                                          • Find a Partner
                                                          • Resource Library
                                                          • Security Information

                                                          Company

                                                          • About Us
                                                          • Careers
                                                          • Partners
                                                          • Contact Us
                                                          • Legal
                                                          Our Mission

                                                          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                                                          Subscribe to our Newsletter

                                                          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                                                          © 2021 Rubicon Communications, LLC | Privacy Policy