Package: connman
Version: 1.21-1.2
Severity: normal

I configure sub-domains in registrar and web-server and like to test setup.

With connnman DNS caching enabled I can't do this:

  $ cat /etc/resolv.conf
  # Generated by Connection Manager
  nameserver 127.0.0.1
  nameserver ::1

Restarting:

  $ sudo service connman restart

doesn't flush DNS cache. I can't find any command for flushing cache in
connmanctl(1). Also connman.conf(5) say nothing about DNS caching.

With help of CONNMAN(8) and /etc/init.d/connman I managed to write:

  $ cat /etc/default/connman
  DAEMON_OPTS='--nodnsproxy'

and after:

  $ sudo service connman restart

I able to get updates for new entries.

Please add command to connmanctl to flush/invalidate cache!

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (400, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages connman depends on:
ii  dbus                 1.10.0-3
ii  init-system-helpers  1.24
ii  libc6                2.19-22
ii  libdbus-1-3          1.10.0-3
ii  libglib2.0-0         2.46.1-1
ii  libgnutls-deb0-28    3.3.18-1
ii  libreadline6         6.3-8+b3
ii  libxtables10         1.4.21-2+b1
ii  lsb-base             9.20150917

Versions of packages connman recommends:
ii  bluez          5.33-1
ii  ofono          1.15-3
ii  wpasupplicant  2.3-2.1

Versions of packages connman suggests:
pn  indicator-network  <none>

-- no debconf information

-- 
Best regards!

Reply via email to