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

    DNS problem with 0.95.8

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    27 Posts 3 Posters 9.5k 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
      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.

          pfsenseWAN.gif
          pfsenseWAN.gif_thumb

          Nelson Papel

          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.

                    Nelson Papel

                    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.

                        Nelson Papel

                        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

                                Nelson Papel

                                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 :(

                                    Nelson Papel

                                    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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.