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

    Dns resolution

    DHCP and DNS
    2
    8
    4.2k
    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
      slyalix
      last edited by

      Hi everybody.

      I setup today my firsr wrap, with a nice alixC3 (thanks pcengines.ch). I installed with Pfsense, it's a nice job.

      I have just a issue with the dns resolution speed…. With my old router (ddwrt) it's fast when surfing the web. I setup PfSense with the sames options (dns, gateway),i just can't anderstand why it's so slow. I had a look in the resolv.conf file, and of course here is the mistake ! In my DDWRT resolv.conf is only field with nameserver : 127.0.0.1....

      I tried to modify this file, but the reboot put back the old value. Is there any other file to edit ?

      Thanks for your help.. :P

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        What did you put under "System" –> "General Setup" --> "DNS servers" ?
        Is the checkbox "Allow DNS server list to be overridden by DHCP/PPP on WAN" active?

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

          In the general setup i put opendns server ip adresses….

          "Is the checkbox "Allow DNS server list to be overridden by DHCP/PPP on WAN" active?"
          ->i tried with both choice, but no change...

          My setup : a modem/router (192.168.1.1), and pfsense (10.0.0.0), i tried with opendns or with my modem-router dns, and it's still slow (DDwRT isn't with the same setup).... I don't have any download speed problem, it's just the dns resolution wich is dramaticly slow !

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

            Is there a script wich sets /etc/resolv.conf on every reboot ? I delete "nameserver domainlocal", but it cames back on the next reboot… I think that's why my dns resolution is sow slow... But i can find where to edit the dns...

            Thanks....

            1 Reply Last reply Reply Quote 0
            • GruensFroeschliG
              GruensFroeschli
              last edited by

              You can always push the OpenDNS entries to the clients directly.
              Just set the OpenDNS IP's in the DHCP config.

              We do what we must, because we can.

              Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

                of course i can… But it's not the best solution... I would prefer have a dns caching from the pfsense box.

                i keep on searching where is the right place to edit the dns...

                1 Reply Last reply Reply Quote 0
                • GruensFroeschliG
                  GruensFroeschli
                  last edited by

                  As i wrote: "System" –> "General Setup" --> "DNS servers"

                  The config is rebuilt from the config.xml file (you can download it in the backup-config menu)  everytime you press save or reboot.

                  What exactly do you want to change manually in the resolv.conf?
                  What do you mean is missconfigured in there?

                  We do what we must, because we can.

                  Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

                    In "System" –> "General Setup" --> "DNS servers" i setup the DNS i use. But the resolv.conf first line contains a line that i suspect to slow the resolution : "domain local"... I would like to have my resolv.conf containing only my dns.

                    Thanks !

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