Sunday, January 16, 2011

【 Weak current College 】 how to properly clean up DNS cache



Automatically start the DNSClient Windows2000 service that provides the name of the client and caching services, users of the DNS query results will be cached locally. In the configure a DNS server, if you do not have a good command of this principle, tend to be some incorrect operation.
We may, at the command prompt, use the command to clear the DNS client cache information. The client performs "Ipconfig/flushdns command prompt after the letter, and then do one of the" ping "command to process queries.
We see that in the "management tool" to open the "services" tool, locate the "DNSClient", stop the service after the client does not cache the DNS query information, so that the DNS server for the changes in the client query will be reflected immediately.
When the domain name of the analysis you have questions, you may be a DNS server to update the domain name's IP, and the local DNS cache stored information does not correspond, causing domain name analysis of doubt, you will need to update the local DNS local cache, the basic cleaning local DNS local cache.
1. in the run, enter cmd, and then type ipconfig/flushdns.
2. the system service DNSCLIENT service is stopped, no local storage of a DNS query information.
3. close IE and then clean up the history or restart the machine.
Three essentials can immediately correct analysis of the domain name. Shared between users open the ODBC connection support Windows2000 database connection (ODBC), a Microsoft-developed guidelines for the mechanisms that can make the customer is not in the local installation DBMS can access the various database management system database.
For example, you can be on a single server to establish an ODBC connection makes a product from the Web to access the database. To IIS as the host system's Web page, you can include the necessary calls to access ODBC connection and the underlying data.
Windows2000-supporting three ODBC data source name (DSN): System, user, and file. Windows2000-system and the user DSN is stored in the registry. The file DSN is a suffix name .DSN file.
File DSN's general usage for the local supply database connection using the program, such as Excel or Access. The advantages of using folder DSN is you can easily share it among users, you can use a network share or copyDSN file to each user's computer.
To share files between the user DSN, use the Control Panel administrative tools applet under data sources applet first establish a DSN, and then set the DSN to a user can access the site. The user must add the folder path to the DSN to their appropriate use of program configuration.
For example, if users use Excel, select the data to import external data on the new database query. In the Choose Data Source dialog box, click Options, enter the path to the folder shared DSN, and then click close indeed. And then other users can use in your DSN.
Use DNS scavenging cleanup
The DNS service supports Windows2000 scavenging feature that helps you ensure that the services management DNS records can be kept up to date. If you use dynamic DNS to modify the client IP address will automatically register the host name, scavenging is very important that this happens with customers through DHCP to automatically obtain an IP address as much.
As time went by, a range of customer master records may be out of date, scavenging delete these records. Delete records to improve DNS server and zone transfer performance, and it also guarantees that the host record is not an old record conflict.
You can use a range of properties to configure the scavenging. Open the DNS console, right-click the Zone and then select Properties. On the General tab, click Aging ZoneAging/ScavengingProperties dialog box opens. Use the drop-down list box on the configuration chosen, RefreshInterval and Non-refreshInterval ScavengeStaleResourceRecords check box, click OK to close both dialog boxes. You also can edit the attributes of the server configuration for the region as a whole, rather than on scavenging a single zone configuration. In the DNS console, right-click the server, choose SetAging/ScavengingForAllZones. The pop-up dialog box and configure a single area of the dialog box.

Delegate a policy group object
Use Ipconfig to observation and analysis of caching DNS management
In DNS on Windows2000Professional platform will host name of the customer to an IP address, and other Windows operating platform is the same. DNS analysis requires the support of the Web Reader, and the mail service and other dependent on host name, not dependent on the IP address of the support program.
Windows DNS analysis of the results of DNS queries are stored, including certain queries, which of course includes a negative query (analysis of the failed query).
Each DNS record with a time to live (TTL) value, this value isDetermine when to refresh the record which, in turn, replaced by another query. Before the arrival of the TTL, the analysis will return the Windows cache query results, but will not start a new query.
When you want to handle the connection and DNS queries, clear the DNS cache and force Windows to a host name to perform a new analysis is very necessary. You can use the console commands IPConfig to observing the cache capacity and empty the cache.
The following command to display the capacity of the cache, and assign the result to a More directive, which will result in a page at once displayed: ipconfig/displaydns more
Use this command to empty the cache: ipconfig/flushdns
Delegate a policy group object
With the network expansion, especially in need across different sectors or regions implement policies group management, then you will find on the server and network management is becoming increasingly difficult. Group Policy objects (GPOs) to control the delegate control to your management basic of help. Delegated administrators can require to have a special organizational units (Ous) or domain group management policy implementation.
Delegate GPO management configuration GPO access control lists to control user read/write access, detailed configuration steps are as follows:
1. open the Active Directory users and Computers console
2. in the connection to the GPO OU out click right mouse button to perform the domain extension, pick properties;
3. click on the policy group of labels, selected GPO, and then click Properties.
4. click on security labels, add GPO is entrusted to the group or user, and are selected to allow read and write operations;
5. click OK to close the GPO attribute column, and then press the OK button to close the properties bar OU;


No comments:

Post a Comment