Bug#947688: systemd-networkd: Python socket.getfqdn() not working properly when resolv.conf lacks "domain" key
Dirk Heinrichs
dirk.heinrichs at altum.de
Sun Dec 29 13:12:34 GMT 2019
Michael Biebl:
> not quite sure what you mean by "domain" entry.
"domain example.com"
> Can you post a (full copy of a) working/non-working /etc/resolv.conf?
Working:
nameserver <real IP address of nameserver>
search <domain>
domain <domain>
Non-Working (as created automatically by systemd-resolved):
nameserver 127.0.0.53
options edns0
search <domain>
But as said: It works when Network-Manager is used.
> Is Python reading /etc/resolv.conf directly or does it use NSS?
Don't know what Python does internally.
> Is libnss-resolve installed (and enabled)?
No. Never heard of it before.
Bye...
Dirk
--
Dirk Heinrichs <dirk.heinrichs at altum.de>
GPG Public Key: D01B367761B0F7CE6E6D81AAD5A2E54246986015
Sichere Internetkommunikation: http://www.retroshare.org
Privacy Handbuch: https://www.privacy-handbuch.de
More information about the Pkg-systemd-maintainers
mailing list