Ubuntu DNS Servers

How to get configured DNS servers in Ubuntu

In some situations could be needed to know exactly which DNS server is being used by an Ubuntu host. There are several ways to get this info, however the best option I have found is to use the systemd service systemd-resolve. This service is in charge of the name resolution of the local applications. You can use it executing systemd-resolve --status or just resolvectl. The command will return the DNS servers configured in each network interface, and which one is currently being used....

December 26, 2021 · 1 min · Yvoictra
CSGO Ubuntu Ubuntu

How to install a CS GO (Counter-Strike: Global Offensive) server in Ubuntu 20.10

Some people are interested in have a private server in order to play CS GO (Counter-Strike: Global Offensive) with their friends. The process is easy to follow. What is needed? A server Memory: At least 2GB RAM (I recommend 4GB) Disk: At least 15 GB os disk space CPU architecture: x86 (ARM not supported) A Valve account Create a new user First of all, it is important to create a new user in Linux in order to prevent CS GO server possible hacking to affect your Linux node....

December 8, 2020 · 7 min · Yvoictra

How to add aliases to your Linux

Using a Linux Operating System, there is a high level of customization, depending on your preferences or needs. One important thing is to create aliases to the most common commands in order to optimize the time you use. In mi case, I love to use .. instead of cd .. or update to update all my Linux software pending updates. Here I put my list of aliases for Ubuntu (based on Debian) or CentOS (based on RHEL) distribution....

October 24, 2020 · 2 min · Yvoictra

How to resolve LAN hostnames with Ubuntu

By default, Ubuntu desktop installation will provide DNS resolving configured, however in Ubuntu server installation avahi-daemon (or mdnsresponder) is needed to be installed to provide local LAN DNS resolution. In my case, i found the error “Temporary failure in name resolution” when I tried to resolve a machine of my LAN from Ubuntu. yvoictra@zoar:~$ ping erie.local ping: erie.local: Temporary failure in name resolution To solve this issue, there is no need to install a DNS server in the LAN....

April 19, 2020 · 2 min · Yvoictra
Sudo Ubuntu

How to activate SUDO in Ubuntu for a user

The sudo command allows users to run programs with the security privileges of another user, by default, the root user. First if all, the user should be created in the system if it doesn’t exists yet. On Ubuntu systems, by default members of the group sudo are granted to sudo command access. Once the user is created, from root user, or a user with sudo access, you have to execute this command to add the user to sudo group....

April 18, 2020 · 1 min · Yvoictra
vnStat

How to monitor network traffic on Ubuntu using vnStat

Monitoring network traffic or bandwitdh usage is a must in a SysAdmin tasks. There are many differents tools to manage this monitoring, but one of my favorites is vnStat. The main advantage of this tool is the simplicity of its usage. Installation With Ubuntu, the way to install this tool is with apt. sudo apt install vnstat First steps Once installed, it is important to know which interfaces are going to be monitoried....

April 3, 2020 · 2 min · Yvoictra

How to set up Wi-Fi on Ubuntu running on the Raspberry Pi 4

First step is to check the status of the interfaces. For this, we will use the net-tools package. sudo apt install net-tools Then, we can see the interfaces status ifconfig -a In my case, I have this status of my interface wlan0: ubuntu@ubuntu:~$ ifconfig -a wlan0 wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether dc:a6:32:6c:xx:xx txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0....

April 2, 2020 · 2 min · Yvoictra

Create a new user in Ubuntu from terminal

In order to create a new user in a Linux Ubuntu distribution from terminal, you have to use this command. sudo adduser username After this, the system will ask you some parameters included the password. [23:43:24] ubuntu|zoar:~$ sudo adduser yvoictra Adding user `yvoictra' ... Adding new group`yvoictra' (1001) … Adding new user `yvoictra' (1001) with group`yvoictra' … Creating home directory `/home/yvoictra' ... Copying files from`/etc/skel' … New password: Retype new password: passwd: password updated successfully Changing the user information for yvoictra Enter the new value, or press ENTER for the default Full Name []: Yvoictra Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct?...

April 1, 2020 · 1 min · Yvoictra