Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to find out how can I give out more than one DNS suffix on a DC with the Windows DHCP server. Is it possible somehow? (Win 2K8 with XP, Win7 and Linux clients)

share|improve this question
    
It sounds like this is what you're looking for: technet.microsoft.com/en-us/library/dd572752(v=office.13).aspx –  joeqwerty Apr 5 '12 at 10:53

2 Answers 2

up vote 3 down vote accepted

You can use DHCP option 119 for a domain search list. It's format is a String which is semi-colon delimited (e.g. mydomain.com;dev.mydomain.com)

Related:

Which DHCP Client OS Support DHCP Option 119 Domain Suffix Search?

share|improve this answer
    
Thank you. A bit closer to the solution, but the win7 clients do not ask/ignore (haven't made a tcpdump yet) the 119. I read it is only work from GPO, but the clients are not logged into the AD, so I am stuck here –  Gabor Vincze Apr 6 '12 at 7:08

If you have linux clients (and Macs) you can use DHCP option 119 Domain-search-list. If you have a WIndows DHCP server then in the windows DHCP snap-in you'll find it in the server scope pre-defined options. You have to add option 119 there. You have to choose byte array and you have to enter the bytes of the search domains in a kind of weird pascal string format. It's easier to enter them backwards in windows DHCP snap-in.

ex.com,am.com would be in hex:

02 0x065 0x78 03 0x63 0x6f 0x6d 0x00 0x02 0x61 0x6d 0x03 0x63 0x6f 0x6d 0x00
2bytes e x 3bytes c o m 0null 2bytes a m 3bytes c o m 0null

Windows clients will ignore this though. For them you have to use a GPO.

It's much simpler with a linux DHCP server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.