CN101170456A - IPv6 DNS testing method under multi-computer auxiliary environment - Google Patents

IPv6 DNS testing method under multi-computer auxiliary environment Download PDF

Info

Publication number
CN101170456A
CN101170456A CNA2007101776166A CN200710177616A CN101170456A CN 101170456 A CN101170456 A CN 101170456A CN A2007101776166 A CNA2007101776166 A CN A2007101776166A CN 200710177616 A CN200710177616 A CN 200710177616A CN 101170456 A CN101170456 A CN 101170456A
Authority
CN
China
Prior art keywords
server
dns
ipv6
name server
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007101776166A
Other languages
Chinese (zh)
Inventor
李震
刘铭
尹俊令
程远
孙景霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd
Priority to CNA2007101776166A priority Critical patent/CN101170456A/en
Publication of CN101170456A publication Critical patent/CN101170456A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to an IPv6 DNS testing method under the multi-computer auxiliary environment. The method is mainly applied in the IPv6 DNS tests, which mainly includes a tested equipment and an multi-computer auxiliary environment, the tested equipment is the equipment which is tested to have the IPv6 DNS function, the multi-computer auxiliary environment includes a DNS client, an application procedure server, a root domain name server, an organization domain name server and a combined domain name server, the server end is arranged with a special testing script software, the method stimulates the next generation internet environment by setting the servers with the different functions, so as to carry out the testing of the servers with the IPv6 functions in the environment which is the closet to the reality. The method solves the problems of the current existing IPv6 DNS server testing methods that the using environment has greater impact and the testing results are instable. The method which is provided by the invention is better than the current existing IPv6 DNS testing methods.

Description

