On Sat, Jun 03, 2017 at 05:37:07PM +0100, Chris Green wrote: [snip long explanation of problem]
It is actually a bug. It can be worked around by adding the search domain to /etc/resolv.conf though that isn't straighforward as you can't actually edit the file (it's generated by resolvconf). If anyone wants more detail I can post them.