Research and Implementation of Peer-to-Peer Domain Name System
- Author
- LinZuo
- Advisor
- WeiGengYu
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 104
- Citations
- 2
Abstract
The conventional Domain Name System (DNS) is maintained by a distributed database system, which uses the client-server model. Each domain or sub-domain has one or more authoritative DNS servers that publish information about that domain and the name servers of any domains subordinate to it. While, P2P (Peer-to-Peer) techniques are implemented in many internet applications these years because of its better load balance and higher robustness. We explored and implemented a peer-to-peer domain name system (P2PDNS) using Distributed Hash (DHash) built on top of Chord, which is a distributed hash table protocols. This system inherits Chord’s fault-tolerance and load balance advantages, at the same time eliminating many administrative problems with the current DNS. We used this distributed domain name system to simulate naming service of conventional DNS such as turning the domain name to IP address. MIT has also implemented naming service base on chord in 2002, but the details of how to implement are not provide, and other P2P applications based on chord is little. So other researchers couldn’t re-implement this system easily, but in this paper, we provided the details of how to implement a name service system according to chord’s code. Besides that, this paper also analysis chord code in order to make the chord code’s structure much more clear and give other researchers more helpful when they are using chord code to program.
Table of contents
Abstract 4-5
ABSTRACT 5-8
Chapter background research 8-16
1.1 DNS introduce 8-9
1.2 DNS problems 9
1.3 P2P technology 9-16
1.3.1 P2P technology Overview 9-10
1.3 .2 P2P network topology 10-14
1.3.3 P2P technology advantages 14-16
Chapter distributed Naming Service related research 16 -18
2.1 distributed Naming Service 16-17
2.2 Chord algorithm related applications research 17-18
Chapter CHORD algorithm 18-24
3.1 Chord algorithm introduced 18-19
3.2 Chord distributed hash lookup process 19-22
3.2.1 node Finger tables constitute 19-20
3.2.2 Keyword search process 20-21
3.2.3 node joining process 21-22
3.2.4 node failure processing 22
3.3 Chord algorithm advantages 22-24
Chapter P2PDNS design and implementation 24-44
4.1 P2PDNS logical structure 24-27
4.1.1 DHT layer 24-26
4.1.1.1 Chord layer 25
4.1.1.2 DHash layer 25 -26
4.1.2 P2PDNS layer 26-27
4.2 P2PDNS realization 27-28
4.2.1 registration 27-28 <br / > 4.2.2 query 28
4.3 P2PDNS key code Description 28-44
4.3.1 P2PDNS layer key code analysis 28-30
4.3.1.1 access command Description 28-29
4.3.1.2 tuples stored achieve 29-30
4.3.2 Chord layer key code analysis 30 -44
4.3.2.1 module structure 30
4.3.2.2 connections between nodes mechanisms 30-32
4.3.2.3 routing mode and routing table 32-35
4.3.2.4 RPC request the issue of dealing with the situation 35-39
4.3.2.5 Chord node provides API 39-44
fifth Zhang experimental procedures and experimental data 44-50
5.1 build experimental network 44-46
5.2 test case 46
5.2.1 registration tuple 46
5.2.2 query IP addresses 46
5.3 experimental data 46-50
5.3.1 average Joined 46 - 47
5.3.2 The average query time 47
5.3.3 average number of hops 47-50
Chapter VI Conclusion 50-52 <br / > 6.1 Conclusion 50
6.2 further research directions 50-52
References 52-54
Thanks 54-56
graduate papers directory 56
Related dissertations
- Research on P2P System Based on Improved Chord Protocal
- The Research of P2P Resources Location Algorithm Based on DHT and the Improvement of the Chord Protocol
- Research on Routing and other Key Technologies in Peer-to-Peer Networks
- Research on Game Server Architecture Based on Kademlia
- Research and Improvement of Distributed Lookup Protocol Based on Chord
- Research on the improvement of Chord algorithm in P2P network
- A Cloud Storage Model Based on P2P
- Research on Load Balancing Using Virtual Servers for DHT-based P2P Network
- Research on Stratified Muti-ring Chord Protocol and its Application
- Research on P2P Topology Construct Algorithm Based on DHT
- Reasearch on the Security of P2P File Sharing System
- Research on Optimization of P2P System Based on Behavior Measurement
- Research and Improvement of P2P Routing Algorithm Based on Chord
- Research on DHT Algorithm of SIP Based on P2P
- The Research in Resource Sharing Technology Based on P2P in Embedded Environment
- Research an Improvement of Chord in P2P Network
- Research and implementation of task oriented Chord protocol
- The Research of Semantic Web Services Discovery Technology with a Hybrid P2P Network
- Improvement of Chord Resource Location Algorithm in P2P Networks
- Research and application of Chord protocol