Find DNS Server in Linux Mint

 Command Line, Linux  Comments Off on Find DNS Server in Linux Mint
Feb 242021
 

If you’re a networking or sys admin student, you might want to know how to identify the DNS server address of your Linux system on the Command Line.

DNS refers to the Domain Name System, which resolves domain names into IP addresses.

In this case, we’re talking specifically about finding the DNS server on the Linux Mint or Ubuntu desktop via the command line interface.

Identify DNS Server Address via CLI

Here are a few command line tools that should help you identify the DNS server on your Linux Mint system.

I’ve tested the following commands on Linux Mint and Ubuntu.

1. nmcli dev show | grep DNS

$ nmcli dev show | grep DNS
IP4.DNS[1]: 208.67.220.220
IP4.DNS[2]: 208.67.222.222

2. nmcli dev show | grep DNS | sed ‘s/\s\s*/\t/g’ | cut -f 2

$ nmcli dev show | grep DNS | sed 's/\s\s*/\t/g' | cut -f 2
208.67.220.220
208.67.222.222

3. nmcli device show | grep IP4.DNS

$ nmcli device show eno3 | grep IP4.DNS
IP4.DNS[1]: 208.67.220.220
IP4.DNS[2]: 208.67.222.222

4. systemd-resolve –status

You may have to scroll down (press the tab key) to see full output.

systemd-resolve --status
Global
          DNSSEC NTA: 10.in-addr.arpa
                      16.172.in-addr.arpa
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa
                      [output truncated]
         DNS Servers: 208.67.220.220
                      208.67.222.222
          DNS Domain: ~.
 Posted by at 10:49 am

CCNA 200-301 Practice Exam 1

 Networking  Comments Off on CCNA 200-301 Practice Exam 1
Jul 192020
 
CCNA 200-301 Practice Exam 1

CCNA Test – 75 Questions 1) What is the configuration register that ignores the startup configuration file? A. 0x4142 B. 0x4214 C. 0x2142 D. 0x2123 E. 0x4212 2) Where does RIPv2 send its routing updates? A. 127.0.0.0 B. 224.0.0.10 C. 255.255.255.255 D. 224.0.0.9 E. 255.255.255.254 3) Identify two Link-State protocols: Read More

 Posted by at 5:28 pm

How to Install Packet Tracer Networking Simulator on Linux

 How To, Linux, Networking  Comments Off on How to Install Packet Tracer Networking Simulator on Linux
Mar 312019
 
How to Install Packet Tracer Networking Simulator on Linux

For anyone starting on the rewarding journey into computer networking, Packet Tracer is an indispensable learning tool. If you’re planning to take the Cisco Certified Network Associate (CCNA) ) exam, you must practice on the Packet Tracer networking simulation software from Cisco. Download Packet Tracer On Cisco’s Networking Academy web Read More

 Posted by at 10:11 pm

Should Linux Mint Users Switch to ElementaryOS?

 Linux  Comments Off on Should Linux Mint Users Switch to ElementaryOS?
Feb 142019
 
Should Linux Mint Users Switch to ElementaryOS?

As a long time Linux desktop user, I’m often tempted to try out new distros to see if any of them can match my current favorite – Linux Mint. So as part of that experiment, I downloaded ElementaryOS 5.0, which debuted in October 2018, and installed it as a guest Read More

 Posted by at 6:51 pm

How to Perform Shasum Checks in Windows 10

 Windows  Comments Off on How to Perform Shasum Checks in Windows 10
Dec 252018
 

In this post, I will demonstrate two ways to perform Shasum verification on Windows 10 computers. Shasum checks are useful to ensure the integrity of your software downloads, i.e., making sure that the files are not tampered with. When you run a shasum256 or shasum512 check on a file, you Read More

 Posted by at 7:07 pm

How to Simplify User Management in CentOS 7

 Linux  Comments Off on How to Simplify User Management in CentOS 7
Dec 192018
 
How to Simplify User Management in CentOS 7

Of course, you can add, modify or delete users and groups on a CentOS 7 system via the command line. You can even set the default shell, create Sudo users (by adding the user to the Wheel group), set account expiration and password policies like password aging reminder to change Read More

 Posted by at 3:21 pm