IPv6 DNS method of testing under a kind of multimachine auxiliary environment
Technical field
The present invention relates to the protocol engineering of present communication field, especially the IPv6 DNS field tests of Next Generation Internet.
Background technology
In the world of IPv6, DNS is used to the mapping of name-to-address mapping and address-to-name.In IPv4 and IPv6 mixed environment, DNS needs a plurality of main frame projects, because when communicating in two kinds of versions (IPv4 and IPv6) of main frame at TCP/IP, DNS needs to provide two projects at least, one is its IPv4 address, and another is its IPv6 address.There are two new DNS record forms to be used for defining the IPv6 main frame.In RFC1886, defined the record (being called quad-A) of AAAA kenel; Then defined the record of A6 kenel in RFC2874, its purpose of design is that the keeper can renumber easilier for when network and TLA change.
RFC1886 has illustrated when reality is made IPv6, based on the DNS expansion of AAAA record.This AAAA record kenel can store the IPv6 address of 128 bit of length, and the value of this record kenel is 28 (decimal systems).Main frame can have more than one IPv6 address, and all can there be an AAAA record each IPv6 address.And corresponding oppositely inquiry net territory is " IP6.INT ", and oppositely inquiry record kenel is PTR, and its value is 12.The record of AAAA kenel looks like like this (RFC1886)
moon.universe.com IN AAAA 4321:1:1:2:3:4:567:89ab
Each sub-network layer under IP6.INT, oppositely inquiry is to represent the length address of totally 128 bit in the mode of per 4 bit.The bit (least significant bit) of poor efficiency appears at the Far Left of domain name.In reverse inquiry, can not omit leading 0, so the reverse inquiry PTR of precedent note down that example seems can be like this:
b.a.9.8.7.6.5.0.4.0.0.0.3.0.0.0.2.0.0.0.1.0.0.0.0.0.0.0.1.2.3.4.IP6.INT.IN
PTR moon.universe.com
DNAME and A6 record (referring to RFC2672 and RFC2874) DNAME record are illustrated in RFC2672, and the A6 record is defined in RFC2874.The IPv6 address that these new record kenel supports can renumber and can assemble.
All versions of the upgrade version of BIND 8 and BIND9 are all supported IPv6 DNS, and for example BIND8.2.3 has program addendum (patch) can add support to IPv6.The required minimum Kernel version of BIND9 is 2.4.
When in the Unix system name server being set, most important file is/etc/named.conf./ etc/named.conf file itself also has and comprises the details how to be provided with.The parsing of title to be on IPv6, carried out, an important project must be added: listen on ipv6{any}.This project is the inquiry that will notify name server to monitor IPv6, then for all IPv6 main frames right/var/named upgrades.
Whether dns server supports IPv6 bit address record (AAAA or A6 and DNAME record); Whether another subject under discussion is, during the record of resolver on the inquiry dns server, use IPv4 or IPv6 to transmit.For instance, if Windows 2000 or Windows XP main frame have the IPv6 of execution to pile up, then they can carry out the inquiry of IPv6 record, but its inquiry but is to transmit with IPv4.
For the DNS inquiry of IPv6 record, user side needs the resolver that can support the new record kenel.
The dns server that uses the nslookup program to test also can use dig and host to inquire about DNS.Server and main frame all have the BIND 9 of installation.Nslookup has many configurations option is set, and it can be carried out at interactive mode, can specify and want the record kenel of inquiring.Also can interrogation mode be set to the A record of IPv4, or the record of the AAAA kenel of IPv6, even can be set to any, so be nslookup and will require to pass back all relevant records.Though my employed nslookup version is not supported A6 record kenel, dns server still can be sent the information that contains the A6 record back to, and Here it is sees the reason of " unrecognized record " in the project of answering.
The method of testing that the IPv6 dns server adopts in configuration usually is to use a tester to be connected on the tested IPv6 dns server, tester simulates various DNS Protocol messages, tester receives the message that dns server is replied, correct message with the agreement regulation compares, if identical then prove that function is correct, difference is then judged its wrong source.Although this method can simulate various DNS message situations, be very different with actual environment for use, some factors not necessarily can occur in simulation in the actual environment.
Summary of the invention
At not doing of prior art, the present invention proposes the IPv6 DNS method of testing under a kind of multimachine auxiliary environment.This method comprise this method by set up 1 IPv6DNS client, 1 application server, 3 kinds of functions independently IPv6 server and test script software simulate comparatively real IPv6 DNS environment for use and come test I Pv6 dns server, its concrete steps are as follows:
(1) moves this script and serve initiation test script, the DNS inquiry contrast between each dns server automatically by test client;
(2) tested equipment can respond according to user's DNS service request, and test script will successively send request to root name server, organization's name server, combination name server simultaneously;
(3) at last protocol interaction result, compare, judge that whether protocol function is by this test with multimachine auxiliary environment interaction results to tested equipment dns server;
(4) test result is stored in the destination file with the web web page format, under any system environments, can browses.
Described IPv6 DNS method of testing is characterized in that, described IPv6 dns server comprises: apps server, root name server, organization's name server and combination name server.
Described IPv6 DNS method of testing is characterized in that the function of described IPv6 dns server is as follows
Apps server: be responsible for providing the application service function;
Root name server: the dns server of being responsible for ". " territory;
Organization's name server: be responsible for the dns server in " org " territory, the org territory can be a kind of among com, edu, the gov;
Combination name server: the DNS service in " example.org " territory that combines by the dns server in the dns server in ". " territory and " org " territory
Described IPv6 DNS method of testing is characterized in that described test script software is installed on each server.Beneficial effect of the present invention:
With respect to prior art, adopt method of the present invention, method master provided by the invention simulates the Next Generation Internet environment by the difference in functionality server is set, and the most approaching real environment comes the server with IPv6 function is tested.In the environment for use of reality, this method has solved the environment for use that is subjected to that occurs in the existing IPv6 dns server method of testing influences big, test result problem of unstable.Method provided by the invention obviously is better than existing IPv6 DNS method of testing.
Description of drawings
Fig. 1 is the test flow chart that the IPv6 dns server of the method that provides is provided;
Fig. 2 is the test topology figure that the IPv6 dns server of the method that provides is provided;
Fig. 3 is the test protocol interaction figure that the IPv6 dns server of the method that provides is provided;
Fig. 4 is the test result file that the WEB form of the method that provides is provided.
Embodiment
In order to make characteristic of the present invention and advantage more clear, the present invention is described in further detail in conjunction with concrete enforcement with reference to the accompanying drawings.
The present invention is the method for IPv6 DNS test.This method comprises that simulating comparatively real IPv6 DNS environment for use by the server of setting up difference in functionality and test script software comes test I Pv6 dns server.The step of its realization is as follows:
(1) moves this script and serve initiation test script, the DNS inquiry contrast between each dns server automatically by test client;
(2) tested equipment can respond according to user's DNS service request, and test script will successively send request to root name server, organization's name server, combination name server simultaneously;
(3) at last protocol interaction result, compare, judge that whether protocol function is by this test with multimachine auxiliary environment interaction results to tested equipment dns server;
(4) test result is stored in the destination file with the web web page format, under any system environments, can browses.
Below in conjunction with example, the present invention is done further explanation.
Fig. 1 is the testing process according to the IPv6 dns server of characteristics of the present invention and advantage realization:
Step 101: specific test script software simulant-client software is initiated IPv6 DNS request;
Step 102: inquiry separator ". " name server;
Step 103: interrogate tissue structure name server;
Step 104: inquiry combination name server;
Step 105: collection analysis message output WEB form test result.
Fig. 2 is the test topology figure that the IPv6 dns server of the method that provides is provided;
Fig. 3 is the test protocol interaction figure that the IPv6 dns server of the method that provides is provided;
Fig. 4 is the test result file that the WEB form of the method that provides is provided.
3 kinds of functions are the IPv6 server independently
Now according to above-mentioned accompanying drawing specific embodiment being done further explanation, below is concrete steps:
Wherein 207 is switch, and 208 is switch, and 209 is router.
(1) test client 204 is initiated IPv6DNS and is asked tested Device IP v6DNS server 206, OPCODE=SQUARY, QNAME=www.ipv6domain.org, QTYPE=AAAA.
Wherein www.ipv6domain.org is on application server 205.
(2) tested Device IP v6DNS server 206 is transmitted to top request ". " name server 201,
(3) ". " request of name server 201 response of step 2,
OPCODE=SQUERY, QNAME=www.ipv6domain.org, QTYPE=AAAA, Authority org.INS organizes name server 202, Additional INS organizes name server 202 IN A|AAAA<combination name server 203 Address 〉
(4) so initiating IPv6DNS, tested Device IP v6DNS server 206 asks combination name server 203, OPCODE=SQUARY, QNAME=www.ipv6domain.org, QTYPE=AAAA.
(5) combination name server 203 () is replied message to tested Device IP v6DNS server 206, content is OPCODE=SQUERY, RESPONSE QNAME=www.ipv6domain.org., QTYPE=AAAA Answerwww.ipv6domain.org IN AAAA 3ffe:501:ffff:101::10 Authority ipv6domain.org IN NS<combination fields server 203〉Additional www.ipv6domain.org IN A|AAAA<combination fields server 203Address 〉
(6) tested Device IP v6DNS server 206 is replied message to test client 204, content is OPCODE=SQUERY, RESPONSE QNAME=A.example.org., QTYPE=AAAA Answerwww.ipv6domain.org.INAAAA 3ffe:501:ffff:101::10 Authority ipv6domain.org INNS<combination fields server 203〉Additional<combination fields server 03〉IN A|AAAA<combination fields server 203Address 〉
(7) finish test, with standard agreement compare test result, if protocol compliant requires, judgement is passed through, otherwise judges and do not pass through, and destination file is write as the WEB form.As shown in Figure 4.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.

