Installation Instructions for

The DNS server for ISP

Portada de servidor dns

INSTALLATION INSTRUCTIONS

The Domain Name Servers (DNS) are those that are always waiting for all requests that need to resolve a domain name such as www.livaur.com to return the IP assigned to that host.

Here I will show you a very easy way to install a DNS within your network.

Important:

  • Follow these instructions only when you already have Ubuntu Server 18.04LTS installed on a physical or virtual machine.
  • If you are going to work with a VPS (Virtual Private Server or Virtual Private Server) make sure that in VirtualBox in Network> Adapter1 you are connected to bridge adapter and have the correct physical interface selected , which connects to your network.
  • If you are going to install it on a VPS and you still dont have it with Ubuntu Server 18.04LTS follow the instructions below by clicking here

Lets start with the installation.

  1. Open a web browser and type in the address bar https://www.livaur.com
  2. Go to the menu Software and click on DNS server
  3. Click the Download button
  4. You will download a file called dns.tar.gz
  5. Open the VirtualBox program
  6. Start the VPS that will be the domain name server
    (If you do not already have the VPS, check this instruction before continuing )
  7. Log in with your administrator account
  8. Type the command ifconfig and press ENTER
  9. All the network cards that you have installed in the VPS will be listed, there will be one (most likely the first) that has an IP within the range of your network. This line will be similar to
     inet addr: 10.1.1.139 Bcast: 10.1.1.255 Mask: 255.255.255.0 
    Take note of the IP (in my case 10.1.1.139 ) because we will use it in the next step.
  10. Open the FileZilla program>
  11. On the left side there will be a server-shaped button, click on it
  12. It will open a window called Site Manager , click on the button that says New site
  13. He will expect you to enter a name for this new site, call it dns
  14. On the right side in front of Server: write the IP of your server that you took note of. (in my case 10.1.1.139 )
  15. In Protocol: select SFTP-SSH File Transfer Protocol
  16. In Access mode: select Normal
  17. Enter your username and password
  18. Click on Connect
  19. It will show the Unknown site key dialog, check the box Always trust this site, add a key to the cache and click accept
  20. The right side, in the quadrant below Remote site The users home directory will be selected.
  21. Now we look for the dns.tar.gz file that we previously downloaded and drag it to the second quadrant below Remote site
  22. Once this is done, we go to the screen of our VPS and write the ls command and give ENTER
  23. It will show the name of the file we just loaded, now we type the command sudo tar -xzvf ./dns.tar.gz and we give ENTER
  24. We write our password and give ENTER
  25. We write the command ls , which will show us a directory called dns
  26. We enter the directory with the cd ./dns command
  27. Once inside we write the ls command and we will see that there is a file called install.sh
  28. Lets run it by typing sudo ./instalar.sh
  29. We wait for the installation process to finish
  30. At the end of the installation it will show a message indicating to open a browser with a URL.
  31. We open a browser and write the URL that the VPS screen showed us
  32. We log in with our user account (in my case it is administrator )
  33. Once inside we click on the REFRESH MODULES menu
  34. We wait a few seconds
  35. Now we will assign a static IP to the server, which this time will be the IP 10.1.1.3
  36. For that we go to the NETWORKING > NETWORK CONFIGURATION menu
  37. Once inside we click on the interface to which we will change your IP
  38. Once inside the interface configuration, we change from FROM DHCP to STATIC CONFIGURATION and in the IPV4 section we write the new IP, in my case will be 10.1.1.3
  39. In NETMASK we leave 255.255.255.0 and click on the SAVE button
  40. It is time to apply the change
  41. Select the interface that we configure and click the APPLY SELECTED INTERFACES button
  42. Once the change is made, we go back to the servers web interface by typing its new URL, in my case it will be https://10.1.1.3:10000
  43. Again inside, we go to NETWORKING> NETWORK CONFIGURATION and click on ROUTING AND GATEWAYS
  44. In DEFAULT ROUTER select GATEWAY and write the routers IP that gives us access to the internet, in my case it is 10.1.1.1
  45. We click on the SAVE button
  46. Now we click on HOSTNAME AND DNS CLIENT
  47. In the DNS SERVERS section we write the IPS of the Google DNS, in this case they are 8.8.8.8 and 8.8.4.4
  48. We click on the SAVE button
  49. Now we click on the APPLY CONFIGURATION button
  50. We will end by clicking on the SERVERS menu and on BIND DNS SERVER
  51. We will modify the settings of FORWARDING AND TRANSFERS , so we click on that button.
  52. Inside is a column that says IP ADDRESS
  53. Below are three clean text boxes, there we will put a Google DNS IP and another OpenDNS IP. We will write in the first 8.8.8.8 and in the second 208.67.222.222
  54. We click on SAVE
  55. We finish by clicking on the upper right button that says APPLY CONFIGURATION
  56. Up to this point you have managed to configure a LOCAL DNS SERVER , congratulations!

Additional tip.

The core of this server is BIND9 and it still has many features that you can use.

About us



COMPUTER NETWORK CONSULTING

We analyze, design, configure and support ISP and business networks.

USEFUL LINKS

MEANS OF CONTACT

Cuitláhuac #10
San Martín de las Pirámides
Estado de México

Network Consulting
Facebook Messenger: Mensaje a @livaur
Mobile: +52 55 2669 1997

Customer service
Facebook Messenger: Mensaje a @livaur
Mobile: +52 56 2436 5232
Phone: 594 108 1283