I have just purchased a TP-LINK Archer C7 v5 and installed OpenWrt 18.06.2 on it. I have managed to set up my port forwarding and other easy bits and bobs without an issue. However I'm having a real mare with my local domain controller which also runs DNS pointing to Google.
Since installing OpenWrt I can't ping my local domain - home.domain.co.uk also my Windows 7 clients will not resolve my domain controller hostname and other servers. What the OpernWrt is trying to do is forwarding this request to WAN for some apparent reason.
C:\Users\artur>ping dcservername
Pinging dcservername.home.domain.co.uk [XX.XXX.XXX.XX] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for XX.XXX.XXX.XX:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)
On my previous router running DD WRT I configured something to make it work but for the life of me I can't seem to remember what that was.
I'm really not clued up on the networking side of things as much as I would like to be so hopefully someone can shed some light on this for me. Thank you in advance.
Place a rule that any lookup for that domain uses the Windows DC(s) - I DO NOT recommend this method
Please understand:
If you hand out Windows DNS servers, then OpenWrt knows the registered hostname; but Windows will receive it via DC updates/login/etc. I don't assume this matters greatly, since you seem to prefer use of the Domain Controller.
Not networking so much as it's: DHCP, DNS and and Windows AD.
Thank you for your prompt reply I really appreciate your input and I will try the first two options and let you know how it went..
I have only built a DC at home as I was learning SCCM and I needed a running DC in the lab environment, however I got sucked into making sure everything was correctly configured on the network side.
I have one more question for you, what will happen if my DC goes offline? Will the clients loose Internet access? If that is the case is it better to go with the first option just in case?
The same thing that happens when any DC goes offline.
The same thing happens - that occurs to any network with offline DCs.
The first option still requires your DC to be online and the only DNS server(s) listed - so I don't quite understand what you believe option 1 would solve.
Thanks again for the info it really helps and apologies for the lack of knowledge here. I suppose I want redundancy and if for any reason the DC pukes folks in the house can still browse the internet etc.
I have not thanked you yet for all the help you have provided for me yesterday I went with the DNS forwarding instead not sure if this is the correct way but at least if the DC pukes the rest pf the family will still be able to browse the internet if I'm not around to fix it.