LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-07-2006, 08:28 AM   #1
ozk4r
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Rep: Reputation: 0
Question AD+Bind Behind Router


Hi, I have a DNS server running BIND 8.4.6 function correctly, my inquire is how i can configure it to work with Active Directory without a Windows DNS server. Some things that are very important is what the Linux Server and Active Directory Controller are behind a router, they haven't a private adress like a 192.168.0.x . If somebody can help me and the information is not complete here's my email to contact to me oahumada@gmail.com
Thanks
 
Old 06-07-2006, 08:50 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
If I remember right, the domain controller needs to be running DNS. You could set up the Linux box as a secondary, but the primary needs to be a DC.
 
Old 06-07-2006, 08:56 AM   #3
EvilC0P
LQ Newbie
 
Registered: Jun 2006
Location: Montreal
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
If your AD is already installed and configured, with windows's DNS service, all you have to do is take everything in %systemroot%\system32\config\NETLOGON.DNS and to copy it in your zone file. then restart named

or have windows 2k3 update the dns records himself. instructions can be found at this link.
http ://www.microsoft.com/technet/archive/interopmigration/linux/mvc/cfgbind.mspx?mfr=true

(added a space after the http because i cannot put links until i have at least 3 posts...)

add: @ tangle : Linux DNS can be primary. just have to configure your linux dns properly.

Last edited by EvilC0P; 06-07-2006 at 08:57 AM.
 
Old 06-07-2006, 09:16 AM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Quote:
Originally Posted by EvilC0P
add: @ tangle : Linux DNS can be primary. just have to configure your linux dns properly.
Is that true with a 2003 AD? I know is an NT domain it could.
 
Old 06-07-2006, 09:30 AM   #5
EvilC0P
LQ Newbie
 
Registered: Jun 2006
Location: Montreal
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by tangle
Is that true with a 2003 AD? I know is an NT domain it could.
i have done it in class, a year and a half ago. me and my classmate were the only one who figured it out.
but ya it works. BIND rox.

our AD was already installed and configured with the windows dns service, so all we did was pull all the info in that NETLOGON.DNS file and copy it in my named.<whatever> file. i had actually 2 AD in class, so added both AD's informations one after an other in the dns file. then disabled the windows DNS service and everything kept working.

was an interesting experience.
 
Old 06-07-2006, 03:29 PM   #6
ozk4r
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
thankz for comments. I need check something , explain that i did.

i create a master zone that contain:

zone "dcm.dominio.cl" IN {
type master;
file "db.dcm.dominio.cl"
allow-update {192.168.0.29;zeus.;};
check-names ignore;
};
where 192.168.0.29 is an internal ip adress
then the name of dcm.dominio.cl is not a valid subdomain name and almost the name of a controller domain is zeus.dcm.dominio.cl is not a valid Fully qualified name Server and the success visor give to me errors.

my questions is how-to i must configure the router and the zone for answer the queries from outside of my lan and this function is completly.

i will give important data

external ip adress 200.72.141.x
private ip adress of Bind Server 192.168.0.3
private ip adress of controller domain 192.168.0.2

Thankz
 
Old 06-08-2006, 03:52 PM   #7
ozk4r
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thankz for all coments. Problem Fixed, just was necesary create a master zone with the data in the /etc/bind/named.conf
zone "dcm.dominio.cl" IN {
type master;
file "db.dcm.dominio.cl"
allow-update {192.168.0.29;zeus.;};
check-names ignore;
};
and copy paste the code in the NETLOGON.DNS (of a windows server) to the db.dcm.dominio.cl
and it's all.
Thankz
 
  


Reply



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
AD + BIND behind a router ozk4r Linux - Networking 1 06-06-2006 01:20 PM
How to update BIND ./etc/bind/db.coaxcables AndeAnderson Debian 0 03-03-2006 09:35 AM
Subdomains, Router, BIND? kevinmarsh Linux - Networking 5 06-24-2004 04:11 PM
Setting BIND/Sendmail behind a broadband router/firewall ppuddick Linux - Networking 1 03-27-2003 06:20 PM

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

All times are GMT -5. The time now is 03:11 PM.

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