[task #14129] DNS: implement domain search list (e.g. filled via DHCP)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[task #14129] DNS: implement domain search list (e.g. filled via DHCP)

Jasper Verschueren
URL:
  <http://savannah.nongnu.org/task/?14129>

                 Summary: DNS: implement domain search list (e.g. filled via
DHCP)
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Tue 23 Aug 2016 07:49:58 AM GMT
                Category: None
         Should Start On: Tue 23 Aug 2016 12:00:00 AM GMT
   Should be Finished on: Tue 23 Aug 2016 12:00:00 AM GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                  Effort: 0.00

    _______________________________________________________

Details:






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?14129>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[task #14129] DNS: implement domain search list (e.g. filled via DHCP)

Jasper Verschueren
Follow-up Comment #1, task #14129 (project lwip):

Important when used with mDNS: ".local" shall not be added to domains (not
ending with ".") with 2 or more parts to prevent "stealing" identity when the
normal DNS server does not reply.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?14129>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[task #14129] DNS: implement domain search list (e.g. filled via DHCP)

Jasper Verschueren
Follow-up Comment #2, task #14129 (project lwip):

I have not seen PC systems (Windows or Linux) in which ".local" is a DNS
search domain. So ".local" must be explicitly in the hostname in order to do
an mDNS lookup.

See here for a usage example for Mac: Adding “local” to the DNS Search
Domains has no effect
<https://apple.stackexchange.com/questions/164015/adding-local-to-the-dns-search-domains-has-no-effect>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?14129>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[task #14129] DNS: implement domain search list (e.g. filled via DHCP)

Jasper Verschueren
Follow-up Comment #3, task #14129 (project lwip):

A single domain can be obtained from DHCP option 15.

A domain search list could also be obtained from DHCP option 119. However,
from what I've read, Windows doesn't request option 119, and Windows DHCP
servers don't provide it. Linux and MacOS do request it though. See: Which
DHCP Client OS Support DHCP Option 119 Domain Suffix Search? - Server Fault
<https://serverfault.com/questions/37417/which-dhcp-client-os-support-dhcp-option-119-domain-suffix-search>.

Note that getting the domain from DHCP option 15 may be useful for other
things besides DNS domain. For example, RFC 3958
<https://tools.ietf.org/html/rfc3958> defines DDDS which does DNS look-ups of
services (using NAPTR, SRV) for the local domain which can be discovered with
DHCP option 15. E.g. RFC 6011 SIP User Agent Configuration
<https://tools.ietf.org/html/rfc6011> can use this. So, adding DHCP option 15
support can be useful even before DNS adds support for a domain search list.

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?14129>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[task #14129] DNS: implement domain search list (e.g. filled via DHCP)

Jasper Verschueren
Follow-up Comment #4, task #14129 (project lwip):

Re comment #2:
I know. Comment #1 was meant as a reminder that we need to filter out '.local'
from the DNS search list, even if someone sets it (e.g. via DHCP).

Re comment #3:
Yes, do you want to provide a patch?

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?14129>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel