Your NodeName is incorrect...
<NodeName> -- name of
node for which a record will be
added
- FQDN of a node (name with a '.' at the end) OR
- node name relative to the ZoneName OR
- "@" for zone root node OR
- service name for SRV only (e.g. _ftp._tcp)
- FQDN of a node (name with a '.' at the end) OR
- node name relative to the ZoneName OR
- "@" for zone root node OR
- service name for SRV only (e.g. _ftp._tcp)
The FQDN of the node in your example below should be "hostA." (note the .
at the end of the name) not "hostA.myDomain.com" ...
Essentially, you added a host to the sub-domain myDomain.com.myDomain.com instead, which is why it doesn't show up in the GUI where
expected.
Joe Pochedley
A computer terminal is not some clunky old television
with a typewriter in front of it. It is an interface
where the mind and body can connect with the universe
and move bits of it about. -Douglas Adams
A computer terminal is not some clunky old television
with a typewriter in front of it. It is an interface
where the mind and body can connect with the universe
and move bits of it about. -Douglas Adams
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Wednesday, December 07, 2005 9:36 AM
To: [email protected]
Subject: [ActiveDir] Found bug in Active Directory DNS (integrated)
Ok, this is the scenario. I
needed to create 123 DNS entries really quick so I decided to use DNSCMD. It
ended it being a big mistake.
The mandatory parameters for DNSCMD /RECORDADD are the following:
<servername>
/RecordAdd
<Zone>
<NodeName>
<RRType>
<RRData>
[<command parameters>]
So I typed in the following: (entered it on different lines for easy
readibiltiy).
ncdc01
/RecordAdd
myDomain.com
hostA.myDomain.com
A
192.168.1.2
The command completes with a "Command Completed Successfuly". Great. Only
one problem. It does not show up in the DNS management console. I can see it in
the directory but not in the DNS snapin. When I do a NsLookup on that record it
comes up as hostA.myDomain.com.myDomain.com. Ok so I figured out that you do not
need to specify the domain name for the <NodeName> parameter of the
command. I go ahead and delete the entry in ADUC because I can't see it in DNS
console, clear the DNS cache on the server and clear the cache on my client.
When I run NsLookup on the host again it shows up as
hostA.myDomain.com.myDomain.com. That is impossible right? The only way I was
able to clear this entry from the server cache was to restart DNS on the DC. Not
a feasible solution when you have 20 DC across the country.
Has anyone seen this before?
Thanks
Yves
