Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.