Decentralization of nameserver
Publish: 2021-04-23 11:59:59
1. This is the DNS distributed by the DHCP system of the virtual machine, which can be removed by turning off the DHCP. Your system is automatically installed, it should be unattended installation, so this DNS is assigned on the machine where you do the unattended installation server.
2. To bind your ns to the IP of your free space website. Or your space domain name. There are in NS management settings
3.
Restart the network service / etc / init.d/network restart
if you can't get to the Internet, just see if there is a problem with your gateway address. Generally, if the gateway is not right, you can't Ping out
4. Fixed IP. Then find out the DNS of your area and fill it in!
5. Today, a customer reported that after restarting the e-mail server, it was unable to send and receive e-mail. The check found that its DNS did not. I wrote the nameserver IP through / etc / resolv.conf the day before yesterday
ring the test, it is found that DNS will be lost every time the network is restarted. It is as follows:
? Generated by NetworkManager
? No nameservers found; Try putting DNS servers into your
# ifcfg files in / etc / sysconfig / network scripts like so:
#
# dns1 = xxx.xxx.xxx.xxx
# dns2 = xxx.xxx.xxx.xxx
# domain = lab.foo.com bar.foo.com
it shows that I hate the NetworkManager network service on the desktop. After starting this service, there are often supernatural events
after each restart, it will be reset to the default ISP's DNS, that is, "generated by NetworkManager"
originally, I wanted to write to nameserver through / etc / rc.local after each boot. In addition, you can permanently write to your own DNS by the following methods
1. Modify / etc / resolv.conf and add nameserver IP. Generally, add three DNS
2. Run chatr + I / etc / resolv.conf to modify the file property so that only root can modify the file. Remove it and change the parameter to "- I"
3. Run "service NetworkManager restart" as root
ring the test, it is found that DNS will be lost every time the network is restarted. It is as follows:
? Generated by NetworkManager
? No nameservers found; Try putting DNS servers into your
# ifcfg files in / etc / sysconfig / network scripts like so:
#
# dns1 = xxx.xxx.xxx.xxx
# dns2 = xxx.xxx.xxx.xxx
# domain = lab.foo.com bar.foo.com
it shows that I hate the NetworkManager network service on the desktop. After starting this service, there are often supernatural events
after each restart, it will be reset to the default ISP's DNS, that is, "generated by NetworkManager"
originally, I wanted to write to nameserver through / etc / rc.local after each boot. In addition, you can permanently write to your own DNS by the following methods
1. Modify / etc / resolv.conf and add nameserver IP. Generally, add three DNS
2. Run chatr + I / etc / resolv.conf to modify the file property so that only root can modify the file. Remove it and change the parameter to "- I"
3. Run "service NetworkManager restart" as root
6. Named.caching-nameserver.conf is just a template file for named.conf, as long as there is a named.conf file
you can also check whether there are named.caching-nameserver.conf or named.conf files in the / etc directory and them
you can also create your own named.conf file. As long as the location of the defined area file, forward and reverse area, DNS service can run
good luck ~ ~ ~
hope to adopt~~~
you can also check whether there are named.caching-nameserver.conf or named.conf files in the / etc directory and them
you can also create your own named.conf file. As long as the location of the defined area file, forward and reverse area, DNS service can run
good luck ~ ~ ~
hope to adopt~~~
7. If you can't install it, there will be a prompt. The RPM package will tell you the package you depend on. The source package will prompt you why you can't compile it
8. You should check the PHP manual. This is the original words of the manual:
$_ A server is an array of headers, paths, and script locations. The entity of the array is created by the web server. It can't guarantee that all servers can proce all information; The server may have ignored some information or generated some new information that is not listed below. This means that a large number of these variables are described in CGI 1.1 specification, so you should study it carefully
in other words$_ Server should go directly to the server (nginx) to get the content of the configuration file, but it may not be able to get all of it. It may be that the server is not compatible or for other reasons.
$_ A server is an array of headers, paths, and script locations. The entity of the array is created by the web server. It can't guarantee that all servers can proce all information; The server may have ignored some information or generated some new information that is not listed below. This means that a large number of these variables are described in CGI 1.1 specification, so you should study it carefully
in other words$_ Server should go directly to the server (nginx) to get the content of the configuration file, but it may not be able to get all of it. It may be that the server is not compatible or for other reasons.
9. ... you create a new website project, create a servlet, call these three methods in the doget () method in turn, and use the systemout. Println method to display the return value
deploy the website as tomcat, and call it by yourself... It's not worth asking you... The most impressive thing is what you test yourself
or you can go online yourself...
deploy the website as tomcat, and call it by yourself... It's not worth asking you... The most impressive thing is what you test yourself
or you can go online yourself...
Hot content