Claims (4)

1. the IPv6 DNS method of testing under the multimachine auxiliary environment is characterized in that:
This method by set up 1 IPv6DNS client, 1 application server, 3 kinds of functions independently IPv6 server and test script software simulate IPv6 DNS environment for use and come test I Pv6 dns server, its concrete steps are as follows:
(1) moves this script and serve initiation test script, the DNS inquiry contrast between each dns server automatically by test client;
(2) tested equipment can respond according to user's DNS service request, and test script will successively send request to root name server, organization's name server, combination name server simultaneously;
(3) at last protocol interaction result, compare, judge that whether protocol function is by this test with multimachine auxiliary environment interaction results to tested equipment dns server;
(4) test result is stored in the destination file with the web web page format, under any system environments, can browses.
2. the IPv6 DNS method of testing under the multimachine auxiliary environment according to claim 1 is characterized in that, described IPv6 dns server comprises: apps server, root name server, organization's name server and combination name server.
3. the IPv6 DNS method of testing under the multimachine auxiliary environment according to claim 1 and 2 is characterized in that the function of described IPv6 dns server is as follows:
Apps server: be responsible for providing the application service function;
Root name server: the dns server of being responsible for ". " territory;
Organization's name server: be responsible for the dns server in " org " territory, the org territory comprises a kind of among com, edu, the gov;
Combination name server: the DNS service in " example.org " territory that combines by the dns server in the dns server in ". " territory and " org " territory.
4. the IPv6 DNS method of testing under the multimachine auxiliary environment according to claim 1 and 2 is characterized in that described test script software is installed on each server.
CNA2007101776166A 2007-11-19 2007-11-19 IPv6 DNS testing method under multi-computer auxiliary environment Pending CN101170456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101776166A CN101170456A (en) 2007-11-19 2007-11-19 IPv6 DNS testing method under multi-computer auxiliary environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101776166A CN101170456A (en) 2007-11-19 2007-11-19 IPv6 DNS testing method under multi-computer auxiliary environment

