• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoLinux ApplicationsProhibite DNS services start-up under ubuntu
Previous Next

Prohibite DNS services start-up under ubuntu

Posted by: Alvin Jin , March 15, 2014

[vc_row][vc_column width=”1/1″][vc_column_text]Edit the file / etc / NetworkManager / NetworkManager.conf
dns = dnsmasq
Comment out this line
Restart Service

sodu service network-manager restart

DNS service will no longer Start-up

ubuntu@ubuntu:/etc/NetworkManager$ netstat -antp 
(Not all processes could be identified, non-owned process info 
will not be shown, you would have to be root to see it all.) 
Active Internet connections (servers and established) 
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name 
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN - 
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN - 
tcp 0 0 192.168.1.101:5900 192.168.1.105:51204 ESTABLISHED - 

ubuntu@ubuntu:/etc/NetworkManager$ ps -ef  | grep dns 
nobody    1010  1003  0 14:08 ?        00:00:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.0.1 --conf-file=/var/run/nm-dns-dnsmasq.conf --cache-size=0 --proxy-dnssec 

ubuntu@ubuntu:/etc/NetworkManager$ cd /etc/NetworkManager/
ubuntu@ubuntu:/etc/NetworkManager$ ls
NetworkManager.conf  dispatcher.d  system-connections 
ubuntu@ubuntu:/etc/NetworkManager$ more NetworkManager.conf

[/vc_column_text][/vc_column][/vc_row]

Tags: Linux Applications

Share!
Tweet

Alvin Jin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors