• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 545
  • Last Modified:

Check if DNS is installed in Ubuntu

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
jskfan
Asked:
jskfan
3 Solutions
 
achaldaveCommented:
Try following commands

dpkg –get-selections

dpkg –get-selections | grep bind
0
 
jskfanAuthor Commented:
command not found

dpkg
0
 
serialbandCommented:
The command is dpkg.  The option is –get-selections.

You placed the space incorrectly in your command.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
gheistCommented:
dpkg --get-selections
0
 
jskfanAuthor Commented:
ok 2 hyphens before get
0
 
jskfanAuthor Commented:
dnsdns
0
 
jskfanAuthor Commented:
in which server is DNS installed , per the above snapshots ?
0
 
gheistCommented:
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
 
gheistCommented:
Your picture has so huge font.
Please OCR and googel yourself. Really i cannot walk 5m from monitro to see your letters....
0
 
jskfanAuthor Commented:
the fonts look ok to me
0
 
jskfanAuthor Commented:
I guess the one that shows plain bind9 , is the one that DNS server installed on it
0
 
jskfanAuthor Commented:
dpkg --get-selections

Thank you Guys!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now