Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sumukha-pk/dns-server
To implement a DNS server to understand its working
https://github.com/sumukha-pk/dns-server
dns dns-server go-library golang server
Last synced: about 2 months ago
JSON representation
To implement a DNS server to understand its working
- Host: GitHub
- URL: https://github.com/sumukha-pk/dns-server
- Owner: SUMUKHA-PK
- License: mit
- Created: 2018-12-22T07:09:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T10:09:51.000Z (over 5 years ago)
- Last Synced: 2024-10-22T17:39:59.509Z (3 months ago)
- Topics: dns, dns-server, go-library, golang, server
- Language: Go
- Size: 9.43 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# DNS-server
Following is an implementation of a DNS server in Golang.
**Pre-requisites:**
* Golang compiler.**Steps to reproduce:**
* Clone the repository by ```git clone https://github.com/SUMUKHA-PK/DNS-server.git```
* Make the directory a Go directory
1. Windows : Open ```Edit environment variables``` and add path variable ```/path to directory``` with name ```GOPATH```.
2. Linux : Add ```export PATH="$PATH:/path to git clone repo"``` to ```./bashrc``` file and run ```source ./bashrc```.
* Open ```src/main``` in a terminal.
* Do, ```go build``` to create an executable.
* Run ```./main.exe``` to run the server**Steps to run tests:**
* Open ```src/client``` in a terminal.
* Do, ```go test``` to run all tests and to obtain results.Refer to [wiki](https://github.com/SUMUKHA-PK/DNS-server/wiki) for implementation and testing.