We've got a branch office with no on-site services at the moment, and we'd like to change that. The biggest goal is to setup some file servers but faster logins and DNS resolution will be welcome as well.
I'm doing some experiments with some VMs on a separate subnet/VLAN so let's say I've got forest and domain domain.com
:
- There is a single site
Office
with a subnet192.168.1/24
and a single Primary DNS zonedomain.com
- Added a secondary site
TestSite
with a subnet192.168.100/24
- Created
192.168.100
reverse lookup zone in DNS - Created a VM
Branch-DC01
running Server 2012, with IP address192.168.100.1
- Added to
domain.com
as member - Installed
AD DS
as a Read Only Domain Controller (RODC) inTestSite
- The main
DNS
server forBranch-DC01.domain.com
is127.0.0.1
- Setup DHCP scope for the new server and configured for DHCP to always update DNS
- Created
Branch-PC01
VM running Windows 8 and added todomain.com
Branch-PC01
got IP address of192.168.100.20
from DHCP, DNS server192.168.100.1
, entry for the member in the forward lookup zonedomain.com
present but not in the reverse lookup zone (significant?)- On
Branch-PC01
executednslookup domain.com
- result came back with IP addresses of the mainDCs
from theOffice
site (192.168.1
subnet)
Now this isn't right in my mind - shouldn't it return 192.168.100.1
? Or am I misunderstanding the whole concept--and how are the logons supposed to be quicker?
Do I need a separate DNS zone (how would that work without a subdomain which I don't want to create, unless required)?
Any ideas/articles which I can be pointed to would be great; I've read through a bunch of TechNet articles and am none the wiser.
Thanks
Update
Many thanks to @TheCleaner and @charleswj81 your efforts are appreciated.
I've just tried nltest and the result is the same from the branch DC and client PC:
U:\>nltest /dsgetdc:domain.com /server:Branch-DC01.domain.com
DC: \\Branch-DC01.domain.com
Address: \\192.168.100.1
Dom Guid: d97516d3-4afb-4f0a-8c3f-04a800cd69fb
Dom Name: domain.com
Forest Name: domain.com
Dc Site Name: TestSite
Our Site Name: TestSite
Flags: GC DS LDAP KDC TIMESERV DNS_DC DNS_DOMAIN DNS_FOREST CLOSE_SITE P
ARTIAL_SECRET WS DS_8
The command completed successfully
Update 2
- Cleaned DNS entries so any _sites containers with TestSite has only SRV records for
Branch-DC01
which after restart of the client didn't help. nltest on the client:
`U:>nltest /dsgetdc:domain.com
DC: \\DC01.domain.com Address: \\192.168.1.3 Dom Guid: d97516d3-4afb-4f0a-8c3f-04a800cd69fb Dom Name: domain.com
Forest Name: domain.com
Dc Site Name: Office
Our Site Name: TestSite
Flags: PDC GC DS LDAP KDC TIMESERV GTIMESERV WRITABLE DNS_DC DNS_DOMAIN
DNS_FOREST FULL_SECRET WS
The command completed successfully`