Debug dnsmasq not loading conf?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












On my laptop Ubuntu 16.04 I place a conf file at /etc/dnsmasq.d/myApp.conf with:



custom.myApp.com=192.168.12.1


Then I turn an Access Point on 192.168.12.1 and I can nmap custom.myApp.com to see all my ports mirrored.



Yet when I try the same thing on an embedded device running Ubuntu 14.04 my settings don't seem to take effect.



The dnsmasq versions are 2.75 and 2.68. Is there a way I can check what configuration files are being loaded?







share|improve this question
























    up vote
    0
    down vote

    favorite












    On my laptop Ubuntu 16.04 I place a conf file at /etc/dnsmasq.d/myApp.conf with:



    custom.myApp.com=192.168.12.1


    Then I turn an Access Point on 192.168.12.1 and I can nmap custom.myApp.com to see all my ports mirrored.



    Yet when I try the same thing on an embedded device running Ubuntu 14.04 my settings don't seem to take effect.



    The dnsmasq versions are 2.75 and 2.68. Is there a way I can check what configuration files are being loaded?







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      On my laptop Ubuntu 16.04 I place a conf file at /etc/dnsmasq.d/myApp.conf with:



      custom.myApp.com=192.168.12.1


      Then I turn an Access Point on 192.168.12.1 and I can nmap custom.myApp.com to see all my ports mirrored.



      Yet when I try the same thing on an embedded device running Ubuntu 14.04 my settings don't seem to take effect.



      The dnsmasq versions are 2.75 and 2.68. Is there a way I can check what configuration files are being loaded?







      share|improve this question












      On my laptop Ubuntu 16.04 I place a conf file at /etc/dnsmasq.d/myApp.conf with:



      custom.myApp.com=192.168.12.1


      Then I turn an Access Point on 192.168.12.1 and I can nmap custom.myApp.com to see all my ports mirrored.



      Yet when I try the same thing on an embedded device running Ubuntu 14.04 my settings don't seem to take effect.



      The dnsmasq versions are 2.75 and 2.68. Is there a way I can check what configuration files are being loaded?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 9 '17 at 17:21









      Philip Kirkbride

      2,2922470




      2,2922470




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          I found the changelog here. I'm thinking 2.72 added the functionality I'm using to load dnsmasq.d/*.



          Version 2.72 
          ...
          Extend --conf-dir to allow filtering of files. So
          --conf-dir=/etc/dnsmasq.d,*.conf
          will load all the files in /etc/dnsmasq.d which end in .conf





          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403575%2fdebug-dnsmasq-not-loading-conf%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            I found the changelog here. I'm thinking 2.72 added the functionality I'm using to load dnsmasq.d/*.



            Version 2.72 
            ...
            Extend --conf-dir to allow filtering of files. So
            --conf-dir=/etc/dnsmasq.d,*.conf
            will load all the files in /etc/dnsmasq.d which end in .conf





            share|improve this answer
























              up vote
              1
              down vote



              accepted










              I found the changelog here. I'm thinking 2.72 added the functionality I'm using to load dnsmasq.d/*.



              Version 2.72 
              ...
              Extend --conf-dir to allow filtering of files. So
              --conf-dir=/etc/dnsmasq.d,*.conf
              will load all the files in /etc/dnsmasq.d which end in .conf





              share|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                I found the changelog here. I'm thinking 2.72 added the functionality I'm using to load dnsmasq.d/*.



                Version 2.72 
                ...
                Extend --conf-dir to allow filtering of files. So
                --conf-dir=/etc/dnsmasq.d,*.conf
                will load all the files in /etc/dnsmasq.d which end in .conf





                share|improve this answer












                I found the changelog here. I'm thinking 2.72 added the functionality I'm using to load dnsmasq.d/*.



                Version 2.72 
                ...
                Extend --conf-dir to allow filtering of files. So
                --conf-dir=/etc/dnsmasq.d,*.conf
                will load all the files in /etc/dnsmasq.d which end in .conf






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 9 '17 at 17:36









                Philip Kirkbride

                2,2922470




                2,2922470



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403575%2fdebug-dnsmasq-not-loading-conf%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Christian Cage

                    How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?