multiple domain search for dhcp client

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

multiple domain search for dhcp client

Teja
Hi I want to send multiple domains information to the dhcp client from the dhcp server, but the option domain-name is taking only one domain, I cannot give comma separated list for it, On surfing the internet I found the option 119 where we can give comma separate list.
I have added it to my config but the dhcp client is not getting the info, because in the dhcp client request packet it is not asking for option 119 
Is there any way that dhcp server can offer all the options defined in its scope modules to the client irrespective of the client asking for the specific option or 
Any way of introducing the specific option in the request packet from the client to dhcp server and make use of it. 




Thanks in advance.


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

Re: multiple domain search for dhcp client

Andrew Bell
What OS are your clients?  Windows does not request or use option 119, you have to set it with group policy.

On Sun, Oct 13, 2019 at 10:52 AM Surya Teja <[hidden email]> wrote:
Hi I want to send multiple domains information to the dhcp client from the dhcp server, but the option domain-name is taking only one domain, I cannot give comma separated list for it, On surfing the internet I found the option 119 where we can give comma separate list.
I have added it to my config but the dhcp client is not getting the info, because in the dhcp client request packet it is not asking for option 119 
Is there any way that dhcp server can offer all the options defined in its scope modules to the client irrespective of the client asking for the specific option or 
Any way of introducing the specific option in the request packet from the client to dhcp server and make use of it. 




Thanks in advance.

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

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

Re: multiple domain search for dhcp client

Andrew Bell
In reply to this post by Teja
Sorry, let me clarify my last response.

Even if you do force option 119 into the dhcp response when it's not requested, Windows would still ignore it.

On Sun, Oct 13, 2019 at 10:52 AM Surya Teja <[hidden email]> wrote:
Hi I want to send multiple domains information to the dhcp client from the dhcp server, but the option domain-name is taking only one domain, I cannot give comma separated list for it, On surfing the internet I found the option 119 where we can give comma separate list.
I have added it to my config but the dhcp client is not getting the info, because in the dhcp client request packet it is not asking for option 119 
Is there any way that dhcp server can offer all the options defined in its scope modules to the client irrespective of the client asking for the specific option or 
Any way of introducing the specific option in the request packet from the client to dhcp server and make use of it. 




Thanks in advance.

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

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

Re: multiple domain search for dhcp client

Teja


Even if you do force option 119 into the dhcp response when it's not requested, Windows would still ignore it. --->
Few of them are windows and few are unix

Even if you do force option 119 into the dhcp response-----> 
How can we do it force option in general I want to try other options also.

you have to set it with group policy.----> 
I am not aware of this, can you please itemize it or any reference can also be more helpfull 


Thanks

On Sun, 13 Oct 2019, 20:49 Andrew Bell, <[hidden email]> wrote:
Sorry, let me clarify my last response.

Even if you do force option 119 into the dhcp response when it's not requested, Windows would still ignore it.

On Sun, Oct 13, 2019 at 10:52 AM Surya Teja <[hidden email]> wrote:
Hi I want to send multiple domains information to the dhcp client from the dhcp server, but the option domain-name is taking only one domain, I cannot give comma separated list for it, On surfing the internet I found the option 119 where we can give comma separate list.
I have added it to my config but the dhcp client is not getting the info, because in the dhcp client request packet it is not asking for option 119 
Is there any way that dhcp server can offer all the options defined in its scope modules to the client irrespective of the client asking for the specific option or 
Any way of introducing the specific option in the request packet from the client to dhcp server and make use of it. 




Thanks in advance.

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

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

Re: multiple domain search for dhcp client

sthaug
> Even if you do force option 119 into the dhcp response----->
> How can we do it force option in general I want to try other options also.

See this message from several years ago on the dhcp-users list:

    https://lists.isc.org/pipermail/dhcp-users/2008-August/006971.html

Specifically the section with class "MSFT".

Steinar Haug, Nethelp consulting, [hidden email]
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: multiple domain search for dhcp client

Bill Shirley-2
In reply to this post by Andrew Bell

Oct 13 12:54:48 server1 dhcpd: Host:ABC-CC003=>ABC-CC003  VendorId:MSFT 5.0  MemberOf:Microsoft  PoolType:10.Microsoft
ReqAddr:(none)  ReqTime:(none)  LeaseTime:21600  Renewal:(none)  Rebind:(none)  TTL:10801  IPv4:10.98.0.198  MAC:6c:2b:59:e3:18:19
ClientId:1:6c:2b:59:e3:18:19  myClientId:6c:2b:59:e3:18:19  Circuit:(none)  Link:(none)  ReqOpt:1,3,6,15,31,33,43,44,46,47,119,121,249,252
VenEncOp:(none)  vivso:(none)  vivc:(none)
My Windows clients request option 119.

Try adding this to your "log" statement:
"  ReqOpt:", pick-first-value(binary-to-ascii(10, 8, ",", option dhcp-parameter-request-list), "(none)")

Bill

On 10/13/2019 11:11 AM, Andrew Bell wrote:
What OS are your clients?  Windows does not request or use option 119, you have to set it with group policy.
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

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

Re: multiple domain search for dhcp client

Bill Shirley-2
In reply to this post by sthaug

I have seen this on the web but never used it:
if exists dhcp-parameter-request-list {
# Always send the local-pac-server (252) option (specified in hexadecimal, ie: 252 = 0xfc)
    option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list, fc);
}

This should force sending the option but it's entirely up to the client if it uses it.

Bill

On 10/13/2019 1:47 PM, [hidden email] wrote:
Even if you do force option 119 into the dhcp response----->
How can we do it force option in general I want to try other options also.
See this message from several years ago on the dhcp-users list:

    https://lists.isc.org/pipermail/dhcp-users/2008-August/006971.html

Specifically the section with class "MSFT".

Steinar Haug, Nethelp consulting, [hidden email]
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

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

Re: multiple domain search for dhcp client

Andrew Bell
In reply to this post by Bill Shirley-2
Interesting. Does it use it though? 

On Sun., Oct. 13, 2019, 2:23 p.m. Bill Shirley <[hidden email]> wrote:

Oct 13 12:54:48 server1 dhcpd: Host:ABC-CC003=>ABC-CC003  VendorId:MSFT 5.0  MemberOf:Microsoft  PoolType:10.Microsoft
ReqAddr:(none)  ReqTime:(none)  LeaseTime:21600  Renewal:(none)  Rebind:(none)  TTL:10801  IPv4:10.98.0.198  MAC:6c:2b:59:e3:18:19
ClientId:1:6c:2b:59:e3:18:19  myClientId:6c:2b:59:e3:18:19  Circuit:(none)  Link:(none)  ReqOpt:1,3,6,15,31,33,43,44,46,47,119,121,249,252
VenEncOp:(none)  vivso:(none)  vivc:(none)
My Windows clients request option 119.

Try adding this to your "log" statement:
"  ReqOpt:", pick-first-value(binary-to-ascii(10, 8, ",", option dhcp-parameter-request-list), "(none)")

Bill

On 10/13/2019 11:11 AM, Andrew Bell wrote:
What OS are your clients?  Windows does not request or use option 119, you have to set it with group policy.
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

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

Re: multiple domain search for dhcp client

Bill Shirley-2

It's up to the client.  Windows does.  Open a command prompt and issue
"ipconfig /all".  Look for "DNS Suffix Search List".

Bill

On 10/13/2019 6:06 PM, Andrew Bell wrote:
Interesting. Does it use it though? 

On Sun., Oct. 13, 2019, 2:23 p.m. Bill Shirley <[hidden email]> wrote:

Oct 13 12:54:48 server1 dhcpd: Host:ABC-CC003=>ABC-CC003  VendorId:MSFT 5.0  MemberOf:Microsoft  PoolType:10.Microsoft
ReqAddr:(none)  ReqTime:(none)  LeaseTime:21600  Renewal:(none)  Rebind:(none)  TTL:10801  IPv4:10.98.0.198  MAC:6c:2b:59:e3:18:19
ClientId:1:6c:2b:59:e3:18:19  myClientId:6c:2b:59:e3:18:19  Circuit:(none)  Link:(none)  ReqOpt:1,3,6,15,31,33,43,44,46,47,119,121,249,252
VenEncOp:(none)  vivso:(none)  vivc:(none)
My Windows clients request option 119.

Try adding this to your "log" statement:
"  ReqOpt:", pick-first-value(binary-to-ascii(10, 8, ",", option dhcp-parameter-request-list), "(none)")

Bill

On 10/13/2019 11:11 AM, Andrew Bell wrote:
What OS are your clients?  Windows does not request or use option 119, you have to set it with group policy.
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

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

Re: multiple domain search for dhcp client

Andrew Bell
I’ve never seen that set from dhcp. I wonder if there’s a difference between domain joined and standalone?

 

From: dhcp-users <[hidden email]> on behalf of Bill Shirley <[hidden email]>
Sent: Sunday, October 13, 2019 21:53
To: [hidden email]
Subject: Re: multiple domain search for dhcp client
 

