Adding additional dns search domains - is there a maximum?

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








up vote
0
down vote

favorite












I've just moved to Ubuntu 16.04 desktop, I have added a bunch of search domains to the network settings (using Settings -> Network -> Wired -> Options... -> IPv4 Settings).



It seems to have picked up some of the domains I have added, but not all. I use quite a few domains at work so being able to add them all would be really useful. Is there a way to do this? /etc/resolv.conf seems to have 6 of the 10 domains that I had added so I'm assuming that 6 is the limit?



Thanks
Guy










share|improve this question

























    up vote
    0
    down vote

    favorite












    I've just moved to Ubuntu 16.04 desktop, I have added a bunch of search domains to the network settings (using Settings -> Network -> Wired -> Options... -> IPv4 Settings).



    It seems to have picked up some of the domains I have added, but not all. I use quite a few domains at work so being able to add them all would be really useful. Is there a way to do this? /etc/resolv.conf seems to have 6 of the 10 domains that I had added so I'm assuming that 6 is the limit?



    Thanks
    Guy










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I've just moved to Ubuntu 16.04 desktop, I have added a bunch of search domains to the network settings (using Settings -> Network -> Wired -> Options... -> IPv4 Settings).



      It seems to have picked up some of the domains I have added, but not all. I use quite a few domains at work so being able to add them all would be really useful. Is there a way to do this? /etc/resolv.conf seems to have 6 of the 10 domains that I had added so I'm assuming that 6 is the limit?



      Thanks
      Guy










      share|improve this question













      I've just moved to Ubuntu 16.04 desktop, I have added a bunch of search domains to the network settings (using Settings -> Network -> Wired -> Options... -> IPv4 Settings).



      It seems to have picked up some of the domains I have added, but not all. I use quite a few domains at work so being able to add them all would be really useful. Is there a way to do this? /etc/resolv.conf seems to have 6 of the 10 domains that I had added so I'm assuming that 6 is the limit?



      Thanks
      Guy







      networking dns






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 9 at 9:13









      Guy Goodrick

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Yes, 6 domains with a maximum total of 256 characters is the maximum amount of search domains.



          This is a limitation by the BIND DNS client library in GNU libc and is not easily changed.



          See this great answer on Unix Stack Exchange for more information.






          share|improve this answer




















          • Thanks, that's a shame. Ok well I guess I can create a bunch of aliases for connections that I use frequently
            – Guy Goodrick
            Feb 15 at 9:31










          • yes, I know....
            – Robert Riedl
            Feb 15 at 12:31










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2faskubuntu.com%2fquestions%2f1004501%2fadding-additional-dns-search-domains-is-there-a-maximum%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
          0
          down vote













          Yes, 6 domains with a maximum total of 256 characters is the maximum amount of search domains.



          This is a limitation by the BIND DNS client library in GNU libc and is not easily changed.



          See this great answer on Unix Stack Exchange for more information.






          share|improve this answer




















          • Thanks, that's a shame. Ok well I guess I can create a bunch of aliases for connections that I use frequently
            – Guy Goodrick
            Feb 15 at 9:31










          • yes, I know....
            – Robert Riedl
            Feb 15 at 12:31














          up vote
          0
          down vote













          Yes, 6 domains with a maximum total of 256 characters is the maximum amount of search domains.



          This is a limitation by the BIND DNS client library in GNU libc and is not easily changed.



          See this great answer on Unix Stack Exchange for more information.






          share|improve this answer




















          • Thanks, that's a shame. Ok well I guess I can create a bunch of aliases for connections that I use frequently
            – Guy Goodrick
            Feb 15 at 9:31










          • yes, I know....
            – Robert Riedl
            Feb 15 at 12:31












          up vote
          0
          down vote










          up vote
          0
          down vote









          Yes, 6 domains with a maximum total of 256 characters is the maximum amount of search domains.



          This is a limitation by the BIND DNS client library in GNU libc and is not easily changed.



          See this great answer on Unix Stack Exchange for more information.






          share|improve this answer












          Yes, 6 domains with a maximum total of 256 characters is the maximum amount of search domains.



          This is a limitation by the BIND DNS client library in GNU libc and is not easily changed.



          See this great answer on Unix Stack Exchange for more information.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 9 at 11:58









          Robert Riedl

          2,740623




          2,740623











          • Thanks, that's a shame. Ok well I guess I can create a bunch of aliases for connections that I use frequently
            – Guy Goodrick
            Feb 15 at 9:31










          • yes, I know....
            – Robert Riedl
            Feb 15 at 12:31
















          • Thanks, that's a shame. Ok well I guess I can create a bunch of aliases for connections that I use frequently
            – Guy Goodrick
            Feb 15 at 9:31










          • yes, I know....
            – Robert Riedl
            Feb 15 at 12:31















          Thanks, that's a shame. Ok well I guess I can create a bunch of aliases for connections that I use frequently
          – Guy Goodrick
          Feb 15 at 9:31




          Thanks, that's a shame. Ok well I guess I can create a bunch of aliases for connections that I use frequently
          – Guy Goodrick
          Feb 15 at 9:31












          yes, I know....
          – Robert Riedl
          Feb 15 at 12:31




          yes, I know....
          – Robert Riedl
          Feb 15 at 12:31

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004501%2fadding-additional-dns-search-domains-is-there-a-maximum%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error