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

    DNS Forwarder (dnsmasq?): Safe to 'import' /etc/hosts from another dnsmasq instance?

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 365 Views 3 Watching
    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.
    • N Offline
      nobillgates
      last edited by

      pfSense CE 2.5.2

      If I paste the old hosts file from another dnsmasq system, would it be safe here, or is this rebuilt/rewritten from data elsewhere on reboot/upgrade?

      MTIA

      ;-}
      P

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @nobillgates
        last edited by

        @nobillgates said in DNS Forwarder (dnsmasq?): Safe to 'import' /etc/hosts from another dnsmasq instance?:

        or is this rebuilt/rewritten from data elsewhere on reboot/upgrade?

        Look at the date and time of that file.
        pfSense regenates (overwrites) it as soon as DNS related setting changes.

        When you use pfSense, you use the GUI to change or add settings.

        What's in your host file that you can't enter somewhere in the GUI ?

        Btw IMHO : : dnsmasq, the forwarder, still exists for compatibility reasons and will probably be relomed in the future. Suggestion : use unbound instead.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          nobillgates @Gertjan
          last edited by

          @gertjan

          Thanks for the prompt reply.

          Indeed. Not long after I initially posted I found the file to be rebuilt with just the pfSense host in it.

          Looks like the best way is to add DNS Host Overrides. Only about 50 entries, so just need a little patience.

          Thanks for the advice on dnsmasq. Will look into unbound, too.

          ;-}
          P

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