Once more for posterity DNS-DHCP insteractions on the same server.
first of apologize since question has been asked many times cant seem fit of answers current issues.
first of all done in virtual environment ie. closed loop.
i have windows 2008 r2 server have installed both dns , dhcp servers on.
server has address 10.10.10.10 static address. gw set 10.10.10.1 , dns set 10.10.10.10, subnet 255.255.255.0.
not domain controller domains not used.
the dhcp server installed on server serving out scope 10.10.10.20-10.10.10.240 presenting dns , gw + subnet values mentioned above.
dhcp flawless! serves out ip's no end sorts of clients old windows machines , linux machines. no problem!
installed dns server also:
called domain blah.local created forward , reverse zones wizard. made sure dhcp server set update records.
manually made (a) record server name blah-dhcpdns.local pointing 10.10.10.10 , created ptr record itself.
now...
none of dhcp'd clients getting hostnames recorded. can see leases names in dhcp address leases nothing passed on dns servers!
i got gaggle of linux geeks hanging on me telling me use flavor of day keep telling them windows rocks. have not yet lost hope have little hair left after pulling out while re-installing fifth time.
please help.
since you're not in domain, primary dns suffix doesn't exist, machine use register zone.
to make workgroup machine, mobile phones, tablets , other non-microsoft products (including gaggle), 1 thing start create user account on server used dhcp credentials. shouldn't administrator account, plain-jane user account, give strong password. force dhcp update records, whether entity can register or not.
also, dns server must have registered record whatever.com zone, , set itself as ns record zone. automatic if server has primary dns suffix, , if not, won't happen. can tell simple ipconfig /all, didn't provide 1 other than providing ip, mask , gate. believe or not, ipconfig /all extremely informative. provides numerous information machine's config. therefore, assume did not configure primary dns suffix.
summarized:
- first, make sure server using own ip dns entry in nic. no others must in here, otherwise you'll unexpected , possibly undesired results. saw have configured, wanted stress others reading this.
- then make sure dns server has primary dns suffix. that:
go start
right-click computer, properties
in computer name tab click change settings
click change
click more
type domain name here.
click ok bunch of times, , restart. - after restart, make sure registered whatever.com zone.
- in whatever.com zone properties, nameserver tab. make sure registered itself. if not, manually add clicking add, type in server's fqdn, , click resolve. if things configured correctly, should resolve it. click ok.
- on "start of authority (soa)" tab click "browse..." next primary server field , browse server's record in whatever.com zone. click ok.
- repeat step 4 reverse zone, , other zones hosting.
- dhcp option 015 must set whatever.com. provides way work interface use zone registration, dhcp server use register zone.
- configure scavenging. scavenging norefresh , refresh values combined should add to or greater lease length.
- in dhcp properties, dns tab (note -this tab dhcp option 081, though doesn't it), choose force dhcp update records whether dhcp client asks or not. , configure register records machines can't.
- configure user account used dhcp credentials (as said above), go dhcp, ipv4, properties, advanced, credentials, , enter credentials.
- restart dhcp service.
- it should work.
-
other notes , references:
================
workgroup dns dynamic updates:
there number of ways work. @ following link:
technet thread: "server 2008 r2: dns records not dynamically registering in workgroup situation" 12/31/2010
http://social.technet.microsoft.com/forums/en-us/winservernis/thread/2380872f-2e71-49eb-8fbb-87f980920fc7/
reg entry summarized:
you can create , remotely run registry script interface on workgroup machines using psexec (free download microsoft), provided have credentials machines. need know interface guid, , many machines have multiple interfaces (wireless, wired, if vpn connectoid created, etc).
or target these 2 reg entries:
hklm\system\currentcontrolset\services\tcpip\parameters\domain
hklm\system\currentcontrolset\services\tcpip\parameters\nv domain
using above 2 keys, try vb script:
set wshshell = createobject("wscript.shell")
wshshell.regwrite "hklm\system\currentcontrolset\services\tcpip\parameters\nv domain", "doman.local", "reg_sz"
wshshell.regwrite "hklm\system\currentcontrolset\services\tcpip\parameters\domain", "doman.local", "reg_sz"
================
ace fekay
mvp, mct, mcitp/ea, mcts windows 2008/r2 & exchange 2007, exchange 2010 ea, mcse & mcsa 2003/2000, mcsa messaging 2003
microsoft certified trainer
microsoft mvp - directory services
technical blogs & videos: http://www.delawarecountycomputerconsulting.com/
this post provided as-is no warranties or guarantees , confers no rights.
Windows Server > Network Infrastructure Servers
Comments
Post a Comment