More experiments, results and proposed solution:

1) On a system with

  whoopsie running
  network-manager NOT running, but network interface initialized via 
/etc/network/interfaces
  dnsmask running with network-managers configuration for dnsmasq
  IPv6 aktivated

I see the annoying repetive DNS-traffic for daisy.ubuntu.com. One or
more packets per minute. This proves network-manager itself is not the
bad guy!

2) Network-manager provides a configuration to dnsmask which disabled
cache (--cache-size=0). Removing this option from dnsmasq configuration
reduces traffic rate to 1 packet per 10 minutes. This corresponds to the
lifetime for the DNS record of daisy.ubuntu.com which is set to 600
seconds.

3) Running network-manager again and dnsmasq started from network-
manager, but with the modified configuration shows same result as #2.

4) HOWTO modify configuration for dnsmasq: Network-manager provides the
option --cache-size=0 as argument on command line. This cannot be
overriden by config-files, but you can use a wrapper script which is
called by network-manager instead of real dnsmasq. The fake dnsmask
purges the option --cache-size=0 and calls the real dnsmasq.

I provide this wrapper script as attachment. Place it in /usr/local/sbin
(this directory is searched before /usr/sbin), name it dnsmasq, set
owner and group to root and set execute bits. Use at own risk.

Enjoy!

** Attachment added: "wrapper script for dnsmasq, purges option --cache-size=0"
   
https://bugs.launchpad.net/whoopsie/+bug/991481/+attachment/4276624/+files/dnsmasq

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991481

Title:
  Constant dns traffic for daisy.ubuntu.com

To manage notifications about this bug go to:
https://bugs.launchpad.net/whoopsie/+bug/991481/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to