LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-28-2005, 01:22 PM   #1
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
Actice Directory and BIND


Hi,

I read somewhere that AD can use BIND as its DNS service. Can anyone send me some links on how to set this up?

Thanks,
 
Old 11-28-2005, 07:52 PM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
BIND works very well as DNS server for AD, we use BIND 9 with great success, all you have to do is allow zone transfers for the Domain Controllers and dynamic updates for the AD member servers.

Assuming you have 2 AD Domain contollers on IPs 192.168.1.1 and 192.168.1.2, and you have 2 member servers on 192.168.1.4 and 192.168.1.5 the following bold lines added to named.conf should do the trick. The check-names ignore directive is used to allow non-standard characters that the AD uses in its zone names (you can always rely on Microsoft to violate a standard).


A generic named.conf modified for AD DNS......

Code:
 options {
     directory "/etc/namedb";
    pid-file "/var/run/named.pid";
    statistics-file "/var/run/named.stats";

 };
 controls {
     inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
 };
 key "rndc_key" {
     algorithm hmac-md5;
     secret "insert secret string here";
 };
 zone "." {
     type hint;
     file "root.hints";
 };
 zone "0.0.127.in-addr.arpa" {
     type master;
     file "pz/127.0.0";
 };
zone "example.com" {
        type master;
//      notify no;
        file "pz/named.linux";
        check-names ignore;
        allow-transfer { 192.168.1.1;192.168.1.2; };
        allow-update { 192.168.1.4;192.168.1.5;192.168.1.1;192.168.1.2; };
};
zone "1.168.192.in-addr.arpa" {
        type master;
//      notify no;
        file "pz/named.rev-linux";
        check-names ignore;
        allow-transfer { 192.168.1.1;192.168.1.2; };
        allow-update { 192.168.1.4;192.168.1.5;192.168.1.1;192.168.1.2; };
};
HTH
Mad.

Last edited by madluther; 11-29-2005 at 06:23 AM.
 
Old 11-29-2005, 10:48 PM   #3
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Original Poster
Rep: Reputation: 30
So the AD domain controller should still be running DNS and using itself for name resolution and the zone on the AD domain controller should be secondary

I've set it up but, the zone transfers are being denied by BIND. Any hints?
 
Old 11-30-2005, 10:25 AM   #4
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
Quote:
So the AD domain controller should still be running DNS and using itself for name resolution
No, in our case the BIND server is used for AD and name resolution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: MS Active Directory with BIND on Linux ghight Linux - Networking 12 10-27-2012 04:58 AM
DISCUSSION: Configure BIND DNS to Answer Active Directory Queries ghight LinuxAnswers Discussion 1 07-04-2007 09:46 AM
bind and windows ative directory tolerante Linux - Newbie 3 06-06-2005 12:03 PM
Active Directory Using Only BIND 9.2.3 pbb6275 Linux - Networking 0 01-18-2004 04:47 PM
Bind and Active Directory Touchstone Linux - Networking 0 01-08-2002 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration