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

    /etc/resolv.conf begin modified every hour or sooner

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 2.2k 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.
    • G
      Gradius
      last edited by

      My /etc/resolv.conf file is auto-modified every time, it put 127.0.0.1 in there while I don't want that.

      I edited /etc/inc/system.inc, but I'm not sure if that file does that.

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        check if your dns forwarder isn't enabled

        services -> dns forwarder

        Be sure you have rules to permit traffic on dns port before disabling it.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          You do want 127.0.0.1 there, that improves lookup performance. Why do you think you don't? You can turn that off under System>General Setup if you really want but that's not desirable in most all circumstances.

          1 Reply Last reply Reply Quote 0
          • G
            Gradius
            last edited by

            @cmb:

            You do want 127.0.0.1 there, that improves lookup performance. Why do you think you don't? You can turn that off under System>General Setup if you really want but that's not desirable in most all circumstances.

            My local DNS don't works (hence 127.0.0.1).  I have no 127.0.0.1 under System: General Setup too, which is weird.

            Editing the files seems to have fixed it.

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              When the DNS forwarder is enabled, it puts 127.0.0.1 in there automatically so name resolution from the firewall itself uses the performance benefits and local caching of the DNS forwarder. You can check the box under System>General Setup if you don't want it to do that, but you usually want the improved performance of the DNS forwarder (127.0.0.1).

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