DNS Domain: ~mydomain.com means that said domain got added as
"route_only" to systemd-resolved.

We need to find who/what/why did this.

This could be the configuration of resolved.conf, networkd, or network-
manager itself.

Can we make sure there is nothing suspicious in:

$ grep Domains= /etc/systemd/resolved.conf \
/etc/systemd/resolved.conf.d/* \
/run/systemd/resolved.conf \
/run/systemd/resolved.conf.d/* \
/lib/systemd/resolved.conf \
/lib/systemd/resolved.conf.d/* \
/usr/lib/systemd/resolved.conf \
/usr/lib/systemd/resolved.conf.d/* \
/etc/systemd/network/* \
/etc/systemd/network/*.d/* \
/run/systemd/network/* \
/run/systemd/network/*.d/* \
/lib/systemd/network/* \
/lib/systemd/network/*.d/* \
/usr/lib/systemd/network/* \
/usr/lib/systemd/network/*.d/*

I expect loads of errors, and just
'/etc/systemd/resolved.conf:#Domains='
to turn up.

That should exclude any systemd-resolved / networkd configurations.

And I'll start digging into network-manager resolved-dns plugin code.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1751797

Title:
  dns resolution only works for domains in 'search'.

Status in network-manager package in Ubuntu:
  New
Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  After reboot, dns was broken.
  This is a very simple Network Manager managed interface that has dhcp.

  $ nmcli device show enp0s25  | pastebinit
  http://paste.ubuntu.com/p/sMVTdrMBxJ/

  
  I've attached systemd-resolve --status output.

  In order to file the bug I just modified /etc/resolv.conf to put the
  dns server in directly.

  Other information, it seems like it just will only look for dns under
  my search domains from the dhcp server:

  $ systemd-resolve home.mosers.us
  home.mosers.us: 23.28.108.176

  -- Information acquired via protocol DNS in 1.5ms.
  -- Data is authenticated: no

  $ systemd-resolve google.com
  google.com: resolve call failed: No appropriate name servers or networks for 
name found

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: systemd 237-3ubuntu3
  ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
  Uname: Linux 4.13.0-32-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Feb 26 09:35:32 2018
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-23 (949 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-32-generic 
root=UUID=f897b32a-eacf-4191-9717-844918947069 ro quiet splash vt.handoff=1
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.vendor: Intel Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1751797/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to