Posted: Sun Mar 21, 2010 16:19 Post subject: dd-wrt & domain netowrk with windows server 2008
Hello,
how can i setup my dd-wrt powered router to work with local domain controller?
the problem is, because i dont know how to setup DNS in dd-wrt, since i need my router to give away 2 dns servers (one router's and one windows server's), and they both need to be authoritative, otherwise i can't ping or join domain.
i managed to set up DNS in dd-wrt to point to windows server (domain controller) and everything is ok, but if i turn off that machine, my dns aren't working. so i need my router to change dns from windows to local or ISP's, so i can browse internet with no problems.
You're right that the normal way is to just point DD-WRT to the server, but if that machine is going to be down, configure an external DNS right below where you configured the server's in DD-WRT. You'll notice in the WAN Connection Type (Static IP) that there's space for three.
No, I didn't realize you were using it for PPPoE (the DNS I was referring to appears in the top section if you were running WAN static). The DNS you see in the DHCP section would be if you have the router serving DHCP, which is not normally the case in a domain environment.
Is that what you were referring to when you said you pointed the router's DNS at the server?
What about if you configure the DHCP you are using, Windows Server's, to issue a secondary DNS to workstations (i.e. something besides the server's IP)? When the server is down, that should still be fine, because the cached credential system still allows the user to login, and your previous client IP settings should then be in effect.
heh thanks for all the help, i did it. this domain network is strictly school related, personally i think it's too much for use in home network.
anyway this is how i did it:
i set up local dns under router IP to windows server IP
and then entered ISP's dns servers next to static dns 1 and static dns 2. this works, i was able to join to domain using netbios and fqdn, and if i shut down server, pages are still resolving properly.
heh thanks for all the help, i did it. this domain network is strictly school related, personally i think it's too much for use in home network.
anyway this is how i did it:
i set up local dns under router IP to windows server IP
and then entered ISP's dns servers next to static dns 1 and static dns 2. this works, i was able to join to domain using netbios and fqdn, and if i shut down server, pages are still resolving properly.
br
I am looking to try this very thing. But tell me.
I already have the dd-wrt operating as the local dns and dhcp server.
That is I have enabled "Use DNSMasq for DHCP" and Use DNSMasq for DNS"
Then in the services page i have local dns enabled.
So the router is acting as a dns server for the network.
In this setup the ip of the dd-wrt router is pushed with a dhcp lease.
So if I want to add a domain controller and log into it from a client where dhcp is served from the dd-wrt router it will get the ip from the ddwrt router as the dns which would be a faulty setup. It should get the ip of the domain controller.
Now what would happen if i put in the windows server ip as the local dns in the router IP section. Is this not two dns ip values conflicting somehow on the same router? I can't understand it.
1/
Which ip will the ddwrt router push out with the dhcp lease?
2/ when the domain controller is off is it that the router will fall back to using its own dnsmasq server for dns?