Friday, November 17, 2017

Running DNS Server on Ubuntu Linux

This post is written for Ubuntu Linux but, you can easily follow similar steps on your favorite distro. Technitium DNS Server is developed in c# and requires you to have Mono Framework installed on Linux to run it.

Start Terminal and follow the steps below to run DNS Server on Ubuntu:

  1. Install Mono Framework. Skip this step if you already have it installed.
    $ sudo apt-get -y install mono-complete
  2. Download DNS Server from the website using wget as shown below.
    $ wget https://technitium.com/download/dns/DnsServerPortable.tar.gz
  3. Extract the files and start DNS Server.
    $ tar -xvzf DnsServerPortable.tar.gz
    $ cd DnsServer
    $ sudo ./start.sh
    
  4. Open the url http://localhost:5380/ to access the web console.

That's it! The DNS Server is running and you can configure your network with the IP address of this computer for DNS resolution.

Check out the web console to create zone, check cached zones, access DNS client tool and configure server settings.

The DNS Server creates a folder named config in the current folder which contains the server config and zone files. Make sure you copy this folder while moving the DNS server folder if you want all the zone files and config to persist.

If you have any trouble installing mono framework the refer to this official mono installation guide.

For any related queries, feel free to comment on this post.

1 comment:

  1. Hello my loved one! I wish to say that this post is amazing, nice written and come
    with approximately all significant infos. I would like to look
    more posts like this .

    ReplyDelete