It's up to the client.  Windows does.  Open a command prompt and issue
"ipconfig /all".  Look for "DNS Suffix Search List".

Bill

On 10/13/2019 6:06 PM, Andrew Bell wrote:
Interesting. Does it use it though? 

On Sun., Oct. 13, 2019, 2:23 p.m. Bill Shirley <[hidden email]> wrote:

Oct 13 12:54:48 server1 dhcpd: Host:ABC-CC003=>ABC-CC003  VendorId:MSFT 5.0  MemberOf:Microsoft  PoolType:10.Microsoft
ReqAddr:(none)  ReqTime:(none)  LeaseTime:21600  Renewal:(none)  Rebind:(none)  TTL:10801  IPv4:10.98.0.198  MAC:6c:2b:59:e3:18:19
ClientId:1:6c:2b:59:e3:18:19  myClientId:6c:2b:59:e3:18:19  Circuit:(none)  Link:(none)  ReqOpt:1,3,6,15,31,33,43,44,46,47,119,121,249,252
VenEncOp:(none)  vivso:(none)  vivc:(none)
My Windows clients request option 119.

Try adding this to your "log" statement:
"  ReqOpt:", pick-first-value(binary-to-ascii(10, 8, ",", option dhcp-parameter-request-list), "(none)")

Bill

On 10/13/2019 11:11 AM, Andrew Bell wrote:
What OS are your clients?  Windows does not request or use option 119, you have to set it with group policy.
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

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

Re: multiple domain search for dhcp client

Teja
In reply to this post by Teja
Hi ,
If the option 119 is granted by the dhcp server to the dhcp client, will the perference of the domain value matters?
Ex: option domain-search "example.com","example1.com","example2.com" will it makes any difference if the order changes ?

On Mon, 14 Oct 2019, 19:44 dave calafrancesco, <[hidden email]> wrote:
You want to set this:

  option domain-search domain-list;

           The domain-search option specifies a ’search list’ of Domain Names to be used by the
client to locate not-fully-qualified domain names.  The difference between this option and
historic use of the domain-name  option  for
           the same ends is that this option is encoded in RFC1035 compressed labels on the
wire.  For example:

             option domain-search "example.com", "sales.example.com",
                                  "eng.example.com";

Dave

On 10/13/19 09:52, Surya Teja wrote:
> Hi I want to send multiple domains information to the dhcp client from the dhcp server, but the
> option domain-name is taking only one domain, I cannot give comma separated list for it, On
> surfing the internet I found the option 119 where we can give comma separate list.
> I have added it to my config but the dhcp client is not getting the info, because in the dhcp
> client request packet it is not asking for option 119
> Is there any way that dhcp server can offer all the options defined in its scope modules to the
> client irrespective of the client asking for the specific option or
> Any way of introducing the specific option in the request packet from the client to dhcp server
> and make use of it.
>
>
>
>
> Thanks in advance.
>
>
> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users
>

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

Re: multiple domain search for dhcp client

Bill Shirley-2

It's all up to the client what it does with the information DHCP passes out.

It's been my experience that the order DHCP gives on the domain-search
is the order the client uses.

Bill

On 10/15/2019 11:23 AM, Surya Teja wrote:
Hi ,
If the option 119 is granted by the dhcp server to the dhcp client, will the perference of the domain value matters?
Ex: option domain-search "example.com","example1.com","example2.com" will it makes any difference if the order changes ?

On Mon, 14 Oct 2019, 19:44 dave calafrancesco, <[hidden email]> wrote:
You want to set this:

  option domain-search domain-list;

           The domain-search option specifies a ’search list’ of Domain Names to be used by the
client to locate not-fully-qualified domain names.  The difference between this option and
historic use of the domain-name  option  for
           the same ends is that this option is encoded in RFC1035 compressed labels on the
wire.  For example:

             option domain-search "example.com", "sales.example.com",
                                  "eng.example.com";

Dave

On 10/13/19 09:52, Surya Teja wrote:
> Hi I want to send multiple domains information to the dhcp client from the dhcp server, but the
> option domain-name is taking only one domain, I cannot give comma separated list for it, On
> surfing the internet I found the option 119 where we can give comma separate list.
> I have added it to my config but the dhcp client is not getting the info, because in the dhcp
> client request packet it is not asking for option 119
> Is there any way that dhcp server can offer all the options defined in its scope modules to the
> client irrespective of the client asking for the specific option or
> Any way of introducing the specific option in the request packet from the client to dhcp server
> and make use of it.
>
>
>
>
> Thanks in advance.
>
>
> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users
>

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users