+ Reply to Thread
Results 1 to 6 of 6

Thread: Dnscmd

  1. Senior Jr Member
    Join Date
    May 2007
    Posts
    309
    #1

    Default Dnscmd

    Trying to run command to add computer to name servers tab in zone on second computer. Both 2003 servers have dns installed.

    Use:
    dnscmd penny2141-dns /recordadd sub.domain1.local @ ns penny-dc.domain1.local

    Keep getting:

    command failed: rpc_s_server_unavailable 1722

    All rpc services are running on both machines.

    C:\Documents and Settings\Administrator>dnscmd /info
    Query result:
    Server info
    server name = penny-dc.contoso.com
    version = 0ECE0205 (5.2 build 3790)
    DS container = cn=MicrosoftDNS,cn=System,DC=Contoso,D
    forest name = Contoso.com
    domain name = Contoso.com
    builtin domain partition = ForestDnsZones.Contoso.com
    builtin forest partition = DomainDnsZones.Contoso.com
    last scavenge cycle = not since restart (0)
    Configuration:
    dwLogLevel = 00000000
    dwDebugLevel = 00000000
    dwRpcProtocol = FFFFFFFF
    dwNameCheckFlag = 00000002
    cAddressAnswerLimit = 0
    dwRecursionRetry = 3
    dwRecursionTimeout = 15
    dwDsPollingInterval = 180
    Configuration Flags:
    fBootMethod = 3
    fAdminConfigured = 1
    fAllowUpdate = 1
    fDsAvailable = 1
    fAutoReverseZones = 1
    fAutoCacheUpdate = 0
    fSlave = 0
    fNoRecursion = 0
    fRoundRobin = 1
    fStrictFileParsing = 0
    fLooseWildcarding = 0
    fBindSecondaries = 1
    fWriteAuthorityNs = 0
    fLocalNetPriority = 1
    Aging Configuration:
    ScavengingInterval = 0
    DefaultAgingState = 0
    DefaultRefreshInterval = 168
    DefaultNoRefreshInterval = 168
    ServerAddresses:
    Addr Count = 1
    Addr[0] => 192.168.0.16
    ListenAddresses:
    NULL IP Array.
    Forwarders:
    Addr Count = 1
    Addr[0] => 192.168.0.1
    forward timeout = 2
    slave = 0
    Command completed successfully

    C:\Documents and Settings\Administrator>ping penny2141-dns.domain1.local

    Pinging penny2141-dns.domain1.local [192.168.0.8] with 32 bytes of data:

    Reply from 192.168.0.8: bytes=32 time=3ms TTL=128
    Reply from 192.168.0.8: bytes=32 time<1ms TTL=128
    Reply from 192.168.0.8: bytes=32 time<1ms TTL=128
    Reply from 192.168.0.8: bytes=32 time<1ms TTL=128

    Ping statistics for 192.168.0.8:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 3ms, Average = 0ms
    Reply With Quote Quote  

  2. SS -->
  3. Senior Member
    Join Date
    Mar 2007
    Posts
    12,308
    #2
    Firewall?

    Also, does the server name (bolded) need to be a FQDN ?

    dnscmd penny2141-dns /recordadd sub.domain1.local @ ns penny-dc.domain1.local

    Edit: guess not

    ServerName - Specifies the DNS server the administrator is planning to manage, represented by local computer syntax, IP address, FQDN, or Host name. If omitted, the local server is used.
    http://technet.microsoft.com/en-us/l...6.aspx#BKMK_14
    Reply With Quote Quote  

  4. New Member royal's Avatar
    Join Date
    Jul 2006
    Location
    Chicago, IL
    Posts
    3,373
    #3
    Do you have multiple NICs running on this server? If yes, disable one. If you don't want to disable one, make sure the correct NIC that listens on DNS and is the NIC that is registered in DNS in the domain is on top of the binding order. Give that a try and try again.
    Reply With Quote Quote  

  5. Senior Jr Member
    Join Date
    May 2007
    Posts
    309
    #4
    Each machine has only 1 nic installed.

    Interfaces Properties of each dns server shows them listening on all ip addresses with each
    server' s 1 ip address listed.

    Maybe network monitor would show something wrong when the command is run.
    Reply With Quote Quote  

  6. Senior Jr Member
    Join Date
    May 2007
    Posts
    309
    #5
    Sorry, had the computer name wrong in the command, had a '-' in the wrong place. At least now know what to check for if error comes back. Thanks for the replies.
    Reply With Quote Quote  

  7. New Member royal's Avatar
    Join Date
    Jul 2006
    Location
    Chicago, IL
    Posts
    3,373
    #6
    Gotta love troubleshooting issues and the issue is a basic problem we all overlook. Been there... Done that... Next time, try redoing the command from scratch before starting a lot of troubleshooting. A lot of the time the command looks right but just redoing the command will do it.
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks