Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Check if DNS is installed in Ubuntu

Posted on 2014-03-10
12
Medium Priority
?
542 Views
Last Modified: 2014-03-17
I need a command to find out if DNS is installed on ubuntu.

I installed and uninstalled bind9 on ubuntu.., I run the following command before and after bind9 installed, I got the same output:

dpkg -s bind9

apt-cache search bind9

I wonder what is the right command to find out if bind9 is installed or not.

Thanks
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 15

Assisted Solution

by:achaldave
achaldave earned 668 total points
ID: 39918800
Try following commands

dpkg –get-selections

dpkg –get-selections | grep bind
0
 

Author Comment

by:jskfan
ID: 39918984
command not found

dpkg
0
 
LVL 30

Assisted Solution

by:serialband
serialband earned 664 total points
ID: 39919234
The command is dpkg.  The option is –get-selections.

You placed the space incorrectly in your command.
0
Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

 
LVL 62

Accepted Solution

by:
gheist earned 668 total points
ID: 39919241
dpkg --get-selections
0
 

Author Comment

by:jskfan
ID: 39919290
ok 2 hyphens before get
0
 

Author Comment

by:jskfan
ID: 39919301
dnsdns
0
 

Author Comment

by:jskfan
ID: 39919302
in which server is DNS installed , per the above snapshots ?
0
 
LVL 62

Expert Comment

by:gheist
ID: 39919306
It is the rich text box, fame should go to one that typed a loooong hyyypheeen first ;)

you can see with
netstat -anpu
if anything on port 53

or in pstree try to find process called "named"
0
 
LVL 62

Expert Comment

by:gheist
ID: 39919336
Your picture has so huge font.
Please OCR and googel yourself. Really i cannot walk 5m from monitro to see your letters....
0
 

Author Comment

by:jskfan
ID: 39919421
the fonts look ok to me
0
 

Author Comment

by:jskfan
ID: 39919428
I guess the one that shows plain bind9 , is the one that DNS server installed on it
0
 

Author Closing Comment

by:jskfan
ID: 39934239
dpkg --get-selections

Thank you Guys!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question