Link to home
Start Free TrialLog in
Avatar of efaden
efaden

asked on

Linux DHCPD Serving Windows with Multiple domain-name options?

I basically have two domains I want to wind up on the search path, a.b.com and b.com.  If I set
option domain-name "a.b.com b.com";

it works fine on linux/osx boxes, but windows fails.  The reason why is that windows interprets that as a single connection suffix and is now trying to search in
"a.b.com b.com" which is obviously wrong.  Does anyone know how to actually setup dhcpd so I can have all clients have a.b.com and b.com on the search path?
Avatar of Pablo Allietti
Pablo Allietti
Flag of Uruguay image

you only use 1 domain name to your connection because domain-name assume is the ip to name.... for example your machine will be efaden.a.b.com  and if you need search you can separate with , like in the example below

    option domain-name              "test.redhat.com";
    option domain-name-servers      ns1.redhat.com, ns2.redhat.com;
Avatar of efaden
efaden

ASKER

Huh?  I'm still confused.  That doesn't really solve the problem.  My problem is that efaden in that case won't resolve because it isn't in test.redhat.com.  What I really want is to have it search a.b.com and b.com.
Avatar of efaden

ASKER

As an example I have

foo.a.b.com as the computer getting dhcped....
bar.b.com as the server giving dhcp info....

I want foo.a.b.com to be able to lookup both foo and bar without the a.b.com b.com (i.e. they are in the search path).

-Eric
ASKER CERTIFIED SOLUTION
Avatar of alextoft
alextoft
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial