First two BIND DNS servers to function correctly.Primary DNS server ip:192.168.1.100Client DNS server ip:192.168.1.1011 Primary DNS-side configuration:cd/etc/Generate Rndc.conf FileRndc-confgen > rndc.confView FilesCat rndc.conf# Start of Rndc.confKey "Rndc-key" {Algorithm HMAC-MD5;Secret "vcl5wc2ghczcu7ju+ajc1q==";};Options {Default-key "Rndc-key";Default-server 127.0.0.1;Default-port 953;};# End of Rndc.c
RNDC: Remote Control DNS Server[[email protected] ~]# vim randomThere is no random generator on the server, manually forge a file instead of the/dev/random function create a new random file and enter a string of numbers, remember to longVim RandomAsdkfjalsjdflajsldfjlasjdflajsldfjalsjdflajslfjalsjflasjfl[Email protected] ~]# Rndc-confgen >/etc/rndc.conf[[email protected] ~]#
Dc:connect Failed:connection refusedRndc:connect Failed:connection refusedWorkaround:It is not possible to use the NDC or RNDC commands directly after the default installation of BIND9.Regenerate rndc.conf FirstRndc-confgen >/etc/rndc.confWillrndc.confThe following comment sectionCopyTo/etc/rndc.keyFile (the previous # must be removed).Such as:# key "Rndc-key" {# algorithm HMAC-MD5;# secret "xbpnygocwjp8pej
DNS service/etc/rndc. keywasfound solution after the dns service is configured in RHEL6, the following problems may occur. rndc cannot find the key, and the named service runs normally. In fact, it can also be used, however, based on the principle that we cannot let go of a problem, we found a solution [root @ server... DNS service/etc/rndc. key was found solutio
DNS Service/etc/rndc. key was found solution after the dns service is configured in RHEL6, the following problems may occur. rndc cannot find the key, and the named service runs normally. In fact, it can also be used, however, based on the principle that one problem cannot be spared, the solution [root @ server named] #/etc/init. d/named statusrndc: neither/etc/rndc
rndc-Instructions for useRNDC Settings (local)Produce/etc/rndc.keyAfter executing the "rndc-confgen-a" command, the Rndc.key file is generated in the/etc directory,The resulting file contents are as follows:"Algorithm Hmac-md5" means that we use the "HMAC-MD5" algorithm to generateEach execution of "secret" produces a different "secret".Generate/etc/rndc.conf File1. After executing the instruction, the rndc
After passing the zone file through rsync. Need to direct RNDC from DNS so ... I can write a script to finish it at once. It's convenient.
There are several conditions to remotely RNDC DNS
First: In the name.conf on the server to be controlled by RNDC, you must write this:
Controls {inet 192.168.1.241 Port 953Allow {127.0.0.1;192.168.1.243} keys {"
Original table:1. A career change is to turn a column of data into a row display, and a column switch uses the sum aggregation function, and when the case is judged, the column change needs to define its own alias.Column Change statement:SELECT SUM (caseWhen t.loc = ' NEW YORK ' thenT.deptnoEND) as column_00001,SUM (caseWhen t.loc = ' DALLAS ' ThenT.deptnoEND) as column_00002,SUM (caseWhen t.loc = ' CHICAGO ' ThenT.deptnoEND) as column_00003,SUM (caseWhen t.loc = ' BOSTON ' ThenT.deptnoEND) as c
very important, to both speaking and writing. To try to read the original book, because the foreigner to write technical books is afraid that they do not speak clearly, for fear you do not understand, so speak very thin or even a bit verbose; Chinese people write books, like teaching martial arts donuts, not to see your understanding and their efforts to the extent, the master led the door, then no matter.4, learn a language and learn to play the same thing, through more practice to the unfamil
consider factors such as the ability, performance, and growth of team members.There are many books on the market for planning and management, which are worth reading. Although the theory of optimization is a technical book, it is the theoretical basis of planning, so you might as well look at a bit more. Starting from self-planning, learning more about other people's planning is also an important means to improve planning ability.SummarizeThis article systematically expounds the principles of l
))) asAnalyst $ fromEMP - GROUP byJob -
the); A simplified version of the example above: 1 /*
2 1. First use decode () to perform row-to-column detection of basic data as a table!;;3 The 2.B table summarizes the data in table A and merges it;4 */
5 withA as (
6 SELECT
7To_char (DEPTNO) asDeptno,8 SUM(DECODE (Job,'ANALYST', Sal,0)) asANALYST,9 SUM(DECODE (Job,'Clerk', Sal,0)) asClerk,Ten SUM(DECODE (Job,'MANAGER', Sal,0)) asMANAGER, One SUM(DECODE (Job,'President
1 ' team, ' Men ' item,80 CENT UNION SELECT 1 as ID, ' Test team 1 ' team, ' women ' item,20 CENT Union Select 2 as ID, ' Test Team 2 ' team, ' Men ' item,30 CENT Union Select 2 as ID, ' Test Teams 2 ' team, ' women ' item,70 CENT) SELECT * from-T PIVOT (SUM (CENT) for ITEM in ([Men],[women])) A2.3, using the aggregation function to implementWith TAS ( select 1 as ID, ' Test team 1 ' team, ' Men ' item,80 CENT UNION SELECT 1 as ID, ' Test team 1 ' team, ' women ' item,20 CENT Uni
When programmers change careers to do sales [original: http://www.cnblogs.com/WinYoung/archive/2008/04/10/programmersales.html]
In my last essay, published a number of regrets, put a good programmer do not do, career change to do the sale, did not expect, have several friends to my message, discuss how to change to do sales. Here I would like to talk about my own ideas, but also to some of the more successful predecessors to learn some experience.
I t
also make use of the insert all into ... Select to first build a table test_tb_grade3:SQL code:1 CREATE TABLE Test_tb_grade32 (3 user_name VARCHAR2 (CHAR),4 COURSE VARCHAR2 (CHAR),5 Score FLOAT6)Then execute the following sql:SQL code:1 Insert All2 into Test_tb_grade3 (User_name,course,score) VALUES (user_name, ' languages ', Cn_score)3 into Test_tb_grade3 (User_name,course,score) VALUES (user_name, ' math ', Math_score)4 into Test_tb_grade3 (User_name,course,score) VALUES (user_name, ' English
"Plated Careers" in ancient times refers to the emperor to eat bowls, folk rumors, can get plated careers, life and clothing without worry. In modern times, "plated careers" has become a food to eat the other said, often some people say, XXX in the national unit to work, like holding a plated careers, not worry about l
Programmers have been a high salary to enjoy the envy of the occupation, but with the continuous progress of science and technology, the process of development into a person can be involved in the industry, as long as the short-term training, you can become a primary program designers, the past high pay Halo has gradually receded, More thinking began to turn to the programmer's survival problem. Huge work pressure and boring code, so that more and more of the original program is not interested i
possible to control, should not control the best advice, whether right or wrong, regardless of success or failure, for you, is the accumulation of experience.The fourth step, dare to take responsibility, regardless of the outcome of the matter will fail. A person who has the courage to take responsibility for failure is more respectable. And, if you fail, you will lose much, the biggest is just to leave.Second, attack the hearts of othersWhether it is on the right or the next, should be prudent
Reason:1, do not want to do now so-called test, there is no technical content, although the work of leisure, Unit life is very bright, but the feeling will eventually hurt themselves.2, a while ago has been looking at Delphi, but to find sub-development work, Delphi or not, the future direction is certainly cross-platform, network interconnection, big data, cloud platform and so on.3, asked some college students (most of them are development), high school classmates (two or three good relations,
In fact, the outside world to the programmer to add a lot of tags, or the programmer self-deprecating ridicule added.In fact, no matter how the outside view of the programmer's job, I feel very proud of. "It's good to be a programmer!" ”You have to respect your career by making others respect your career. In this era of the Internet, if not our thousands of programmers in the background struggle,How to give everyone a wonderful internet world, in fact, our work is quite meaningful.Though you ear
By Anthony
Balderrama, CareerBuilder.com writer
Celebrity blogs and magazines are plastered with pictures of high-profile actors, athletes and business leaders, so you might think thatThese occupations are your only route to wealth.
If you want to make several million dollars for a few months 'work, then,Yes, you probably shocould star in a Hollywood blockbuster. But if you're re lookingFor careers to lead you to financial success, remember to put e
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.