Solved

Linux DNS with Windows Domain

Posted on 2014-02-25
8
348 Views
Last Modified: 2014-02-27
I have seen environments where they use Linux DNS and DHCP. They also use Windows active Directory domain and windows 7 Clients.

Windows 7 Clients get their TCP /IP configuration automatically through Linux DHCP


I would like to know how to configure Linux DHCP so that windows 7 will get TCP/IP configuration.

I have done that with Windows DHCP/DNS , but I want t o know how to configure it in linux

Any help will be very much appreciated

thanks
0
Comment
Question by:jskfan
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 8

Assisted Solution

by:Mandeep Khalsa
Mandeep Khalsa earned 100 total points
ID: 39887840
You need to install the DHCP and DNS servers on your linux distro, configure it to your liking similarly to what you h ave done with Windows in the past and that's about it.

DNS Server in Linux is called Bind and based on the distro DHCP will have some variations of to the name. You can use application like Webmin to configure these "servers" in GUI if you are not too familiar with Linux commands.
0
 
LVL 77

Assisted Solution

by:arnold
arnold earned 200 total points
ID: 39888004
AD Relies on DNS and requires its installation on a DC.
You could configure the Linux DNS as a secondary/slave for the AD domain zones including _msdcs.addomain
0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 200 total points
ID: 39888022
To configure DHCP server on linux box, you can refer to below link

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch08_:_Configuring_the_DHCP_Server

TY/SA
0
 

Author Comment

by:jskfan
ID: 39889711
but How do you tell Windows computer, to go and look for DNS IP, Default gateway IP, subnet mask, which are all in DHCP server which is  Linux ?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 77

Accepted Solution

by:
arnold earned 200 total points
ID: 39889841
When any system is configured with settings for obtain IP automatically, when the system starts, it broadcasts a requests "looking for DHCP server" DHCPDiscovery packet.
As long as you have a DHCP on the same segment (broadcast packets can not cross Router/VLAN Boundaries) When the DHCP server receives the DHCPDiscovery packet which includes the MAC Address of the Client.  .......

http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol

DHCP is a standard protocol it does not matter which DHCP Server you have the DHCP Client on any system will be able to discover the available DHCP (as long as it is there), and go through the process of obtaining an IP and any options the DHCP server is configured to provide.
 
AS part of your DHCPd configuration you will include the DNS/NAMESERVER records as DHCP options.

A system that is configured to use its own name server settings, the name servers that are passed as part of the DHCP servers options will be discarded by the client.

i.e. since you have a question about DHCP, and I provide answers to the question and then add .....  Once you reach the end of the DHCP answer, you likely will stop reading any further no matter how insightful the data is. Same with the DHCP client. It is configured for either IP and DNS via DHCP or just the IP and it complies.
0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 200 total points
ID: 39892105
Its easy

Whenever you opt "obtain ip auto" in windows box it opts "DORA" process

1. Discover the DHCP Servers in network
2. Offer from DHCP Server
3. Request from Windows box for IP req
4. Ack from server with IP

after this also server send a msg "DHCPINFORM" which has all those info like DG, DNS etc...

TY/SA
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39892108
in case DORA is not done then it goes for APIPA address.

TY/SA
0
 

Author Closing Comment

by:jskfan
ID: 39892157
Thank you Guys , I will install DHCP and configure it in Linux...
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to clone solaris 10 machine 33 112
linux crontab output 3 66
VirtualBox in Fedora 25 Linux:  Unable to Install OS 11 141
add some character at the end of line in vi 7 62
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now