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

Dnsmasq broken in latest snap

Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
3 Posts 2 Posters 2.4k 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.
  • D
    dhatz
    last edited by May 16, 2013, 3:31 PM May 16, 2013, 3:24 PM

    The latest snap seems to have broken dnsmasq on my system.

    I'm sorry that I don't have the time to look into it right now, but here are the relevant logs from /var/log/resolver.log

    May 16 17:37:45 fw dnsmasq[35362]: bad command line options: bad address
    May 16 17:37:45 fw dnsmasq[35362]: FAILED to start up
    May 16 17:56:12 fw dnsmasq[34887]: bad command line options: bad address
    May 16 17:56:12 fw dnsmasq[34887]: FAILED to start up

    whereas if I just start dnsmasq from CLI it seems to work

    May 16 18:22:40 fw dnsmasq[40934]: started, version 2.66 cachesize 150
    May 16 18:22:40 fw dnsmasq[40934]: compile time options: IPv6 GNU-getopt no-DBus i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack no-ipset auth
    May 16 18:22:40 fw dnsmasq[40934]: reading /etc/resolv.conf
    May 16 18:22:40 fw dnsmasq[40934]: using nameserver 193.x.y.z#53
    May 16 18:22:40 fw dnsmasq[40934]: using nameserver 193.w.y.v#53
    May 16 18:22:40 fw dnsmasq[40934]: ignoring nameserver 127.0.0.1 - local interface
    May 16 18:22:40 fw dnsmasq[40934]: read /etc/hosts - 3 addresses

    1 Reply Last reply Reply Quote 0
    • D
      dhatz
      last edited by May 16, 2013, 3:43 PM May 16, 2013, 3:41 PM

      Uncommenting the log_error line #1666 of /etc/inc/services.inc it seems to be due to a missing space when adding the "address=/test.testdomain.com/192.168.222.111" line that I had in my "Advaced" textarea box in Services -> DNS forwarder:

      May 16 18:44:28 fw php: /services_dnsmasq.php: dnsmasq command: /usr/local/sbin/dnsmasq –all-servers --rebind-localhost-ok --stop-dns-rebind  --address=/test.testdomain.com/192.168.222.111--dns-forward-max=5000 --cache-size=10000 --local-ttl=1

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by May 16, 2013, 4:04 PM

        Try this fix:
        https://github.com/pfsense/pfsense/commit/41567e0639d1e7541e2dbf249e3e569f017e984e

        Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received