3

I've been tasked with sorting out my office network. Presently there is no internal host name resolution.

Presently the DHCP server is on a Cisco security device and we are using an external (8.8.8.8) DNS server.

I have set up domain server (Windows 2012) and added a DNS server to it. The issue is it only resolves host names of device that are logged into the domain.

We have plenty of devices that do not connect to the domain, so my question is, how do I get them to register their names with the DNS server?

Note some devices use static IP's and some are DHCP.

  • 2
    Not to downplay Windows, but if all you needed was internal host name resolution the Cisco device could've likely handled that as well. But jscott is pointing you down the right path now. – TheCleaner Feb 6 '15 at 13:54
  • Needed a domain server with Active Directory for testing purposes, otherwise I would have steered clear. – Ne0 Feb 6 '15 at 16:10
  • 1
    I perhaps misunderstood the scope of the question. If the AD setup is just for testing, it may be better to get @TheCleaner to post his answer. Mine is based on using AD in production, which may be more overhead than you're looking to maintain. – jscott Feb 6 '15 at 17:01
  • @jscott I'm not sure I can set a DNS up on the Cisco ASA 5505, I'm also looking at that route. – Ne0 Feb 9 '15 at 9:13
5

The simplest thing [from this AD admin's viewpoint at least] is the following:

  1. On your DCs running DNS, Configure a DNS Server to Use Forwarders. Throw Google's DNS addresses in there if you like their service.

  2. Get an AD-integrated DHCP server running, see Integrating DHCP with DNS. DNS dynamic updates can be configured to allow non-domain devices to register their DNS info via the DHCP server.

  3. Add your non-domain-statically-addressed devices to DNS as described in Adding Resource Records.

  4. Set Aging and Scavenging Properties for the DNS Server. Check the TN blog post Don't be afraid of DNS Scavenging. Just be patient. when you get stuck on this step.

  • I was having a look at TN about DNS and can't find any settings to do with 'Dynamic Updates' on the 2012 Server or the 'Primary/AD Integrated' setting. Do you know if this could be causing the issue? – Ne0 Feb 9 '15 at 9:18
  • Found the properties now! – Ne0 Feb 9 '15 at 9:34
  • In your option 2 - Do you know how to configure the DDNS updates to allow non-domain devices via the DHCP server? – Ne0 Feb 10 '15 at 14:42
  • 1
    Enable "Dynamically update DNS A and PTR records for DHCP clients that do not request updates". You may also want to enable "Always dynamically update DNS records" in the same dialog. i.imgur.com/E5lTUek.png – jscott Feb 10 '15 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.