Skip to content

camjmc03/cpe-465-fp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cameron McClure-Coleman

Advanced Networks (CPE 465)

Final Project

Custom DNS Server

This package is intended to be deployed on a raspberry pi running raspbian server. I have also gotten it to work on my MacBook.

This is a basic implementation of a DNS server that caches DNS queries and passes unknown queries along to an upstream DNS server set in the config file (8.8.8.8 by default) Instructions for building and running the server:

  1. Ensure you have CMake installed on your system. You can download it from https://cmake.org/download/.

  2. Clone the repository

    git clone https://github.com/camjmc03/cpe-465-fp.git
  3. run the build script

    ./build.sh
  4. set settings in the config.yaml file

    • make sure the IP matches the IP for the interface you wish to serve DNS requests on.
    • level 1 debug: packet recieved or sent
    • level 2 debug: internal logic
    • level 3 debug: packet hexdumps and parser results
  5. Run the runner script

    ../run.sh

About

custom basic DNS server built in C++ for my final project for CPE 465 - Advanced Networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors