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

    DNS Domain Search List

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 3 Posters 4.1k 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.
    • M
      mattsah
      last edited by

      Hello all,

      I've been looking into why my windows and OS X clients don't get the same name resolution as my Linux systems on a network, and there seems to be a number of tickets pointing to a domain-search-list option that needs to be added to dhcpcd.  There's some code in the config on 2.0.2 for domain-search-list code 119 = text; but no addtional code for domain-search-list generation.  The domain-search option which lists the multiple domains found in the web GUI config works on my linux systems, but it seems domain-search-list may be needed for others?

      Can anyone point me in the right direction on this?  Every patch / bug I saw says at 2.0.1 that it would be in the next release, but looking at my dhcpcd.conf file it's not in there, just the code 119 line and the normal domain-search line, not domain-search-list.

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

        how many domains do you need to search?  The gui has items for domain search list under dhcp server, I am running 2.1 - so maybe thats not there in 2.0.2 or .3?

        But I just use my local.lan, and my window boxes search it just fine.

        searchlist.jpg
        searchlist.jpg_thumb

        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
        • M
          mattsah
          last edited by

          I have that option, which creates an entry in the dhcpcd config file such as:

          option domain-search "domain1.example.com", "example.com"

          From what I can understand, however, the domain-search-list option should be used, which is formatted like "domain1.example.com example.com"

          You can see someone else who tried to address this below:

          http://forum.pfsense.org/index.php/topic,47579.0.html

          This was listed as affecting 2.0.1 and said it would be in the next release in that thread.  Does your dhcpcd.conf file contain the right format?

          1 Reply Last reply Reply Quote 0
          • T
            tim.mcmanus
            last edited by

            Although it isn't noted in the 2.0.3 release, but in johnpoz's screen shot his field is asking for a semicolon to be used as a separator.  Might work on 2.0.2/3 releases although it isn't noted in the field.  I would think this would have a better chance of working under 2.0.3, but that's just a guess.

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

              Again how many domains do you need to search..  Looks like all you want is parent appending search which is by default in windows, and could be adjusted via gp if needed.

              So if you put in domain1.example.com as your domain - windows by default would search domain1.example.com and then example.com and then even I believe just .com

              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
              • M
                mattsah
                last edited by

                Sorry, I overlooked that part.  That was just an example, I have three search domains I need.

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