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

    Dnsmasq/unbound valid configs rejected by pfsense

    DHCP and DNS
    2
    2
    297
    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
      skullnobrains
      last edited by

      hello all

      i'm trying to setup dnsmasq so a single domain is resolvable by other hosts : basically i'd like to be able to set the following settings in dnsmasq's syntax

      i tried to set this up both in the custom settings and in the domain overrides but pfsense rejects both ! and # as forwarders addresses

      the closest i came up with is

      
      no-resolv
      server=/lan/172.16.200.101
      except-interface=lo0
      

      which produces NXDOMAIN for domains outside the lan rather than REFUSED as i'd expect
      any known ways to get an actual explicit rejection ?

      –

      ideally, i'd like to instruct dnsmasq not to listen on the loopback and have unbound resolve queries for the firewall itself, or possibly the opposite
      but pfsense won't let me enable unbound on the loopback because it claims there is a port conflict
      nevertheless there is none since i instructed dnsmasq not to listen on lo0
      any way to force the config ?

      thanks for your time

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        So you want to run forwarder and unbound at same time?  There is a conflict not with the control port of 953 I do believe.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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