[Touch-packages] [Bug 1779438] Re: Cannot resolve names using systemd-resolved stub resolver

2018-09-18 Thread Launchpad Bug Tracker
[Expired for systemd (Ubuntu) because there has been no activity for 60
days.]

** Changed in: systemd (Ubuntu)
   Status: Incomplete => Expired

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

Title:
  Cannot resolve names using systemd-resolved stub resolver

Status in systemd package in Ubuntu:
  Expired

Bug description:
  Description:  Ubuntu 18.04 LTS
  Release:  18.04

  I am running a clean install of Ubuntu 18.04.
  This bug was also present for me on a clean install of Ubuntu 17.10 and I had 
a solution, but it appears to no longer work.

  What I expect to happen: Ping other hosts on network by name

  What happened instead:
  I can't ping other machines on network via name.
  From my Ubuntu 18.04 machine, I `ping ubuntu-test-1` and `ping 
ubuntu-test-1.localdomain` but neither work. I can ping by IP address though.

  The other machines on the network are Ubuntu Server 16.04.3 machines
  and can ping each other by name also.

  All machines on network including problem one receive DHCP leases from
  same server (192.168.20.1)

  I believe the problem is systemd-resolved stub resolver.

  `cat /etc/resolv.conf`
  # This file is managed by man:systemd-resolved(8). Do not edit.
  #
  # This is a dynamic resolv.conf file for connecting local clients to the
  # internal DNS stub resolver of systemd-resolved. This file lists all
  # configured search domains.
  #
  # Run "systemd-resolve --status" to see details about the uplink DNS servers
  # currently in use.
  #
  # Third party programs must not access this file directly, but only through 
the
  # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different 
way,
  # replace this symlink by a static file or a different symlink.
  #
  # See man:systemd-resolved.service(8) for details about the supported modes of
  # operation for /etc/resolv.conf.

  nameserver 127.0.0.53
  search localdomain

  
  If I change the nameserver line to the IP of my nameserver, not the stub, 
resolution works.

  nameserver 192.168.20.1
  search localdomain

  Now I can ping hosts by name.

  I used to solve this problem like this...

  `sudo systemctl disable systemd-resolved.service`
  `echo "nameserver 192.168.20.1" | sudo tee -a 
/etc/resolvconf/resolv.conf.d/tail`
  `sudo reboot`

  But /etc/resolvconf/resolv.conf.d no longer exists, and it's about
  time this problem was fixed :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779438/+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


[Touch-packages] [Bug 1779438] Re: Cannot resolve names using systemd-resolved stub resolver

2018-07-20 Thread Byron
Ok, thanks for the suggestion there Dimitri.

I ran a wireshark to see what happened when I pinged the hostname which
would inevitably fail, and I got nothing in wireshark. What I think is
happening and makes most sense is that the stub resolver is eating up my
DNS lookup and not forwarding it onto my nameserver. This is why there
is no network traffic for the ping as the resolve just fails inside the
stub resolver.

Is the nsswitch.conf a clue here?

hosts: files mdns4_minimal [NOTFOUND=return] dns

Does that mean that if there is not hostname found, it returns and not
forwards to dns?

After the failed wireshark, I switched the /etc/resolv.conf to not point
to the stub-resolv.conf and all is well again.

I would still like to help fix this issue though.

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

Title:
  Cannot resolve names using systemd-resolved stub resolver

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Description:  Ubuntu 18.04 LTS
  Release:  18.04

  I am running a clean install of Ubuntu 18.04.
  This bug was also present for me on a clean install of Ubuntu 17.10 and I had 