Publications (1)

Publication Number Publication Date
CN101170456A true CN101170456A (en) 2008-04-30

Family

ID=39390935

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101776166A Pending CN101170456A (en) 2007-11-19 2007-11-19 IPv6 DNS testing method under multi-computer auxiliary environment

Country Status (1)

Country Link
CN (1) CN101170456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741651B (en) * 2010-01-29 2012-07-04 北京天地互连信息技术有限公司 Method for judging whether Internet service provider supports IPv6 or not

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741651B (en) * 2010-01-29 2012-07-04 北京天地互连信息技术有限公司 Method for judging whether Internet service provider supports IPv6 or not

Similar Documents

Publication Publication Date Title
JP2504694B2 (en) Information processing device enabling management of information resources by management system
CN110392130B (en) Information processing method based on network, electronic equipment and network system
CN105359458B (en) Network device communications method and the network equipment
CN107645573B (en) Method for detecting forwarding configuration of recursive domain name server
US20140281715A1 (en) Method and apparatus for scaling network simulation
CN112840601B (en) Method, apparatus and computer readable medium for configuring an apparatus to be named
CN105450787A (en) Network-address-mapping method, device, and system
CN108924012A (en) Method, equipment, system and the medium of IPv6 name server liveness detection
JP2009177504A (en) Network device management apparatus and control method thereof, network system, and program
GB2426160A (en) Testing in large networks, using mapping of layer-3 addresses
CN111404628B (en) Time synchronization method and device
CN101505305A (en) Method and apparatus for binding domain name and specific service
CN102594839B (en) Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards
CN102801745B (en) Method and system for accessing local area network WEB site by using wide area network browser
CN103916486A (en) Information processing device, information processing method, and information processing system
CN101627588A (en) Automatic protocol switching
CN102624674B (en) Intelligent switching system of client access server and method for same
CN108694116B (en) Network stability testing method, device and system of VPC cluster
CN101170456A (en) IPv6 DNS testing method under multi-computer auxiliary environment
WO2003060712A3 (en) Method and system of accessing shared resources using configurable management information bases
CN102811144A (en) NMS topological discovery performance testing system and method
CN101237354A (en) A comprehensive testing method for DHCPv6 consistency
CN106034049A (en) Method and device for simulating domain name registry testing system
CN110855805B (en) Method and system for configuring forward and reverse records in batch based on synthetic record type
CN104519137B (en) Management method, the device and system of Host file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20080430