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

DNS Resolver Host Overrides not updating?

2.3-RC Snapshot Feedback and Issues - ARCHIVED
3
6
1.7k
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.
  • D
    Derelict LAYER 8 Netgate
    last edited by Mar 31, 2016, 8:07 AM

    I might be crazy but my 2.3-BETA (amd64) built on Wed Mar 30 06:01:56 CDT 2016 doesn't seem to be updating host_entries.conf when I add/remove host overrides. Can anyone confirm?

    The DHCP static entries are in there but nothing from the Resolver config page.

    Chattanooga, Tennessee, USA
    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
    Do Not Chat For Help! NO_WAN_EGRESS(TM)

    1 Reply Last reply Reply Quote 0
    • N
      NOYB
      last edited by Mar 31, 2016, 8:22 AM

      Works fine on 32 bit.

      2.3-BETA (i386)
      built on Wed Mar 30 07:36:56 CDT 2016
      FreeBSD 10.3-RELEASE

      Add/remove DNS resolver host override updates /var/etc/hosts.

      1 Reply Last reply Reply Quote 0
      • D
        Derelict LAYER 8 Netgate
        last edited by Mar 31, 2016, 8:44 AM

        Hmm. I'm not seeing it. /var/etc/hosts gets touched but no resolver host override entries are added. Just the dhcp static entries with the dhcp lease entries at the bottom.

        Have to try a fresh install/factory config.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • D
          Derelict LAYER 8 Netgate
          last edited by Mar 31, 2016, 9:30 AM Mar 31, 2016, 9:19 AM

          Okay fresh install, default config, hosts file gets updated.

          The first thing that I thought of that might be peculiar to me is I also have DNS Forwarder enabled on 8053. (Long story - involves forcing teen's VLAN to use OpenDNS).

          So I enabled it on the new install too. No more resolver host overrides in the hosts file.

          So I think, for now, I can say:

          DNS Resolver host overrides are not functional if DNS Forwarder is also enabled.

          Lots of juggling required for both configs to coexist and is probably a known compromise to keep one from clobbering the other or something. I have disabled the forwarder for now.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by Apr 2, 2016, 4:33 AM

            Pre-2.3 it used to be done in the opposite preference - only Unbound's host overrides filled /etc/hosts when both were enabled. Problem with that is dnsmasq's host overrides didn't work, and the hosts file's contents don't impact Unbound's resolution. So it's much better to prefer dnsmasq's where both are enabled. Typically the hosts file isn't relied upon for hostname resolution where using Unbound, though there could be scenarios where it is for the host's own name resolution.

            1 Reply Last reply Reply Quote 0
            • D
              Derelict LAYER 8 Netgate
              last edited by Apr 2, 2016, 6:10 AM

              Hmm. Right there in the 2.3 new features and changes file. :/

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

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