a solution, but it appears to no longer work.

  What I expect to happen: Ping other hosts on network by name

  What happened instead:
  I can't ping other machines on network via name.
  From my Ubuntu 18.04 machine, I `ping ubuntu-test-1` and `ping 
ubuntu-test-1.localdomain` but neither work. I can ping by IP address though.

  The other machines on the network are Ubuntu Server 16.04.3 machines
  and can ping each other by name also.

  All machines on network including problem one receive DHCP leases from
  same server (192.168.20.1)

  I believe the problem is systemd-resolved stub resolver.

  `cat /etc/resolv.conf`
  # This file is managed by man:systemd-resolved(8). Do not edit.
  #
  # This is a dynamic resolv.conf file for connecting local clients to the
  # internal DNS stub resolver of systemd-resolved. This file lists all
  # configured search domains.
  #
  # Run "systemd-resolve --status" to see details about the uplink DNS servers
  # currently in use.
  #
  # Third party programs must not access this file directly, but only through 
the
  # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different 
way,
  # replace this symlink by a static file or a different symlink.
  #
  # See man:systemd-resolved.service(8) for details about the supported modes of
  # operation for /etc/resolv.conf.

  nameserver 127.0.0.53
  search localdomain

  
  If I change the nameserver line to the IP of my nameserver, not the stub, 
resolution works.

  nameserver 192.168.20.1
  search localdomain

  Now I can ping hosts by name.

  I used to solve this problem like this...

  `sudo systemctl disable systemd-resolved.service`
  `echo "nameserver 192.168.20.1" | sudo tee -a 
/etc/resolvconf/resolv.conf.d/tail`
  `sudo reboot`

  But /etc/resolvconf/resolv.conf.d no longer exists, and it's about
  time this problem was fixed :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779438/+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


[Touch-packages] [Bug 1779438] Re: Cannot resolve names using systemd-resolved stub resolver

2018-07-20 Thread Dimitri John Ledkov
To revert to using upstream dns servers directly instead of stub, change
/etc/resolv.conf to point at /run/systemd/resolve/resolv.conf instead of
../run/systemd/resolve/stub-resolv.conf

However, it would be nice to figure out what domain you are trying to
resolve, and what is the result of it.

Can you e.g. reproduce both queries against resolved dns server and
upstream dns server, and capture systemd-resolved logs and/or network
traffic with wireshark?

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

Title:
  Cannot resolve names using systemd-resolved stub resolver

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Description:  Ubuntu 18.04 LTS
  Release:  18.04

  I am running a clean install of Ubuntu 18.04.
  This bug was also present for me on a clean install of Ubuntu 17.10 and I had 
a solution, but it appears to no longer work.

  What I expect to happen: Ping other hosts on network by name

  What happened instead:
  I can't ping other machines on network via name.
  From my Ubuntu 18.04 machine, I `ping ubuntu-test-1` and `ping 
ubuntu-test-1.localdomain` but neither work. I can ping by IP address though.

  The other machines on the network are Ubuntu Server 16.04.3 machines
  and can ping each other by name also.

  All machines on network including problem one receive DHCP leases from
  same server (192.168.20.1)

  I believe the problem is systemd-resolved stub resolver.

  `cat /etc/resolv.conf`
  # This file is managed by man:systemd-resolved(8). Do not edit.
  #
  # This is a dynamic resolv.conf file for connecting local clients to the
  # internal DNS stub resolver of systemd-resolved. This file lists all
  # configured search domains.
  #
  # Run "systemd-resolve --status" to see details about the uplink DNS servers
  # currently in use.
  #
  # Third party programs must not access this file directly, but only through 
the
  # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different 
way,
  # replace this symlink by a static file or a different symlink.
  #
  # See man:systemd-resolved.service(8) for details about the supported modes of
  # operation for /etc/resolv.conf.

  nameserver 127.0.0.53
  search localdomain

  
  If I change the nameserver line to the IP of my nameserver, not the stub, 
