Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configure DNS to point to domain controller[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Sun Nov 13, 2016 4:03 pm    Post subject: configure DNS to point to domain controller[solved] Reply with quote

I'm trying to configure my gentoo box as a dns server that points to the domain controller(a windows 2012 R2 machine) so other machines can join the domain
gentoo machine 192.168.123.1 name ns
domain controller(ad) 192.168.123.10 name dc

named config:
options {
listen-on port 53 { 192.168.123.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/bind";
dump-file "/var/bind/data/cache_dump.db";
statistics-file "/var/bind/data/named_stats.txt";
memstatistics-file "/var/bind/data/named_mem_stats.txt";
allow-query { 192.168.123.0/24; };
recursion yes;
};
zone "networker.com" IN {
type master;
file "/var/bind/dyn/networker.com";
allow-update { 172.30.0.0/24; 192.168.1.0/24; };
};

zone "_msdcs.networker.com" IN {
type master;
file "/var/bind/dyn/_msdcs.networker.com";
allow-update { 172.30.0.0/24; 192.168.1.0/24; };
};




zone files:
/var/bind/dyn/_msdcs.networker.com:
$TTL 3H
@ IN SOA ns.networker.com. admin.networker.com. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS ns.networker.com.


/var/bind/dyn/networker.com:
$TTL 3H
@ IN SOA ns.networker.com. admin.networker.com. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS ns.networker.com.
ns IN A 192.168.123.1
dc IN A 192.168.123.10





what do I need to modify to get other windows machines(using NS as dns) to join the domain ?

thanks


Last edited by Adel Ahmed on Sun Nov 13, 2016 6:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Sun Nov 13, 2016 6:46 pm    Post subject: Reply with quote

apparently I had the domain name typed in incorrectly, the machine can join the domain without a configured dns server
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum