[Forum FAQ] DNS Dynamic Update Troubleshooting Guide

As we all known,
DNS Client service and DNS Server services support dynamic updates. With dynamic updates, the DNS client computer is allowed to dynamically register and update this resource
records based on their fully qualified domain name by default. However, in some scenarios,
we may find that
the DNS records are not updated.
To analyze this issue clearly, this kind of issue is divided into two parts in this article:
Non-AD integrated zone with DHCP and DNS unintegrated
AD-integrated zone with DHCP and DNS Integrated
Next, we begin to troubleshoot this issue from the above two classes separately.
Non-AD integrated zone with DHCP and DNS unintegrated
1. Check if Dynamic Updates is enabled or not
If you have encountered this kind of issues, firstly, Please check if dynamic updates is enabled in DNS server or not. You can right-click the domain in the
Forward Lookup Zones, then select Properties. In the dialog, click
General tab and choose Nonsecure and secure
in the Dynamic updates box, then click OK. Please refer to Figure 1 and Figure 2
Figure 1: Check DNS Server Settings-1
Figure 2: Check DNS Server Settings-2
2. Check DNS Suffix
Besides, since all computers register records based on their fully qualified domain name, and the fully qualified domain name is based on the primary DNS suffix of a computer appended to its Computer name. We also need to check the DNS panel of Advanced TCP/IP
settings in TCP/IP properties.
Just as Figure 3, if Register this connection's address in DNS is selected and
Use this connection's DNS suffix in DNS registration
is not selected. This default configuration causes the client to request that the client register the Host resource record and the server register the PTR resource record. In these scenarios, please make sure the primary DNS suffix portion of a computer's FQDN
is the same as the name of the Active Directory domain to which the computer is joined.
Figure 3: Check DNS Client settings-1
You can run “ipconfig/all” at the command prompt to check the Primary DNS suffix. From Figure 4, we can see that the Primary DNS suffix is blank.
Figure 4: Check DNS Client settings-2
To set the Primary DNS suffix, you can follow the steps below (Figure 5):
Right-click
My computer and then click Properties.
In the
System Properties dialog, click Computer Name tab and then click
Change….
In the
Computer Name Changes panel, click More…, then you can type the domain name into the
Primary DNS suffix of this computer and then click
OK.
Figure 5: Set the Primary DNS Suffix
After set the primary DNS suffix, we can see that the Primary DNS suffix is demo.com in Figure 6.
Figure 6: Primary DNS Suffix-demo.com
If both
Register this connection's address in DNS and Use this connection's DNS suffix in DNS registration are selected. You need to check the primary DNS suffix and connection-specific DNS suffix at the same time and make sure that
the connection-specific domain name of this connection is the DNS suffix for this connection appended to the computer name. In the picture above, we can see that the Primary
DNS suffix and Connection-specific DNS suffix are the same.
AD-integrated zone with DHCP and DNS Integrated
In some cases,
this issue may happen when the DNS zone is AD-integrated and DHCP server is configured to register and update the A resource records and PTR records on behalf of the DHCP-enabled clients.
1. Check if secure dynamic updates is enabled or not
As everyone knows, DNS update security is available only for zones that are integrated into Active Directory Domain Services (we
can see the difference from Figure 7 and Figure 2). Since secure dynamic updates can prevent unauthorized computers from overwriting existing names in DNS, generally, we recommend
using only secure dynamic updates for AD-integrated zone.
For AD-integrated zone, we can check if secure dynamic updates is enabled in DNS server or not firstly.
You can right-click the domain in the Forward Lookup Zones, then select
Properties. In the dialog, click General tab and choose
Secure only in the Dynamic updates box, then click OK. Please refer to Figure 7.
Figure 7: Check DNS Server Settings-2
2. Check the DNS configuration and options settings on DHCP server
We need to make sure
that DHCP server is configured to register and to update client information with its configured DNS servers. You can check by right-clicking the
IPv4 under your domain and choosing DNS in IPv4 properties.
By default,
the
Enable DNS dynamic updates according to the settings below and
the Dynamically update DNS A and PTR records only if requested by the DHCP clients box is checked. 
You can also select Always dynamically update DNS A and PTR records box so that the DHCP server
always registers and updates client information with its configured DNS servers. (Figure 8)
Figure 8: DHCP Server Settings
In addition, you need to check that the configuration 006 DNS server option in DHCP option is correct.
You can check that by clicking
Server Options in DHCP console. If the setting is incorrect, you can right-click the option and then choose
Properties, then you can remove the wrong DNS server and add a correct one. (Figure 9)
Figure 9: Check DHCP Options
3.
Check if the DHCP server is added to the DnsUpdateProxy security group
Furthermore, as the DHCP server becomes the owner of the name since the DHCP server performs a secure dynamic
update on that name, only that DHCP server can update the name. We would make sure the DHCP server is available. If the DHCP server fails, even other DHCP servers are online, they still have no right to update the client’s record because the other DHCP
server are not the owner of the client name.
To solve this, it is necessary to add the DHCP server to the DnsUpdateProxy security group in AD. You can follow the steps below to achieve that: (Figure 10 and Figure 11)
Open ADUC, click
Computers under your domain.
Right-click your DHCP server and select
Add to a group tab.
Enter
DnsUpdateProxy in the object name box and click
Ok.
Figure 10: Add DHCP Server to the DnsUpdateProxy security group – 1
Figure 11: Add DHCP Server to the DnsUpdateProxy security group – 2
After that, you can find that the DHCP server (In this demo, the DHCP server is W2K12R2) is a member of the DnsUpdateProxy group. (Figure 12)
Figure 12: DHCP server is a member of the DnsUpdateProxy group
4.
Check the
Credentials configuration for DNS update
Furthermore, if
a domain controller is running on the same host as the DHCP server and secure dynamic DNS update has been configured, you need to configure
Credentials for DNS update.
You can
open DHCP console tree, right-click
IPv4 and then click Properties. In the IPv4 Properties
dialog, click Advanced, click
Credentials, type the credentials that the DHCP server supplies when registering names using DNS dynamic updates, and then click
OK. (Figure 13)
Figure 13: Configure DNS dynamic update credentials
More information:
DHCP, Dynamic DNS Updates , Scavenging, static entries & timestamps, the DnsUpdateProxy Group, and DHCP Name Protection (Published by Ace Fekay, MVP)
http://msmvps.com/blogs/acefekay/archive/2009/08/20/dhcp-dynamic-dns-updates-scavenging-static-entries-amp-timestamps-and-the-dnsproxyupdate-group.aspx
Integrating DHCP with DNS
http://technet.microsoft.com/en-us/library/cc771732.aspx
Using DNS servers with DHCP
http://technet.microsoft.com/en-us/library/cc787034(v=ws.10).aspx
How to configure DNS dynamic updates
http://support.microsoft.com/kb/816592/en-us
Keyword: Dynamic Update, Troubleshooting 
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

I have created one STATIC DNS Entry, for Example "ROSE" and
1.                   Open
the DNS snap-in.
2.                   Right
click the individual record (ROSE) and open the Properties dialog.
3.                   Uncheck
the Delete this record when it becomes stale option
and click OK
For
the moment the time stamp will show as BLANK
Then
I logged in to server "ROSE" and restarted DHCP Client
Service on server or restarted server, the time stamp is automatically setting as current date and "DELETE THIS RECORD WHEN IT BECOME STALE" check box also selected automatically
and gets deleted after a week or so when the scavenging runs
Is
there any way to avoid the static entries become dynamic automatically. 
Domain Controller or DNS OS is Windows server 2003 R2 Standard Edition SP2
Thanks & Regards
Dinesh Cholekkavil

Similar Messages

  • DNS dynamic updates don't work

    Hi,
    I am currently troubleshooting a DNS dynamic update issue that I am having in my production environment. I had to change the subnet mask on a DHCP scope, so according to
    http://www.windowstricks.in/2009/06/how-to-change-subnet-mask-of-dhcp-scope.html I deleted the scope and recreated it. After one day I noticed that a lot of A records (Linux and Mac clients) were gone, and that non-Windows DHCP clients would no longer register
    their A record with DNS as they did before. It seems that the DHCP server does no longer communicate with DNS because before the change was made, there were DHCP log entries about successful registrations but afterwards there are no such entries
    in the log, neither success nor failure.
    The DHCP server is configured to always dynamically update A and PTR records, the DNS server accepts secure and nonsecure dynamic updates. DHCP is installed on one of my two domain controllers (Windows Server 2008 R2, AD in 2003 mode).
    I then set up a basic test environment with just one DC which has DHCP and DNS with default settings, added a reverse lookup zone to the DNS, one Windows and one Linux client. In that environment, the Windows client registers its A record with
    the DNS but not the PTR record, but the Linux client still will not be registered in DNS. Allowing nonsecure DNS doesn't resolve the issue.
    What am I missing? Any help is appreciated...
    Georg.

    From the Store menu, select
              Check for Unfinished Downloads...

  • Dynamic Update Failed. Evend ID 8011

    Our environment uses Active Directory, DNS servers (not AD integrated) and static IP Addresses (not DHCP). All of them are Windows 2012 R2.
    The DNS zone accepts dynamic update and the client is configured to register on the correct DNS Zone name.
    We are getting error when trying to dynamic register new machines on DNS. Event ID 8011 has been registered at client machine as follows:
    The system failed to register pointer (PTR) resource records (RRs) for network adapter
    with settings:
               Adapter Name : {23F8758F-E242-4473-BE3A-DDB4A7E32DE8}
               Host Name : serverA
               Adapter-specific Domain Suffix : company.com.br
               DNS server list :
    171.10.0.1, 171.10.0.2
               Sent update to server : <?>
               IP Address :
                 171.10.0.3
    The reason that the system could not register these RRs was because (a) either the DNS server does not support the DNS dynamic update protocol, or (b) the authoritative zone where these records are to be registered does not allow dynamic updates.
    To register DNS pointer (PTR) resource records using the specific DNS domain name and IP addresses for this adapter, contact your DNS server or network systems administrator.
     Somebody could help me ?
    Thanks in advance
    Augusto

    Hi,
    Confirm that if the DNS zone has been configured to allow dynamic update:
    Right click zone – Properties – General – Dynamic Update – Nonsecure and secure.
    Besides, check firewall settings or other security mechanism to see if TCP/UDP port 53 is opened.
    Then run “ipconfig /registerdns” on client and force it to register its DNS record.
    If the problem still exits, confirm that if any log is recorded in DNS server’s event log. 
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Dcdiag DNStest TEST:Dynamic update

    Hi,
    I did a dcdiag DNS test by issuing the command "dcdiag /test:DNS". Upon looking at the output, I have the following line that says:
    TEST: Dynamic update (dyn)
    Warning: Failed to delete the test record dcdiag-test-record in zone xxx.com
    But it passed the DNS test.
    I've searched over the internet and they say that this happens if dynamic updates is set to "Nonsecure and secure". I've looked into our AD/DNS Servers and it is set to "sercure only".
    What could have caused this? Is this ignorable?

    Hello,
    if you use DNS dynamic updates please assure that it is set to SECURE ONLY. If that isn't the case you may get this error message.
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • [Forum FAQ] Common steps to start troubleshooting Windows Update issues

    In this article, we provide you some common steps to quickly narrow down Windows Update issues. Before you post your question, you can follow the steps below to see whether
    the issue can be identified and resolved. If not, please post it in Windows 8/8.1 Forum with the analyzed details.
    Scenario 1: New updates can’t be checked.
    Make sure your internet connection works fine.
    Make sure you could connect to Windows Update Server or Microsoft Update.
    For more information about how to troubleshoot problems connecting to Windows Update or to Microsoft Update,
    visit the following Microsoft Web site:
    http://support.microsoft.com/kb/818018
    Scenario 2: Windows Update can’t be installed or configured.
    Suggestion 1: Run the
    Windows Update Troubleshooter
    Press
    WINDOWS + X combination key to open the Control Panel;
    Change its view by “Category”;
    Click
    Find and fix problems;
    Under
    System and Security entry, click Fix problems with Windows Update.
    Follow the instruction to complete it.
    Suggestion 2:
    Make sure the following services could startup automatically
    Press WINDOWS + R combination key, type “services.msc”, press
    Enter;
    Find out the following services and the dependent services:
    Windows Update
    Background Intelligent Transfer Service
    Windows Modules Installer
    Double click every service, on General tab, set its Startup type as “Automatic”;
    Click Apply and OK button.
    Note: If these services miss or damage, you need to use Windows 8/8.1 installation media restore them.
    Suggestion 3:
    Delete the Windows Update cache
    Press
    WINDOWS + R combination key, type “services.msc”, press
    Enter;
    Find out the
    Windows Update service, right click and stop it;
    Located to
    C:\Windows\SoftwareDistribution;
    Delete the whole
    SoftwareDistribution folder.
    Suggestion 4:
    Reset the Windows Update component
    For more information about how to
    reset the Windows update component,
    visit the following Microsoft Web site:
    http://support.microsoft.com/kb/971058
    Suggestion 5:
    Install the Windows Update in a
    Clean Boot state
    For more information about How to perform a clean boot in Windows,
    visit the following Microsoft Web site:
    http://support.microsoft.com/kb/929135
    Suggestion 6:
    Reset, refresh or restore your PC, and then try to Windows Update
    http://windows.microsoft.com/en-gb/windows-8/restore-refresh-reset-pc
    Scenario 3: You might still be repeatedly offered the same update.
    You need to check its installation status and decide if it should be installed again.
    For more
    information about Windows Update or Microsoft Update repeatedly offers the same update,
    visit the following Microsoft Web site:
    http://support.microsoft.com/kb/910339
    Here are the solutions for some common Windows Update error codes or corresponding issues:
    1. .NET Framework update installation error: "0x80070643" or "0x643"
    http://support.microsoft.com/kb/976982
    2. Error 0x800B0100 when you try to install Windows Updates or Microsoft Updates
    http://support.microsoft.com/kb/956702/en-us
    3. Error 0x80070005 in Windows Update when you try to install updates
    http://support.microsoft.com/kb/968003/en-us
    4. Error message 80246008
    http://support.microsoft.com/kb/971058
    5. Error message 80070003
    Stop Windows Update service, rename SoftwareDistribution and catroot2 folder, then restart Windows Update service.
    6. Error message 0x80072f8f
    Check and correct PC’s Time and Date. 
    7. Automatic Windows update settings is gray out.
    Please locate to the below registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU.
    Add Value name: NoAutoUpdate
    Value data: 0 or 1
    0: Automatic Updates is enabled (default).
    1: Automatic Updates is disabled.
    Windows Store app update general troubleshooting steps
    If you're unable to open the Store, try running the
    Apps troubleshooter
    If you can’t find the app update. Please consider these scenario:
    Confirm if you set the proxy which affect the Windows store update.
    For more information about using authenticated proxy servers together with Windows
    8, visit the following Microsoft Web site:
    http://support.microsoft.com/kb/2778122
    Confirm the app is available in your current region;
    Make sure “Automatically update my apps” is set to Yes;
    Make sure the latest updates are installed on your PC and that your antivirus program isn't preventing the app from running.
    Make sure the app isn't blocked by Windows Firewall
    Sync your app licenses.
    Try to clear
    the Windows store cache on your PC:
    Press
    WINDOWS + R combination key, type “wsreset”, press
    Enter;
    Try to install the update again.
    Applies to: Windows 8 and Windows 8.1
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    NEW
    ADK download link is unavailable
    https://dev.windows.com/en-US/featured/hardware/windows-10-hardware-preview-tools
    Working one here at the bottom of the page

  • HTTPS, DNS and dynamically updating DNS records

    Hello to you all, if you are able to help with a DNS problem that I'm having then please accept my thanks and appreciation in advance.
    First some background information, I recently  moved my server from my studio to my house where a new purpose built studio will soon be erected. At my old studio any requests for myurl.com came in via the IP (whether that be http, https, ftp etc) from the domain registrar and the router would send the request to the relevant port number whether that be 80 for http or 443 for https etc and all was well as this location had a fixed IP address. Unfortunately at my new location whilst I have a much faster connection I do not have a fixed IP. To get around this I have the following set up (not ideal for a business I know but perfectly OK for home hosting); I set up two psuedo nameservers at no-ip.com (ns1myurl.com and ns2myurl.com) which tracks the changes in my IP address and updates its records accordingly, my registrar then sends any requests to these 'nameservers' and no-ip then forwards it on to my server. So far so good.
    The problem arises once the requests get to my server, whilst I have DNS set up, I can only recieve requests from a straight request to the server ie myurl.com will display the site without any problem, but if I then put a www in front of that or try to access the https part of my site (which is set up as a seperate site on the same server) then the server throws an error. I have tried to put an alias (CNAME) into the zone but it does not want to resolve the request. I have searched around but to no avail, I am totally new to DNS so am currently on a steep learning curve and fumbling around in the dark.
    The first thing that I need to get working is the request to be resolved correctly and then (and this is where the real fun starts!) is to dynamically update the IP in the DNS records as the IP changes. I will probably have to get help in on this as I understand that this requires BIND of which I know nothing about, first though I'd like to get the pages to be served up correctly. Advice, hints, tips or links to tutorials all greatly appreciated. Full set up listed below.
    Many thanks, David.
    Xserve PPC G5 running 10.5.8 unlimited set up as standalone OD master
    Xraid
    APC UPS
    CradlePoint MBR1200 Gateway router which acts as the DHCP
    http://myurl.com and https://myurl.com set up as 2 seperate sites and located on the Xraid
    Current DNS setup:
    Primary Zone name: myurl.com with nameservers ns1myurl.no-ip.info and ns2myurl.no-ip.info and allow zone transfers in checked
    Then
    Name
    Type
    Value
    myurl.com
    Primary Zone
            ns1myurl.no-ip.info
            Machine
    12.34.56.78 (external IP)
            ns2myurl.no-ip.info
            Machine
    12.34.56.78 (external IP)
            myurl.com.
            Machine
    12.34.56.78 (external IP)
            www.myurl.com.
            Alias
    myurl.com.
    With the reverse zone looking thus with allow zone transfers being checked
    Name
    Type
    Value
    56.34.12.in-addr.arpa.
    Reverse Zone
            12.34.56.78
            Reverse mapping
            myurl.com.

    Thanks for the reply Camelot, that part though I had already figured out. I now have this working, all I did was change the external IP to the internal one of the server with resolves with the .local machine name and all is working just fine (for now!). As long as I have primary zones set for each site and any alias or services set up on them then everything works well.. The real test will be when my ISP changes the IP, whilst my tests have proved successful the proof will be when they update the address.
    Thanks anyway. David.

  • DNS replicating but not being dynamically updated by other DCs

    Background on setup:
    Our campus runs BIND for the DNS solution
    Campus servers do not allow for dynamic updates of the root zone (school.university.edu), but are set to allow dynamic updates of the AD-related zones (_msdcs, _sites, _tcp, _udp, DomainDnsZones, ForestDnsZones)
    We run Active Directory (2008R2/2012R2 Mixed Mode) with DNS
    Our DCs are all listed in the NS tab of our zones, but are not truly authoritative...campus BIND servers are
    We only have the default zones setup in our DNS, all allow for Dynamic updates (Secure Only)
    DNS zones are ADI and replicate to all DNS servers in the domain (All 6 DCs are DNS servers)
    Clients do not register with our DNS, they use the campus BIND servers.  Only AD domain controllers are registered in our zones and allowed to dynamically update
    Once upon a time, this setup worked without an issue.  Dynamic updates worked without an issue within our ADI zones, as well in the campus BIND servers.  When we started to add the new 2012R2 domain controllers into the mix, we noticed that this
    was no longer the case.  Since we don't often add or remove DCs from our setup, we do not know exactly when this broke.
    The issue is that our campus BIND DNS servers show all of the appropriate DNS records flawlessly.  We manually requested entries at the root (looks fine) and all AD zones updated dynamically with all expected records.  Our AD DNS servers on the
    other hand have a fair number of incorrect and missing records.  The only one of the three new servers to have records in our AD DNS is the server we moved all of our FSMO roles to before our technician noticed the DNS issues.  The other two have
    no records dynamically generated in our AD DNS zones.  We pulled one of the old 2008R2 DCs out of the domain using dcpromo since it had some other issues.  As expected, it pulled all of its records out of campus BIND cleanly but left all of its records
    in our AD DNS.
    If we manually add/remove an entry (PTR, CNAME, A, SRV), the change replicates appropriately across the domain.  However, we do not want to put a Band-Aid fix on this and manually enter all of the records.  We want to figure out why these two servers
    are not pushing their records into AD DNS despite updating them flawlessly in campus BIND servers.
    DNS is not my forte, so I'd welcome any advice on what I can as my best next steps.  I have played around a lot with modifying DNS servers listed in the DC network settings, and register this connection.  We can confirm that replication seems to
    be working fine.  We can manually add records.  DNS shows no errors in event log.  When using dcdiag dns test, it shows that we have missing records in our DNS but no other issues are displayed.  NSLOOKUP reveals campus DNS to be correct. 
    Any assistance would be appreciated...even if just to point me to a better tool for diagnostics.  We have not yet tried reinstalling DNS on any of the DCs and wish to avoid that if possible.

    Greg:
    Thank you for taking the time to respond.  I believe I have found a pseudo-solution earlier this week, but I find myself slightly confused by the solution.  On our network connections for the DCs, we had been making the BIND servers the primary
    and secondary DNS servers, then each of our DCs point to two of the other DCs for their tertiary and quaternary DNS servers.  Since the BIND servers have all of the correct records, we flipped those to make the DCs our primary and secondary before BIND
    servers.  This got all of the records into our AD correctly.
    It was my understanding that if you checked the "Register this connection in DNS" checkbox that it would register itself in all of the DNS servers in the list, but based off the above it seems it only registers in the first DNS server it successfully connects
    to; assuming it expects that primary server to replicate the records to others.  If this new assumption is true, then I am trying to figure out how I am supposed to get my DCs to dynamically update both AD-DNS and BIND when I make changes.  This
    may be best suited in another thread, so I'll gladly break it out into another if needed.  I do not have control over the BIND DNS servers, except for the fact that my DCs are allowed to dynamically update the AD subzones.  I have full control over
    my AD-DNS, but my clients computers are required to point to BIND for their DNS.

  • Could not reuse TKEY established till expiry, Microsoft DNS refuses Dynamic updates after some minutes

    We are using a DHCP Server that is sending secure (GSS-TSIG based) dynamic updates to Microsoft DNS.
    After successful TKEY negotiation, the dynamic updates are accepted/success.
    Established context is valid for more than 10hours in client side(Based on InitializeSecurityContext output parameter ptsExpiry
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa375507%28v=vs.85%29.aspx)
    But, when we try to use the same TKEY name ( the established context  is not expired)  we are getting "Query Refused error" after some time say 8-10 minutes. Is there any transaction timeout after which client should not reuse the TKEY
    context established ? Whether Microsoft DNS supports TKEY RR with mode 5 ( Delete Security Context/ Key Deletion ) so that client will delete and establish a new context for further DNS updates. Also why BADNAME/BADKEY error is not returned while refusing
    the updates?
    As per the RFC 3645, 
    <RFC snip>
    4.2.1. Terminating a Context
    A server can terminate any established context at any time. The
    server MAY hint to the client that the context is being deleted by
    including a TKEY RR in a response with the Mode field set to 5, i.e.,
    "key deletion" [RFC2930]. An active context is deleted by calling
    GSS_Delete_sec_context providing the associated context_handle.
    </RFC Snip>
    1. Configured Forward Zone aswin.com
    2. Not configured Reverse Zone, so that reverse updates get NOT AUTH ( just to test error case )
    3. TKEY negotiation is successful.
    4. Sent 2 updates say at 19:52 one forward and reverse updates. Forward update is success, Reverse update failed due to reverse zone not configured, which is expected.
    5. Sent 2 updates say at 19:55 using the previously established key, Forward update is success, Reverse update failed due to reverse zone not configured, which is expected.
    6. Sent 2 updates say at 20:01(approximately after 5 minutes), Forward Dynamic update failed with Query Refused. Until  new TKEY negotiation is done all updates are failed with Query Refused. Why the same key could not be used for 10 hours(based on
    Initialize security context output value). Is there any way to find how long key can be reused ?
    Statisctics details from Microsoft DNS
    dnscmd localhost /statistics 00000100
    DNS Server localhost statistics:
    Packet Dynamic Update:
    Updates Received         =          2
        Forwarded            =          0
        Empty (PreCon Only)  =          0
        NoOps (Dups)         =          0
        Rejected             =          1
        Completed            =          1
        Timed Out            =          0
        In Queue             =          0
    Updates Rejected         =          1
        FormError            =          0
        NameError            =          0
        NotImpl              =          0  (Non-Update Zone)
        Refused              =          0
          NonSecure Packet   =          0
          AccessDenied       =          0
        YxDomain             =          0
        YxRRSet              =          0
        NxRRSet              =          0
        NotAuth              =          1
        NotZone              =          0
    Queue
        Queued               =          1
        Retried              =          0
        Timeout              =          0
        In Queue             =          0
    Secure Update
        Success              =          1
        Continue             =          0
        Failure              =          0
          DS Write Failure   =          0
    Update Forwarding
        Forwards             =          0
        TCP Forwards         =          0
        Responses            =          0
        Timed Out            =          0
        In Queue             =          0
    Update Types:
        ZERO       = 0
        A          = 0
        NS         = 0
        CNAME      = 0
        SOA        = 0
        MB         = 0
        MG         = 0
        MR         = 0
        NULL       = 0
        WKS        = 0
        PTR        = 0
        HINFO      = 0
        MINFO      = 0
        MX         = 0
        TXT        = 0
        RP         = 0
        AFSDB      = 0
        X25        = 0
        ISDN       = 0
        RT         = 0
        NSAP       = 0
        NSAPPTR    = 0
        SIG        = 0
        KEY        = 0
        PX         = 0
        GPOS       = 0
        AAAA       = 0
        LOC        = 0
        NXT        = 0
        EID        = 0
        NIMLOC     = 0
        SRV        = 0
        ATMA       = 0
        NAPTR      = 0
        KX         = 0
        CERT       = 0
        A6         = 0
        Unknown    = 0
        Mixed      = 1
    Command completed successfully.
    dnscmd localhost /statistics 00000100
    DNS Server localhost statistics:
    Packet Dynamic Update:
    Updates Received         =         31
        Forwarded            =          0
        Empty (PreCon Only)  =          0
        NoOps (Dups)         =         24
        Rejected             =          3
        Completed            =          4
        Timed Out            =          0
        In Queue             =          0
    Updates Rejected         =          3
        FormError            =          0
        NameError            =          0
        NotImpl              =          0  (Non-Update Zone)
        Refused              =          1
          NonSecure Packet   =          0
          AccessDenied       =          0
        YxDomain             =          0
        YxRRSet              =          0
        NxRRSet              =          0
        NotAuth              =          2
        NotZone              =          0
    Queue
        Queued               =         29
        Retried              =          0
        Timeout              =          0
        In Queue             =          0
    Secure Update
        Success              =          2
        Continue             =          0
        Failure              =          1
          DS Write Failure   =          0
    Update Forwarding
        Forwards             =          0
        TCP Forwards         =          0
        Responses            =          0
        Timed Out            =          0
        In Queue             =          0
    Update Types:
        ZERO       = 0
        A          = 4
        NS         = 0
        CNAME      = 1
        SOA        = 0
        MB         = 0
        MG         = 0
        MR         = 0
        NULL       = 0
        WKS        = 0
        PTR        = 0
        HINFO      = 0
        MINFO      = 0
        MX         = 0
        TXT        = 0
        RP         = 0
        AFSDB      = 0
        X25        = 0
        ISDN       = 0
        RT         = 0
        NSAP       = 0
        NSAPPTR    = 0
        SIG        = 0
        KEY        = 0
        PX         = 0
        GPOS       = 0
        AAAA       = 0
        LOC        = 0
        NXT        = 0
        EID        = 0
        NIMLOC     = 0
        SRV        = 21
        ATMA       = 0
        NAPTR      = 0
        KX         = 0
        CERT       = 0
        A6         = 0
        Unknown    = 0
        Mixed      = 3
    Command completed successfully.
    C:\Users\Administrator>
    -Thanks,
    Devi.U

    Hi Devi,
    Based on this issue, would you please provide the netmon trace to us? I suggest taking a look at this packet. Moreover, please let me know if you tired to update the DNS record via DHCP manually.
    Thank you.
    Best regards,
    Steven Song
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • OS X 10.6.1:  bootpd, named, and dynamic DNS zone updates

    I have OS X 10.6.1 installed on a Mac Pro. It is configured to be the name server and DHCP server for my home network, i.e. /etc/named.conf and /etc/bootpd.plist have been modified to provide these services.
    I've encountered no problems with either the name server or the DHCP component of bootpd after upgrading to OS X 10.6(.1); however, one thing that continues to bug me is how to configure bootpd to dynamically update the DNS zone files whenever a lease is issued, released, or expires.
    At work, I use the Internet System Consortium's DHCP software and have it configured to dynamically update DNS whenever leases change state. I would really like to have DNS done the same way at home.
    What changes need to be made to /etc/bootpd.plist that would allow dynamic DNS updates to occur?

    Did you ever get an answer to this? Would rather not change the DHCP server in Snow Leopard....
    Thanks

  • RV042 Dynamic DNS not updating automatically

      I purchased 2 RV042's (h/w version 3) less than two months ago.  I updated them to the latest firmware (
    v4.0.4.02-tm (Jul  4 2011 13:30:56)), did a factory reset to make sure I was working with a clean slate, set up DDNS through DynDNS and a site to site VPN between the two.  Everything was working great for a month, then the DynDNS accounts expired because they weren't being updated.
      I reactivated the names on the DynDNS site, and started to monitor the "last updated" date and time.  After 24 hours there were no updates according to the DynDNS site.  I logged into one of the RV042's, and it said "Dyndns Enabled : Dynamic DNS is updated successfully."  This is a stale message from 24 hours ago when I hit save.
      So I went into Setup | Dynamic DNS | Edit Config and there it also says "Dynamic DNS is updated successfully."  I clicked "Save", status changed to "
    Dyndns Enabled : Updating..." for a few seconds, and then back to "Dyndns Enabled : Dynamic DNS is updated successfully".  I refreshed the DynDNS website and it shows the current time (in eastern time, i'm pacfic) as the last time it was updated.  So it works when I manually hit the "Save" button.  Not making any changed, just hitting "Save".
      I've let the other RV042 go over 48 hours and it still hasn't updated.
      So it apears for the time being, I'll have to remember to push the "Save" button once a week to prevent my DynDNS accout from expiring.
      Does anyone have DDNS working in the lastest firmware and h/w version 3?  If so, what is the update frequency?
      I'd like to hear any suggestions on how I might be able to fix this, or if this needs to be fixed in the next firmware release.  Hopefully, I've explained my problem clearly.

    Jasbryan,
    I am experiencing a problem with DynDns updater too. For me it seems that the updater (after a public IP change or reboot) only tries to update once, and if it failed then gives up and never tries again.
    I have to update manually (pushing the update button) which sooner or later succeeds. (Sometimes the first trial is successful, sometimes only the second or third.)
    I have an RV042 (v3) with firmware at 4.1.1 and a DynDns Pro subscription.
    I have a site-to-site VPN between two RV042s, both with dynamic IP. When the VPN tunnel drops, I usually detect that one of the public IPs has changed and the router for some reason failed to update DynDns. If I do it manually pushing the update button (one or more times), the tunnel comes up of course.
    Again, I suspect the problem is with the updater's "strategy" and timing. Should it wait a bit more after detecting a new public IP and retrying in every 5-10 minutes after a failed update attempt it would be more reliable.
    Janos

  • I have updated to windows 8.1 from windows 8.  My ipod nano (6th gen) is no longer identified properly in itunes.  I have tried all steps in the troubleshooting guide but it has not resolved the issue.  What can I do?

    My ipod nano (6th gen) is no longer identied properly in itunes.  I have followed all steps in the troubleshooting guide (uninstall and reinstall itunes several times, Apple Mobile Device running ok, verified USB port runs) but the issue is still not resolved.  What can I do?

    Universal Serial Bus controllers
         Intel(R) ICH9 Family USB Universal Host Controller - 2934
         Intel(R) ICH9 Family USB Universal Host Controller - 2935
         Intel(R) ICH9 Family USB Universal Host Controller - 2936
         Intel(R) ICH9 Family USB Universal Host Controller - 2937
         Intel(R) ICH9 Family USB Universal Host Controller - 2938
         Intel(R) ICH9 Family USB Universal Host Controller - 2939
         Intel(R) ICH9 Family USB Universal Host Controller - 293A
         Intel(R) ICH9 Family USB Universal Host Controller - 293C
         USB Composite Device
         USB Root Hub
         USB Root Hub
         USB Root Hub
         USB Root Hub
         USB Root Hub
         USB Root Hub
         USB Root Hub
         USB Root Hub
    I'm not sure if it charged when I hooked it up to my roommate's computer, but it definately didn't register either. If I put it on the dock it plays so the port is fine, but that still doesn't help me sync it to my computer.

  • [Forum FAQ] A content management tool with dashboard based on SharePoint List

    1. 
    Scenario:
    The SharePoint OOTB List has saved us a lot of time on managing mess data. It provides three forms to create/view/edit items, the ability to save the views we want with some specific filtering and sorting condition, versioning for easy restoring, and we
    can make it advanced with workflow contains the specific business logic.
    However, if there is a need for better user experience, interacting with the public APIs and a bit of script to customize the web page would be required.
    Suppose there is a requirement like this:
    We need a content collection tool which collects ideas from contributors, the newly ideas will be reviewed by reviewers.
    We may need to filter the list in a convenient way, get the wanted result with the data from the list and display in a chart or rank list. 
    We can add some buttons in Metro style to display the counting result of the data from the list dynamically. When we click them, the list will be filtered and sorted to display a friendly set of items. Also, we need to display a trend of the mess data graphically
    in some beautiful charts.  If we want to find out some outstanding contributors, top contributor board would be more comfortable than the top N items in the OOTB list view.
    The page would look like this:
    2. 
    Introduction:
    Engineers will come up with some ideas in the daily job and write a content to enlighten others. Reviewers will help to review ideas or contents and publish the contents if qualified.
    The complete process looks like this:
    As we can see, only the approved idea can be written as a content and only the approved content can be published.
    2.1
    How it works
    We build the whole tool in one page. All ideas and contents will be saved in a custom list. This is how it looks like:
    There are three parts in this page:
    1       
    2       
    2.1       
    2.1.1       
    Top menu
    The top menu contains three elements:
    A Drop Down menu for filtering data by team, it will refresh the other two parts with the filtered data:
    A hyperlink “STATISTIC” links to a PowerBI report whose data source is the custom list.
    A hyperlink “FEEDBACK” for collecting feedbacks:
    The feedbacks will be saved in another list:
    2.1.2       
    Information menu
    This part will display the calculated data retrieved from the list within tiles, chart and ranking list.
    The tiles can be clicked to filter and refresh the list view.
    2.1.3       
    List view
    A list stores all ideas and contents with the properties needed. It can be filtered by the Top menu and Information menu.
    The customization on the OOTB custom list template makes it more powerful and more suit for this scenario:
    1. An item leveled comment feature (based on OOTB Tags & Notes feature) for other users make comments to an idea or content:
    2. Title column: When there is no attachment in the current item, it redirects to the default DisplayForm page. If there is, it will open the attachment (usually a .docx file) in Word Online in a new tab.
    3. ECB menu: Add some custom shortcuts for popular actions:
    4. A hyperlink column stores the hyperlink points to the website where the content is published to.
    3.   
    How to achieve it
    This solution will be hosted in SharePoint Online environment, so we do all the job using JavaScript, REST API and Client Object Model.
    The Drop Down menu, tiles, rank list are generated with some HTML+CSS.
    The Trend Chart, we take advantage of the Combo chart in the Google chart library.  
    The list view is hosted in a <iframe> which can be easily filtered and refreshed by just passing a generated URL with query string.
    For the customization on the list view and the ECB menu, JSLink with Client Object Model would be OK.
    3.1
    Specific to every part
    3.1.1       
    Top menu
    3.1.1.1 
    Drop Down menu for retrieving filtered data and refreshing the display of the related controls
    When user selects a team here, there will be a request sent out for retrieving items of the list. By default, the limit is 100 when using REST API to get list items, so we can append a “$top=1000” to require more items from server.
    Code snippet like this:
    $.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items?$top=1000",
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    console.log("getListItems succ");
    console.log(data);
    error: function (data) {
    alert("getListItems error");
    //failure(data);
    Then we will get the “data” as a JSON format string, it contains all the values we need from the list:
    We can get the values we want like this:
    //get item Count
    var arr = [], len;
    for(key in data.d.results)
    arr.push(key);
    len = arr.length;
    for(var ii=0; ii<len; ii++)
    var team = data.d.results[ii].Team;
    var month = data.d.results[ii].Month;
    As we need to know the counts of each type of ideas or contents, we use an array for saving the counters:
    //ary to store all counters for tiles: all/pendingIdea/pendingContent/my/approvedIdea/approvedContent
    var aryAllCounters = [0,0,0,0,0,0];
    for(var ii=0; ii<len; ii++)
    //get pendingIdeaCount
    if(data.d.results[ii].Statuss === 'Pending')
    aryAllCounters[1]++;
    Once all the numbers are ready, we can do the refreshing.
    As the list view page is hosted in a <iframe>, all we need to do is passing a constructed URL with query string:
    url_team = URL + "?FilterField1="+FIELD_MYTEAM+"&FilterValue1=" + sel_val;
    $iframe.attr('src', url_team);
    3.1.1.2 
    Hyperlink for popping up a dialog to collect feedbacks
    The feedback dialog hosts another page which contains two buttons and one text area.
    The HTML code of the FEEDBACK button:
    <a id="feedback" href="#" onclick="javascript:openDialogBox('../SitePages/Feedback.aspx');">FEEDBACK</a>
    The openDialogBox() function:
    function openDialogBox(url){
    var options = SP.UI.$create_DialogOptions();
    options.url = url;
    options.height = 130;
    options.width = 425;
    options.title = "Feedback";
    SP.UI.ModalDialog.showModalDialog(options);
    In the Feedback.aspx page, when user click submit button, we will save the content of the text area into the feedback list:
    function addListItem()
    this.clientContext = new SP.ClientContext.get_current();
    this.oList = clientContext.get_web().get_lists().getByTitle('Feedback');
    var itemCreateInfo = new SP.ListItemCreationInformation();
    this.oListItem = this.oList.addItem(itemCreateInfo);
    //set person field
    var userValue = new SP.FieldUserValue();
    //userValue.set_lookupId(this.currentUser.get_id());
    userValue.set_lookupId(_spPageContextInfo.userId);
    oListItem.set_item('Provider', userValue);
    //Sets the specified field value
    oListItem.set_item('Title', str);
    //datetime field
    var currDate = new Date();
    oListItem.set_item('Submit_Time',currDate);
    oListItem.update();
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded_add), Function.createDelegate(this, this.onQueryFailed));
    3.1.2       
    Information menu
    3.1.2.1 
    Tile shortcut
    In the click event of the tiles, the code will pass a generated URL with query string to the <iframe>:
    //filter list only
    $tile.click(function(){
    //distinguish tiles by id
    var v = $(this).attr('id');
    switch(v)
    case S_MY_CONTENT:
    url_team1 = URL + "?FilterField1="+FIELD_COMPOSER+"&FilterValue1=" + currentUsername;
    break;
    case S_PENDING_IDEA:
    url_team1 = url_team + "&FilterField2="+FIELD_STATUS+"&FilterValue2=Pending&FilterField3="+FIELD_IDEATYPE+"&FilterValue3=Idea";
    break;
    $iframe.attr('src', url_team1);
    3.1.2.2 
    Trend chart
    The chart will be initialized with the numbers by month stored in a 3D array:
    google.load("visualization", "1", {packages:["corechart"]});
    google.setOnLoadCallback(drawVisualization);
    function drawVisualization(ary)
    // Some raw data (not necessarily accurate)
    var data = google.visualization.arrayToDataTable(ary);
    var view = new google.visualization.DataView(data);
    view.setColumns([0, 1,
    { calc: "stringify",
    sourceColumn: 1,
    type: "string",
    role: "annotation"
    2]);
    // Create and draw the visualization.
    var ac = new google.visualization.ComboChart(document.getElementById('chart1'));
    ac.draw(view, {
    //legend: 'top',
    legend: {
    title : '',
    //width: 0,
    //height: 285,
    vAxis: {title: "", format:'#',viewWindowMode:'explicit',
    viewWindow:{
    min:0
    },ticks: ticks
    //hAxis: {title: ""},
    lineWidth: 4,
    bar: {groupWidth: "60%"},
    seriesType: "bars",
    series: {1: {type: "line"}},
    chartArea:{
    colors: ['#A4C400', '#F9A13B']
    3.1.2.3 
    Top contributors rank list
    When retrieving list items, we can get the “AuthorId” which represents the id of the user in the siteUserInfoList. We run another request to retrieve all items in the siteUserInfoList which stores the username with the URL of profile.
    Then we can use a hash table(provided by jshashtable.js) to store the user id, username and profile URL:
    $.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/siteUserInfoList/Items",
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    console.log(data);
    //get item Count
    var arr = [], len;
    for(key in data.d.results)
    arr.push(key);
    len = arr.length;
    var ht_authors = new Hashtable();
    for(var ii=0; ii<len; ii++)
    if(authorSet.contains(data.d.results[ii].Id))
    if(data.d.results[ii].Picture != null)
    ht_authors.put(data.d.results[ii].Id, data.d.results[ii].Title+'|'+data.d.results[ii].Picture.Url);
    else
    ht_authors.put(data.d.results[ii].Id, data.d.results[ii].Title+'|');
    console.log("ht_authors.keys(): "+ht_authors.keys());
    console.log("ht_authors.values(): "+ht_authors.values());
    error: function (data) {
    alert("error");
    //failure(data);
    3.1.3       
    List view
    For the Comment button, custom title link and the custom published link of each item, we can use JSLink to achieve.
    Comment button: It is supposed to be the OOTB “Type” column, I change the icon and modify the click event of it to pop up a comment dialog which take advantage of the OOTB “Tags&Notes” feature;
    Custom Title link: As there will be two situations of an item: has attachment or not. We will need to run a request to get the URL of attachment and change the hyperlink of the Title field accordingly:
    (function () {
    // Create object that have the context information about the field that we want to change it output render
    var linkFiledContext = {};
    linkFiledContext.Templates = {};
    linkFiledContext.Templates.Fields = {
    //"Attachments": { "View": AttachmentsFiledTemplate }
    "LinkTitle": { "View": TitleFieldTemplate },
    "Published_x0020_Link": { "View": PublishedLinkFieldTemplate },
    "DocIcon": { "View": DocIconFieldTemplate },
    "MyTeam": { "View": MyTeamFieldTemplate }
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(linkFiledContext);
    function DocIconFieldTemplate(ctx)
    var htmlStr = "";
    var listId = ctx.listName;
    var itemId = ctx.CurrentItem.ID;
    var s = listId + "," + itemId;
    htmlStr += "<img width='16' height='16' class=' ms-draggable' alt='Comment' src='"+_spPageContextInfo.webAbsoluteUrl+"/Shared%20Documents/img/comment-icon.png' border='0' ms-draggableragId='0' onclick='CommentIcon(\""+ s +"\")'></img>";
    return htmlStr;
    function CommentIcon(s)
    var listId = s.split(',')[0];
    var itemId = s.split(',')[1];
    var url=_spPageContextInfo.webAbsoluteUrl+"/_layouts/15/socialdataframe.aspx?listid="+listId+"&id="+itemId+"&mode=1";
    console.log(url);
    openCustomDialog(url,"Comment",650,520);
    function openCustomDialog(pageUrl,title,width,height)
    SP.UI.ModalDialog.showModalDialog({
    url: pageUrl,
    width: width,
    height: height,
    title: title,
    dialogReturnValueCallback: function (result){
    if(result== SP.UI.DialogResult.OK)
    parent.window.location.href=parent.window.location.href;
    function PublishedLinkFieldTemplate(ctx)
    //console.log(ctx);
    var htmlStr = "";
    var itemPublishedLink = "";
    var itemPublishedLinkDesc = "";
    if((ctx.CurrentItem.Published_x0020_Link != ''))
    itemPublishedLink = ctx.CurrentItem.Published_x0020_Link;
    itemPublishedLinkDesc = ctx.CurrentItem["Published_x0020_Link.desc"];
    htmlStr = "<a href='" + itemPublishedLink + "' target='_blank'>" + itemPublishedLinkDesc + "</a>";
    return htmlStr;
    function MyTeamFieldTemplate(ctx)
    var htmlStr = "";
    var itemMyTeam = "";
    if((ctx.CurrentItem.MyTeam[0] != undefined) && (ctx.CurrentItem.MyTeam[0] != null))
    itemMyTeam = ctx.CurrentItem.MyTeam[0].lookupValue;
    htmlStr = itemMyTeam;
    return htmlStr;
    function TitleFieldTemplate(ctx) {
    console.log(ctx.CurrentItem);
    var itemId = ctx.CurrentItem.ID;
    var itemTitle = ctx.CurrentItem.Title;
    var listName = ctx.ListTitle;
    var siteUrl = _spPageContextInfo.webAbsoluteUrl;
    var listUrl = _spPageContextInfo.webAbsoluteUrl + "/Lists/" +listName;
    var fileNames = getAttachmentsNames(listName, itemId);
    console.log(fileNames);
    var fileNameAry = fileNames.split("|");
    var htmlStr = "";
    //check the attachment existence
    if(fileNameAry[0] != '')
    for(var j = 0; j < fileNameAry.length; j++)
    var fileName = fileNameAry[j];
    var s1 = "<a class=\"ms-listlink ms-draggable\" onmousedown=\"return VerifyHref(this, event, '1', 'SharePoint.OpenDocuments.3', '1";
    //1``https://microsoft.sharepoint.com/teams/spfrmcs
    var s2 = "/_layouts/15/WopiFrame.aspx?sourcedoc=";
    //2``/teams/spfrmcs/Lists/Content%20Pool
    var s3 = "/Attachments/";
    //3``137
    var s4 = "/";
    //4``[Forum FAQ] Highlight the list tab in Quick Launch when the list view changes.docx
    var s5 = "&action=default'); return false;\" href=\"";
    //5``https://microsoft.sharepoint.com/teams/spfrmcs/Lists/Content Pool
    var s6 = "/Attachments/";
    //6``137
    var s7 = "/";
    //7``[Forum FAQ] Highlight the list tab in Quick Launch when the list view changes.docx
    var s8 = "\" target=\"_blank\" DragId=\"1\">";
    //8``Highlight the list tab in Quick Launch when the list view changes
    var s9 = "</a>";
    var s = s1+siteUrl+s2+listUrl+s3+itemId+s4+fileName+s5+listUrl+s6+itemId+s7+fileName+s8+itemTitle+s9;
    htmlStr += s;
    //console.log(htmlStr);
    if (j != fileNameAry.length - 1)
    htmlStr += "<br/>";
    //if no attachments, set the <a> point to displayForm
    else
    htmlStr += "<a class='ms-listlink ms-draggable' onclick='EditLink2(this,28);return false;' onfocus='OnLink(this)' href='" + siteUrl + "/_layouts/15/listform.aspx?PageType=4&ListId=%7BE54A4FBB%2DDDC2%2D4F7E%2D8343%2D8A1C78757CF4%7D&ID=" + itemId + "&ContentTypeID=0x010079A1D928FF77984C80BFEF1D65C3809F' target='_blank' DragId='0'>" + itemTitle + "</a>";
    return htmlStr;
    function getAttachmentsNames(listName,itemId) {
    var url = _spPageContextInfo.webAbsoluteUrl;
    var requestUri = url + "/_api/web/lists/getbytitle('" + listName + "')/items(" + itemId + ")/AttachmentFiles";
    var str = "";
    // execute AJAX request
    $.ajax({
    url: requestUri,
    type: "GET",
    headers: { "ACCEPT": "application/json;odata=verbose" },
    async: false,
    success: function (data) {
    for (var i = 0; i < data.d.results.length; i++)
    if(i != 0)
    str += "|";
    str += data.d.results[i].FileName;
    error: function (err) {
    //alert(err);
    return str;
    3.2
    How to make them work together
    When selecting an option in the Drop Down menu, the Information menu and the List view will be refreshed separately.
    When clicking the tiles, only the list view will be filtered and refreshed, the other parts will not be influenced.
    When items created/modified, the whole page will be refreshed to keep all the numbers in each part updated.  A workflow will also be triggered to inform engineers or reviewers the progress of an item or content.
    3.3
    Other customizations
    3.3.1       
    ECB menu and permission control
    As we need to refresh the page when new item or modify item, we put all the form pages in a custom modal dialog and execute the refresh in the success callback function.
    There are three roles: Site owner, reviewer and engineer. They have limited privileges according to the roles they are:
    Site owner: Full control on the list, can see all the buttons in the ECB menu;
    Reviewer: There is another list which stores the names of each team and reviewers’ names of each team. The reviewer has limited full control only on the team they belong to. To other teams, the role can be seen as a visitor;
    Composer
    (create owner): The one who contribute an idea. For the ideas\contents from other teams, this role can be seen as visitor.
    The ECB menu they can see is:
    For the visitor, the ECB menu will only display a few buttons:
    The code:
    (function () {
    var viewContext = {};
    viewContext.Templates = {};
    viewContext.OnPostRender = OnViewPostRender;
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(viewContext);
    function OnViewPostRender(ctx) {
    $("a[title='More options']").removeAttr("onclick");
    $(".ms-list-itemLink").removeAttr("onclick");
    $("a[title='More options']").attr("onclick", "showMenuList(this);return false;");
    function showMenuList(obj) {
    var itemId = $(obj).parents("tr").attr("id").split(",")[1];
    //show ECB menu
    CoreInvoke('ShowECBMenuForTr', obj, event);
    var teamId = getCurrentTeamId("Content Pool", itemId);
    var styles = "";
    if (isSiteOwner("Technet SharePoint Team Owners")) {
    styles = "li[text='Delete Item ']{display:block;} li.ms-core-menu-separator:last-child{display:block;} ul.ms-core-menu-list > li:nth-last-child(5){display:block;} li[text='Edit Item ']{display:block;} li[text='Upload Document']{display:block;} li[text='Approve']{display:block;} li[text='Reject']{display:block;} li[text='Add Publish Link']{display:block;}";
    } else if (isReviewer("List1_FAQ_team", teamId, "Reviewers")) {
    styles = "li[text='Delete Item ']{display:block;} li.ms-core-menu-separator:last-child{display:block;} ul.ms-core-menu-list > li:nth-last-child(5){display:block;} li[text='Edit Item ']{display:block;} li[text='Upload Document']{display:block;} li[text='Approve']{display:block;} li[text='Reject']{display:block;} li[text='Add Publish Link']{display:block;}";
    } else if (isComposer(obj)) {
    styles = "li[text='Delete Item ']{display:block;} li.ms-core-menu-separator:last-child{display:block;} ul.ms-core-menu-list > li:nth-last-child(5){display:block;} li[text='Edit Item ']{display:block;} li[text='Upload Document']{display:block;} li[text='Approve']{display:none;} li[text='Reject']{display:none;} li[text='Add Publish Link']{display:none;}";
    } else {
    styles = "li[text='Delete Item ']{display:none;} li.ms-core-menu-separator:last-child{display:none;} ul.ms-core-menu-list > li:nth-last-child(5){display:none;} li[text='Edit Item ']{display:none;} li[text='Upload Document']{display:none;} li[text='Approve']{display:none;} li[text='Reject']{display:none;} li[text='Add Publish Link']{display:none;}";
    includeStyleElement(styles);
    //get current team id
    function getCurrentTeamId(listName,itemId){
    var teamId="";
    var requestUri = _spPageContextInfo.webAbsoluteUrl +
    "/_api/Web/Lists/getByTitle('"+listName+"')/items("+itemId+")?$select=MyTeamId";
    // execute AJAX request
    $.ajax({
    url: requestUri,
    type: "GET",
    headers: { "ACCEPT": "application/json;odata=verbose" },
    async: false,
    success: function (data) {
    if(data.d.MyTeamId!=null){
    teamId=data.d.MyTeamId;
    }else{
    teamId="0";
    error: function () {
    //alert("Failed to get details");
    return teamId;
    //check whether is owner
    //Technet SharePoint Team Owners
    function isSiteOwner(groupName) {
    var flag = false;
    var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/Web/effectiveBasePermissions";
    // execute AJAX request
    $.ajax({
    url: requestUri,
    type: "GET",
    headers: { "ACCEPT": "application/json;odata=verbose" },
    async: false,
    success: function (data) {
    var permissions = new SP.BasePermissions();
    permissions.fromJson(data.d.EffectiveBasePermissions);
    flag = permissions.has(SP.PermissionKind.managePermissions);
    error: function () {
    //alert("Failed to get details");
    return flag;
    function isComposer(obj) {
    var flag = false;
    var userId = _spPageContextInfo.userId;
    var composerId = $(obj).parents("tr").find("a[href*='userdisp.aspx']").attr("href").split("ID=")[1];
    if (composerId == userId) {
    flag = true;
    return flag;
    //check whether is reviewer
    function isReviewer(listName,teamId,peopleColumn){
    var flag=false;
    var userId=_spPageContextInfo.userId;
    // begin work to call across network
    var requestUri = _spPageContextInfo.webAbsoluteUrl +
    "/_api/Web/Lists/getByTitle('"+listName+"')/items?$select=ID&$filter=(ID eq '"+teamId+"' and "+peopleColumn+"Id eq '"+userId+"')";
    // execute AJAX request
    $.ajax({
    url: requestUri,
    type: "GET",
    headers: { "ACCEPT": "application/json;odata=verbose" },
    async: false,
    success: function (data) {
    if(data.d.results.length>0){
    flag=true;
    error: function () {
    //alert("Failed to get details");
    return flag;
    //insert style into page
    function includeStyleElement(styles) {
    var style = document.createElement("style");
    style.type = "text/css";
    (document.getElementsByTagName("head")[0] || document.body).appendChild(style);
    if (style.styleSheet) {
    //for ie
    style.styleSheet.cssText = styles;
    } else {
    //for w3c
    style.appendChild(document.createTextNode(styles));
    3.3.2       
    Workflow email customization
    The email will only be sent to engineer or team reviewer in the three scenarios:
    When engineer uploads an idea or content, reviewer will receive an email;
    When engineer uploads a content to an existing idea, reviewer will receive an email;
    When reviewer approve/reject an idea or content, engineer will receive an email;
    The design of the workflow process  :
     The email design like this:
    Email to engineer
    Email to reviewer
    Let us know if you are interested in it. Happy coding!
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    A good solution. Liked it very much. Can you please make it a technet blog for others.
    [email protected]

  • Troubleshooting Guide: Audio does not Work after a Certain Period of Time

    Hello everyone, Thanks for choosing the HP Forums! If your sound recently stopped working on Windows 8.x or Windows Server 2012, and you suspect a Windows Update is involved, then look no further! This is the troubleshooting guide that will explain how to resolve the issue! Explanation: Currently, there is a Windows update that may be causing the sound on your computer to stop working. The update is KB2962407, and it is now an “Important” update. That means that it will be installed by Windows Update unless you hide it. This thread also covers generic sound troubleshooting that can resolve "no sound" issues. Before tackling the update itself, since a Windows update may not be the culprit, there is some troubleshooting that can be done. A Round of Troubleshooting: 1. Running the Audio Troubleshooting in Windows 8 can resolve the issue. It does contain the ability to eliminate any setting that affects sound. Here are some steps on how to run this troubleshooter: a) Hold down the “Windows” and “R” key and then type “troubleshooting” and hit Enter.b) A window will open. On the left, click “View All”, then “Playing Audio”.c) Click “Advanced” and run it as Administrator. Then click “Next” to complete the process. 2. Try creating a new user account. The changes forced by the update may only affect one user. This HP document shows you how to create a new user under the “Creating a new account in Windows 8” section: Managing User Accounts and Logins (Windows 8) 3. Try a pair of headphones or external speakers. It will rule out where the issue lies if sound does not work through a second or third output device. 4. Another solution is to uninstall the driver manually then force it to be installed again:a) Open Device Manager, and go to the “Sound, video and game controller” section.b) Right-click on your audio driver and select “uninstall”.c) Restart the computer. This will force the hardware to write a new driver upon startup. 5. Finally, make sure that the remaining steps that you haven't tried from this document are attempted: No Sound from Speakers (Windows 8) New Inclusions: Disabling and enabling the sound driver has been tested with successful results enough for me to post here. These are the instructions to do this: a) Open Device Manager, and go to the “Sound, video and game controller” section.b) Right-click on your audio driver and select “disable”.c) Wait a minute, then right-click on it and select "enable" Also, A System Restore is also a valid troubleshooting step. This will return the computer to a point before the update and/or external source of the issue occurred. Here is a document on how to perform a System Restore: System Restore If you want something stronger, a Windows Refresh completely refreshes Windows 8, without affecting files: Refresh Your PC to Resolve Problems (Windows 8) Also, here is a Windows sound troubleshooting tutorial. Just out of curiosity, I re-created the issue on a Windows 8 computer and went through this tutorial. It was able to resolve the issue: No sound in Windows  *Everything in italics  is currently un-tested, but will be tested as soon as possible. I believe these steps will help: In the search bar, type "services.msc" and hit Enter. Hold down the "Windows" key and "R" key. Type "services.msc" and hit Enter. Look for the following services: - Audio Service- Windows Audio- Windows Audio Endpoint Builder I want you to right-click each of those services, and select "Stop". When they are all stopped, right-click on each one again, and select "Start". As well, make sure each service's status is "Started" and their startup type is "Automatic". Troubleshooting the Update: At this point, unless you want to reinstall the operating system, the only other option is to tackle the update, KB2962407. Please note that the following troubleshooting is ONLY a workaround, for now, and only should be done if the computer has installed this update. First, you can try the Hotfix in this Microsoft document, specifically to address KB2962407: Windows RT, Windows 8, and Windows Server 2012 update rollup: June 2014 If that doesn't help, then uninstalling the Windows Update, and then hiding it, is the only method of eliminating the issue if it caused by this update. Here is the procedure for uninstalling the update: 1. Go into Control Panel, then click on “Programs and Features”.2. Click on “View Installed Updates”. Look for the update with the ID number KB2962407.3. Right-click on the update and select “Uninstall”. Restart the computer. Next, here is the procedure for hiding the update: 1. Go into Control Panel, then click on “Windows Updates”.2. Click on “Check for Updates”. When the process is completed, is should find important update(s) available. Clicking on the message will open a window where the important update(s) is.3. Right-click on the KB2962407 update and select “Hide Update”. This will prevent the update from being installed next time Windows Updates are being installed. Conclusion:
    At the end of this guide, you will have sound working again (assuming that the cause was the Windows Update, or at least software-based). Please let me know if you have any other questions or concerns. Thanks!
    Mario

    Hello everyone  Thank you so much for making use of my thread, dedicated to resolve the issue. I appreciate all the feedback  For those who are still experiencing issues, please reply to this post with the following information, and I can continue to assist: 1. The computer's model number. If you require assistance locating this information, please reference this website: Guide to finding your notebook product number 2. The computer's operating system. If you require assistance locating this information, please reference this website to determine your Windows operating system. (Make sure to include whether it's 32 or 64 bit.) 3. Does this occur on certain programs, or all programs? 4. Have you installed any new software or drivers on this computer, before the issue appeared? 5. What steps have been attempted from my first post on this thread, and what were the results? Additionally, if the issue just began occurring, I would perform a system restore. I want you to bring the computer back to the earliest restore point possible, in an attempt to dodge whatever caused the issue. Here is a document on how to perform a System Restore: System Restore Thanks again for all the continued support! Mario

  • SAP NetWeaver BPM Troubleshooting Guide

    Hi all,
    I am not sure if you happen to see that the description of this forum had changed.
    Thus I wanted to point your attention to a a page we recently added to it: The so called '[SAP NetWeaver BPM Troubleshooting Guide|http://wiki.sdn.sap.com/wiki/display/BPMT]' tackles typical problems you may encounter when start using SAP NetWeaver Business Process Management (BPM).
    We came up with a step-by-step based guide similar to the one the colleagues from the Java Server Team created. It covers aspects like modeling, running and monitoring your SAP NetWeaver BPM processes.
    For sure this guide is not complete. We added an inital set to it and would love to see it evolving together with your help. So feedback from your side is always appreciated. Furthermore it clearly cannot cover all aspects the [official documentation|https://help.sap.com/nwce] describes and definitely does not aim to compete with it.
    So: Update your bookmarks and give it a try:
    [SAP NetWeaver BPM Troubleshooting Guide|http://wiki.sdn.sap.com/wiki/display/BPMT]
    Best regards,
    Martin
    Edited by: Martin Moeller on Jan 25, 2012 10:17 AM (Link updates)

    Excellent proposal, thanks.
    Feel free to use this thread for comments.
    Best regards,
    Martin

  • DNS stopped updating

    NW 6.5.8
    dhcpsrvr Version 3.14 30 October 2008
    Noticed recently that DNS stopped updating
    Local client get the IP correcty, but the info is not writen/updated in DNS
    DNS Zone is setup for Dynamic Update (and that was working for years)
    Any ideas?
    Thanks
    Seb

    I had this setup years ago, as to when I noticed few week(s) back the
    updates were happening with no problems
    Checking log I get:
    DHCP & DNS are on separate servers, both have RW replicas, communicating
    just fine
    1 zone, 1 subnet, 1 pool, flat network
    Get type:4, IPAddr:0.0.0.0, LeaseTime:0, MacIndx:29277, pIP:6DEB0180
    Using existing IP with subnet A000000
    SubmitJob called with addr=10.0.5.32, leaseExpiration=0,
    lease=5184000, operation=2
    DetermineLeaseTime: proposed=0, return=5184000,
    pSubnet->leaseTime=5184000
    AMAGet() exit err:0, subnet:10.0.0.0, addr:10.0.5.32
    2011/01/21 08:31:32 <DHCPDISCOVER> packet received from client
    <0:21:70:A4:14:D7>.
    Sending reply as a subnet broadcast.
    2011/01/21 08:31:32 Sending BOOTP/DHCP reply <DHCPOFFER> to
    <0:21:70:A4:14:D7> as <255.255.255.255>.
    ProcessJob pass IP DN: 10_0_5_32.SPGS_10_Subnet., hostname
    SPGS-D630-11-, operation 2
    ProcessDNSUpdate entered, operation DELETE
    ProcessDNSUpdate, domain name:SPGS-D630-11-.spgs.org
    SendWakeupMsg: sent 10 characters.
    Got the signal pattern.
    InitiateDNSUpdate: writemsg() called with len=5A
    AddZoneRecord: dnsLogInfo.LastZonePosition = FFFFFFFF, err=0
    InitiateDNSUpdate: writemsg() failed, wrote to file
    Seb
    "joharmon" <[email protected]> wrote in message
    news:[email protected]..
    >
    > I think a little more info is needed. Are you logs reporting the
    > updates as even being attempted and failing? or do you not even see DHCP
    > sending the updates over to DNS? Are you allowing updates under the
    > zone's control lists? Primary server the same for the forward and
    > reverse zones? etc . . . It could be a dozen different things based on
    > the info provided.
    >
    >
    > --
    > joharmon
    > ------------------------------------------------------------------------
    > joharmon's Profile: http://forums.novell.com/member.php?userid=15424
    > View this thread: http://forums.novell.com/showthread.php?t=430439
    >

Maybe you are looking for