1. Introduction to MyDNS: MyDNS is a free DNS server software on a UNIX platform. It is designed to read DNS records directly from the database and take effect from time to time after modification. On MyDNS, you can add your own sub-domain names and create sub-websites with the same name at the same time, it is easy to use and complete DNS operations such as URL
In the previous blog, I spoke about the use of powerDNS. Today, I want to talk about the configuration and usage of mydns. There are many mydns configurations on the Internet, but the web management of myconfig will be explained later in the editor). Of course, since the editor mentioned this, there must be a solution, the solution is detailed in the subsequent implementation steps. Let's get started with
MyDNS is a DNS server that uses the MySQL database as the background. It uses the data record format to replace the traditional DNS server in the configuration file format, such as BIND ). The installation, configuration, and management of the MyDNS server are easier to implement and understand. MyDNS reads records from the MySQL database. When a region or record
record, cname record, MX record, and NS record.
Sample Code:
Mydns = new mydns ();//
// Query the record of the Lixin. Me domain name on the 8.8.8.8 Domain Name Server,If (! Mydns. Search ("Lixin. Me" querytype. A, "8.8.8.8", null )){
// If the server returns an error message, the error message is displayed.
MessageBox. Show (
record, CNAME record, MX record, and NS record.
Sample Code:
MyDns mydns = new MyDns ();//
// Query the record of the lixin. me domain name on the 8.8.8.8 Domain Name Server,
If (! Mydns. Search ("lixin. me" QueryType. A, "8.8.8.8", null ))
{
// If the server returns an error message, the error message is displayed.
M
PowerShell can easily operate WMI, and the DNS service provides good WMI support, so PowerShell can manipulate the Windows DNS service by manipulating WMI.
1. Get the DNS object.
Copy Code code as follows:
ps> $mydns = [WMIClass] "Root\microsoftdns:microsoftdns_resourcerecord"
2, the creation of analytic records, using the Createinstancefromtextrepresentation method.
Copy Code code as follows:
Ps> $
the cache timeout to 10 seconds:
Java. security. Security. setproperty ("networkaddress. cache. TTL", 10 );
2. Set the networkaddress. cache. Negative. TTL attribute in the Java. Security File. If the JDK installation directory is C:/jdk1.6, the Java. Security file is located in the C:/jdk1.6/JRE/lib/security directory. Open this file, find the networkaddress. cache. TTL attribute, and set this attribute value to the corresponding cache timeout (unit: seconds ).
If the networkaddress. cache. TT
Java.security.Security.setProperty method. The following code sets the cache timeout to 10 seconds:Java.security.Security.setProperty ("Networkaddress.cache.ttl", 10);2. Set the Networkaddress.cache.negative.ttl property in the Java.security file. Assuming that the JDK installation directory is C:\jdk1.6, the Java.security file is located in the C:\jdk1.6\jre\lib\security directory. Open this file, locate the Networkaddress.cache.ttl property, and set the property value to the corresponding cac
are three functions: "domain name management", "MYDNS", and "change password ", in domain name management, the information of the contact person of the domain name administrator can be modified, except that the domain name owner cannot be modified, as you can see, we should use "MYDNS" for domain name resolution"Step 3: Click "
");Header ("location: http://www.alixiu.com /");Exit;}Else {Header ('content-type: text/html; charset = ISO-8859-1 prime ;);};?>
Method 2: the website uses alias resolution for PR hijacking. Similar to using the domain name forwarding for PR hijacking, the mydns resolution domain name is used for domain name PR hijacking. The following uses the domain name resolution of xinnet Internet as an example. First, go to the domain name system platform an
; through the member ID and the corresponding password to log on to the member area ---> domain list ---> Management ---> enter the domain name and password ---> select mydns service ---> enter the third-level domain name and corresponding IP address ---> Save settings, automatic System resolution ---> Effective domain name
The domain name resolution record addition and change results take effect 1-59 minutes on the matrix DNS, and the global DNS ge
Java.security.Security.setProperty method. The following code sets the cache timeout to 10 seconds:
Java.security.Security.setProperty ("Networkaddress.cache.ttl", 10);
2. Set the Networkaddress.cache.negative.ttl property in the Java.security file. Assuming that the JDK installation directory is C:\jdk1.6, the Java.security file is located in the C:\jdk1.6\jre\lib\security directory. Open this file, locate the Networkaddress.cache.ttl property, and set this property value to the appropriate
: _msdcs.contoso.comdnsservername:dc.contoso.comownername: _kerberos._tcp. default-first-site-name._sites.dc._msdcs.contoso.comrecorddata:0 dc2.contoso.com.TextRepresentation: _ke Rberos._tcp. Default-first-site-name._sites.dc._msdcs.contoso.com in SRV 0 dc2.contoso.com.The first thing to explain is the container name, here is the main note, Msdcs this container. Another dnsservername is the name of the domain controller that currently needs to be manipulated.In Textrepresentation: _kerberos._tc
. Therefore, few users modify the login password. According to the above information, James rarely logged on to the domain name management platform (registered in 03 years, the registered email is still old ), so there is a high possibility that his password is the random 6-digit password of the system.Now we have a clear test direction. We need to start working on dictionaries and tools to run passwords. The number of attacks remains at around 1500 per minute.In the process of cracking, check w
the local database and found that the connection can be normal when the second parameter of mysql_real_connect () is set to "localhost, the connection fails when it is changed to the IP address "192.168.100.2" of the machine. The original sentence I wrote in the program is mysql_real_connect (MySQL, "192.168.100.2", "root", "", "mydns", 0, null, 0 ). At first, I thought I had to write the sixth parameter port number after changing "localhost" to "192
Build the most in hexo blog under Mac, and build the hexo blog on mac
Xiao Wu intends to migrate his blog to github. In order to make myself a powerful programmer, I am also very hard-working. So I set up an hexo blog and can install it as much as possible, the following describes the setup process for your reference.
Migration address: www.devilwwj.comStep 1 apply for a domain name
You can also go to another website to apply for a domain name at http://www.xinnet.com. When I apply for a. com t
;>/etc/pptpd.conf
#设置dns, like my VPN server, remember to change it to your own, or it's probably not going to be on the web.#原文是设置/etc/ppp/options.pptpd file, but I'm not/etc/ppp/pptpd-options, specifically see/etc/pptpd.conf's description
Mydns= ' cat/etc/resolv.conf |grep nameserver | awk ' {print $} 'echo "Ms-dns $mydns" >>/etc/ppp/pptpd-optionsecho "Ms-dns 8.8.8.8" >>/etc/ppp/pptpd-options
#iptables
In addition to using the dns provided by windows, you can also use mydns and winmydns. We recommend that you use winmydns.
1. You must have your own domain name. For example, abc.com. If you do not have a domain name, you must first register a domain name.
2. Register a DNS domain in the international domain name center to make your DNS server globally valid.A. register the DNS under the domain name in the domain name control panel of the domain nam
be at the bottom of the chain, and because there is a return rule that makes the new rule not effective, make sure that the last rule in the Shadowsocks chain is the return rule
Querying DNS using the TCP protocol
Follow the steps above, you will find that Google has access to, but some sites like Facebook or not access, this is because GFW to 53 ports using the UDP protocol DNS pollution, you are querying the wrong IP, we use dnsmasq+ PDNSD to avoid DNS pollutionDNSMASQ in OpenWrt belong to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.