Cache Posted September 22, 2012 Posted September 22, 2012 This has me stumped but not sure whether I've resolved it yet or not. I set up reverse dns for the ip range that we have when I started and it's been working quite happily. This summer we upgraded to Windows 7 and now no machine is registering the reverse DNS records. Have I missed something obvious in my setup that worked quite happily in XP but doesn't in 7 (because I don't remember setting anything specific)? Thanks
Michael Posted September 22, 2012 Posted September 22, 2012 What server OS are you running? And I presume you're running Active Directory with DNS integrated? Or DNS on its own? Have you tried stopping and starting DNS (within DNS server)? If you open a command prompt on a workstation and enter: ipconfig /registerdns do entries appear?
Cache Posted September 22, 2012 Author Posted September 22, 2012 DNS is AD integrated, the few XP machines we still have are still registering in the Reverse Zones, All servers have been restarted this week. Tried the ipconfig command and it still doesn't appear for Windows 7 machines. Server OS is 1 Server 2003 machine and 2 2008 R2 machines.
Jamo Posted October 2, 2012 Posted October 2, 2012 Is there already a client occupying the IP in the reverse lookups? The other thing to check is that your DNS proxy account (can be set in the DNS options) has permission to write to the reverse DNS zones. 1
Cache Posted October 2, 2012 Author Posted October 2, 2012 No other IP is occupying it, it's practically empty apart from my servers, static entries and Windows XP machines now. Will try and check the DNS Proxy account (although I think I just added the server to the DNS Proxy usergroup)
Michael Posted October 2, 2012 Posted October 2, 2012 Are your servers replicating correctly? To my knowledge, there isn't any difference between XP or 7 how it handles DNS requests, but generally Secured DNS Updates are recommended. This basically means only computers belonging to the domain can update DNS records. From a 7 workstation, login as an admin, open up a command prompt and enter ipconfig /all It should display an IP from your DHCP Server, your DNS Server(s) and your Gateway. Does it all look correct? 1
Cache Posted October 3, 2012 Author Posted October 3, 2012 Servers seem to be replicating correctly, no errors are being logged anywhere and the ipconfig appears normal. As an example that it definitely seems to be something to do with Windows 7 or along those lines, every day this week I have redeployed one computer from XP to Windows 7. In each case I've deleted the DNS records for the machine, redeployed it and then the Forward lookup is recreated, the reverse lookup isn't. In each case the machine had a reverse lookup record before it was reinstalled with windows 7.
PRicho Posted October 11, 2012 Posted October 11, 2012 We are getting the same issue, our reverse lookup is pretty much empty. On the DHCP Server properties ours is set to "Dynamically update DNS A and PTR Records only if requested by the DHCP Client" shoud this be on "Always dynamically update DNS A and PTR Records" ?
Jamo Posted October 11, 2012 Posted October 11, 2012 From MS By default, a Windows 2000 and newer statically configured machines will register their A record (hostname) and PTR (reverse entry) into DNS. If set to DHCP, a Windows 2000 or newer machine will request DHCP to allow the machine itself to register its own A record, but DHCP will register its PTR (reverse entry) record. Double check that the DHCP server has permissions to write to the reverse lookup zone, if in doubt test by allowing everyone full access, if that works then its permissions which are your issue. The Always update option basically just makes the DHCP server ALWAYS do the registering both on behalf of the client.
timzim Posted October 11, 2012 Posted October 11, 2012 Have you added credentials to your DHCP servers to allow DNS dynamic updates? Create a user called e.g. DNSupdate & add them to the group DnsUpdateProxy. Open DHCP and, for each server, expand the server, right-click on IPv4, Advanced, Credentials, then add the authentication details for the account DNSupdate. You might need to restart DHCP.
Jamo Posted October 11, 2012 Posted October 11, 2012 Have you added credentials to your DHCP servers to allow DNS dynamic updates? Create a user called e.g. DNSupdate & add them to the group DnsUpdateProxy. Open DHCP and, for each server, expand the server, right-click on IPv4, Advanced, Credentials, then add the authentication details for the account DNSupdate. You might need to restart DHCP. Also, watch out if you have apples in the fleet as we do. They will register their own reverse DNS records and you can end up with endless apples stuck in the reverse lookup zones as the DNSProxy account doesn't have permissions to delete the entries!
timzim Posted October 11, 2012 Posted October 11, 2012 you can end up with endless apples stuck in the reverse lookup zones Could you fix this with the Heimlich Manoeuvre?
Jamo Posted October 11, 2012 Posted October 11, 2012 Could you fix this with the Heimlich Manoeuvre? Is that the removal of all Apples from the building cus I would LOVE that!
Cache Posted October 13, 2012 Author Posted October 13, 2012 Don't know whether it's right or not, but it works. Have added the DC to the DNS Update Proxy group and created a standard user and added the credientials to the DHCP server. Ran the following command because another website said you needed to on Windows 2008 R2 DC's: dnscmd /config /enableednsprobes 0 Enabled the dHCP server to register all records regardless and the DNS zones are repopulating. Will have to wait and see if it throws up any other problems I guess....
Jamo Posted October 13, 2012 Posted October 13, 2012 DNS is great when it works Good luck sounds like its sorted now, best thing to do is double check that records don't become stale now! (Give it double the DHCP lease time and double check that records aren't incorrect)
ragbuster Posted October 13, 2012 Posted October 13, 2012 We had this problem, all you have to do is enable "Use this connection DNS suffix in DNS registration" on client ipv4 settings.
farmeunit Posted November 13, 2012 Posted November 13, 2012 We had this problem, all you have to do is enable "Use this connection DNS suffix in DNS registration" on client ipv4 settings. How to do this on ALL machines without touching them?
ragbuster Posted November 13, 2012 Posted November 13, 2012 Start>>Run>>gpmc.msc>>Right click and edit the default domain policy>>Computer Configuration>>Administrative Templates>>Network>>DNS Client>>"Register DNS records with connection-specific DNS suffix">>Set this as "Enabled">>perform a gpupdate /force from the server and the workstations need to be restarted.
farmeunit Posted November 14, 2012 Posted November 14, 2012 Start>>Run>>gpmc.msc>>Right click and edit the default domain policy>>Computer Configuration>>Administrative Templates>>Network>>DNS Client>>"Register DNS records with connection-specific DNS suffix">>Set this as "Enabled">>perform a gpupdate /force from the server and the workstations need to be restarted. Thanks. I found that info a little later. I did several steps and not sure which worked. I set four things in GPO in that section, and I also changed the credentials for DHCP. They started populating last night and cleared themselves out (I only have an 8 lease time for DHCP right now, also, but upping that to 3 days. I was initially afraid to touch the credentials as I'm new to the position here and new to AD also, coming from a Novell/eDir background and DHCP/DNS on Linux. Thanks for the tip.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now