resolution works.

  nameserver 192.168.20.1
  search localdomain

  Now I can ping hosts by name.

  I used to solve this problem like this...

  `sudo systemctl disable systemd-resolved.service`
  `echo "nameserver 192.168.20.1" | sudo tee -a 
/etc/resolvconf/resolv.conf.d/tail`
  `sudo reboot`

  But /etc/resolvconf/resolv.conf.d no longer exists, and it's about
  time this problem was fixed :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779438/+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


[Touch-packages] [Bug 1779438] Re: Cannot resolve names using systemd-resolved stub resolver

2018-07-20 Thread Byron
This is a recent install, so haven't installed much apart from my usual 
programs, vim, editors, etc...
I would expect to be able to ping by hostname without installing additional 
software such as resolver libraries.

Here is my /etc/nsswitch.conf

`cat /etc/nsswitch.conf`
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: compat systemd
group:  compat systemd
shadow: compat
gshadow:files

hosts:  files mdns4_minimal [NOTFOUND=return] dns
networks:   files

protocols:  db files
services:   db files
ethers: db files
rpc:db files

netgroup:   nis


Do additional libraries need installing from a full base install?

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

Title:
  Cannot resolve names using systemd-resolved stub resolver

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Description:  Ubuntu 18.04 LTS
  Release:  18.04

  I am running a clean install of Ubuntu 18.04.
  This bug was also present for me on a clean install of Ubuntu 17.10 and I had 
a solution, but it appears to no longer work.

  What I expect to happen: Ping other hosts on network by name

  What happened instead:
  I can't ping other machines on network via name.
  From my Ubuntu 18.04 machine, I `ping ubuntu-test-1` and `ping 
ubuntu-test-1.localdomain` but neither work. I can ping by IP address though.

  The other machines on the network are Ubuntu Server 16.04.3 machines
  and can ping each other by name also.

  All machines on network including problem one receive DHCP leases from
  same server (192.168.20.1)

  I believe the problem is systemd-resolved stub resolver.

  `cat /etc/resolv.conf`
  # This file is managed by man:systemd-resolved(8). Do not edit.
  #
  # This is a dynamic resolv.conf file for connecting local clients to the
  # internal DNS stub resolver of systemd-resolved. This file lists all
  # configured search domains.
  #
  # Run "systemd-resolve --status" to see details about the uplink DNS servers
  # currently in use.
  #
  # Third party programs must not access this file directly, but only through 
the
  # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different 
way,
  # replace this symlink by a static file or a different symlink.
  #
  # See man:systemd-resolved.service(8) for details about the supported modes of
  # operation for /etc/resolv.conf.

  nameserver 127.0.0.53
  search localdomain

  
  If I change the nameserver line to the IP of my nameserver, not the stub, 
resolution works.

  nameserver 192.168.20.1
  search localdomain

  Now I can ping hosts by name.

  I used to solve this problem like this...

  `sudo systemctl disable systemd-resolved.service`
  `echo "nameserver 192.168.20.1" | sudo tee -a 
/etc/resolvconf/resolv.conf.d/tail`
  `sudo reboot`

  But /etc/resolvconf/resolv.conf.d no longer exists, and it's about
  time this problem was fixed :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779438/+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


[Touch-packages] [Bug 1779438] Re: Cannot resolve names using systemd-resolved stub resolver

2018-07-18 Thread Ken Sharp
What's in nsswitch.conf?
Have you install the relevant resolver libraries?

Better yet: use ubuntu-bug.

** Changed in: systemd (Ubuntu)
   Status: New => Incomplete

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

Title:
  Cannot resolve names using systemd-resolved stub resolver

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Description:  Ubuntu 18.04 LTS
  Release:  18.04

  I am running a clean install of Ubuntu 18.04.
  This bug was also present for me on a clean install of Ubuntu 17.10 and I had 
a solution, but it appears to no longer work.

  What I expect to happen: Ping other hosts on network by name

  What happened instead:
  I can't ping other machines on network via name.
  From my Ubuntu 18.04 machine, I `ping ubuntu-test-1` and `ping 
ubuntu-test-1.localdomain` but neither work. I can ping by IP address though.

  The other machines on the network are Ubuntu Server 16.04.3 machines
  and can ping each other by name also.

  All machines on network including problem one receive DHCP leases from
  same server (192.168.20.1)

  I believe the problem is systemd-resolved stub resolver.

  `cat /etc/resolv.conf`
  # This file is managed by man:systemd-resolved(8). Do not edit.
  #
  # This is a dynamic resolv.conf file for connecting local clients to the
  # internal DNS stub resolver of systemd-resolved. This file lists all
  # configured search domains.
  #
  # Run "systemd-resolve --status" to see details about the uplink DNS servers
  # currently in use.
  #
  # Third party programs must not access this file directly, but only through 
the
  # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different 
way,
  # replace this symlink by a static file or a different symlink.
  #
  # See man:systemd-resolved.service(8) for details about the supported modes of
  # operation for /etc/resolv.conf.

  nameserver 127.0.0.53
  search localdomain

  
  If I change the nameserver line to the IP of my nameserver, not the stub, 
resolution works.

  nameserver 192.168.20.1
  search localdomain

  Now I can ping hosts by name.

  I used to solve this problem like this...

  `sudo systemctl disable systemd-resolved.service`
  `echo "nameserver 192.168.20.1" | sudo tee -a 
/etc/resolvconf/resolv.conf.d/tail`
  `sudo reboot`

  But /etc/resolvconf/resolv.conf.d no longer exists, and it's about
  time this problem was fixed :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779438/+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


[Touch-packages] [Bug 1779438] Re: Cannot resolve names using systemd-resolved stub resolver

2018-06-30 Thread Paul White
** Package changed: ubuntu => systemd (Ubuntu)

** Tags added: bionic

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

Title:
  Cannot resolve names using systemd-resolved stub resolver

Status in systemd package in Ubuntu:
  New

Bug description:
  Description:  Ubuntu 18.04 LTS
  Release:  18.04

  I am running a clean install of Ubuntu 18.04.
  This bug was also present for me on a clean install of Ubuntu 17.10 and I had 
a solution, but it appears to no longer work.

  What I expect to happen: Ping other hosts on network by name

  What happened instead:
  I can't ping other machines on network via name.
  From my Ubuntu 18.04 machine, I `ping ubuntu-test-1` and `ping 
ubuntu-test-1.localdomain` but neither work. I can ping by IP address though.

  The other machines on the network are Ubuntu Server 16.04.3 machines
  and can ping each other by name also.

  All machines on network including problem one receive DHCP leases from
  same server (192.168.20.1)

  I believe the problem is systemd-resolved stub resolver.

  `cat /etc/resolv.conf`
  # This file is managed by man:systemd-resolved(8). Do not edit.
  #
  # This is a dynamic resolv.conf file for connecting local clients to the
  # internal DNS stub resolver of systemd-resolved. This file lists all
  # configured search domains.
  #
  # Run "systemd-resolve --status" to see details about the uplink DNS servers
  # currently in use.
  #
  # Third party programs must not access this file directly, but only through 
the
  # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different 
way,
  # replace this symlink by a static file or a different symlink.
  #
  # See man:systemd-resolved.service(8) for details about the supported modes of
  # operation for /etc/resolv.conf.

  nameserver 127.0.0.53
  search localdomain

  
  If I change the nameserver line to the IP of my nameserver, not the stub, 
resolution works.

  nameserver 192.168.20.1
  search localdomain

  Now I can ping hosts by name.

  I used to solve this problem like this...

  `sudo systemctl disable systemd-resolved.service`
  `echo "nameserver 192.168.20.1" | sudo tee -a 
/etc/resolvconf/resolv.conf.d/tail`
  `sudo reboot`

  But /etc/resolvconf/resolv.conf.d no longer exists, and it's about
  time this problem was fixed :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1779438/+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