[Bug 1853669] Re: systemd resolves own hostname to link local ipv6 address

Andreas L avl.ramschbox at gmx.at
Fri Dec 6 08:47:13 UTC 2019


It occurred to me, that the actual query might be cached at that time,
so I did a fresh restart of systemd-resolved and query,  and then
follows the log for these times: I don't see much relevant details in
it, except that it also tries to find MX-records but fails till
<attempts-max-reached>.

avl at fpc:~$ date; sudo systemctl restart systemd-resolved
Fr Dez  6 09:27:34 CET 2019
avl at fpc:~$ date; host fpc
Fr Dez  6 09:27:39 CET 2019
fpc has address 10.2.2.1
fpc has address 10.2.2.250      
fpc has IPv6 address fe80::4687:fcff:fe9e:4ac7
avl at fpc:~$ 

Note: the 10.2.2.250 is a remainder from a recent experiment, adding a
second IP address to the same network device.  It is not in 10.2.2.3's
/etc/hosts .  The problem of bad inet6 returned predates my addition of
the second ip-address.

Here the log:

Dez 06 09:27:34 fpc systemd[1]: Stopping Network Name Resolution...
Dez 06 09:27:34 fpc systemd-resolved[4579]: Removing scope on link *, protocol dns, family *
Dez 06 09:27:34 fpc systemd[1]: Stopped Network Name Resolution.
Dez 06 09:27:34 fpc systemd[1]: Starting Network Name Resolution...
Dez 06 09:27:35 fpc systemd-resolved[4616]: Positive Trust Anchors:
Dez 06 09:27:35 fpc systemd-resolved[4616]: . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5
Dez 06 09:27:35 fpc systemd-resolved[4616]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Dez 06 09:27:35 fpc systemd-resolved[4616]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa corp home internal intranet lan local private test
Dez 06 09:27:35 fpc systemd-resolved[4616]: Using system hostname 'fpc'.
Dez 06 09:27:35 fpc systemd-resolved[4616]: New scope on link *, protocol dns, family *
Dez 06 09:27:35 fpc systemd-resolved[4616]: Found new link 2/enp4s0
Dez 06 09:27:35 fpc systemd-resolved[4616]: Found new link 1/lo
Dez 06 09:27:35 fpc systemd-resolved[4616]: Bus n/a: changing state UNSET → OPENING
Dez 06 09:27:35 fpc systemd-resolved[4616]: Bus n/a: changing state OPENING → AUTHENTICATING
Dez 06 09:27:35 fpc systemd-resolved[4616]: Creating stub listener using UDP/TCP.
Dez 06 09:27:35 fpc systemd-resolved[4616]: Switching to system DNS server 10.2.2.3.
Dez 06 09:27:35 fpc systemd-resolved[4616]: Bus n/a: changing state AUTHENTICATING → HELLO
Dez 06 09:27:35 fpc systemd-resolved[4616]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Dez 06 09:27:35 fpc systemd-resolved[4616]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RequestName cookie=2 reply_cookie=0 signature=su error-name=n/a error-message=n/a
Dez 06 09:27:35 fpc systemd-resolved[4616]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=3 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Dez 06 09:27:35 fpc systemd-resolved[4616]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.2788 path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=s error-name=n/a error-message=n/a
Dez 06 09:27:35 fpc systemd-resolved[4616]: Bus n/a: changing state HELLO → RUNNING
Dez 06 09:27:35 fpc systemd-resolved[4616]: Got message type=signal sender=org.freedesktop.DBus.Local destination=n/a path=/org/freedesktop/DBus/Local interface=org.freedesktop.DBus.Local member=Connected cookie=4294967295 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Dez 06 09:27:35 fpc systemd-resolved[4616]: Got message type=signal sender=org.freedesktop.DBus destination=:1.2788 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=2 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Dez 06 09:27:35 fpc systemd[1]: Started Network Name Resolution.
Dez 06 09:27:35 fpc systemd-resolved[4616]: Got message type=signal sender=org.freedesktop.DBus destination=:1.2788 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=3 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Dez 06 09:27:35 fpc systemd-resolved[4616]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.2788 path=n/a interface=n/a member=n/a cookie=4 reply_cookie=2 signature=u error-name=n/a error-message=n/a
Dez 06 09:27:35 fpc systemd-resolved[4616]: Successfully acquired requested service name.
Dez 06 09:27:35 fpc systemd-resolved[4616]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.2788 path=n/a interface=n/a member=n/a cookie=5 reply_cookie=3 signature=n/a error-name=n/a error-message=n/a
Dez 06 09:27:35 fpc systemd-resolved[4616]: Match type='signal',sender='org.freedesktop.login1',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager',member='PrepareForSleep' successfully installed.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Got DNS stub UDP query packet for id 47976
Dez 06 09:27:39 fpc systemd-resolved[4616]: Looking up RR for fpc IN A.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending response packet with id 47976 on interface 1/AF_INET.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing query...
Dez 06 09:27:39 fpc systemd-resolved[4616]: Got DNS stub UDP query packet for id 63701
Dez 06 09:27:39 fpc systemd-resolved[4616]: Looking up RR for fpc IN AAAA.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending response packet with id 63701 on interface 1/AF_INET.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing query...
Dez 06 09:27:39 fpc systemd-resolved[4616]: Got DNS stub UDP query packet for id 27785
Dez 06 09:27:39 fpc systemd-resolved[4616]: Looking up RR for fpc IN MX.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 33894 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 33894.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using DNS server 10.2.2.3 for transaction 33894.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 33894.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing query...
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 33894. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Verified we get a response at feature level UDP from DNS server 10.2.2.3.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server doesn't support EDNS(0) properly, downgrading feature level...
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using degraded feature set (UDP) for DNS server 10.2.2.3.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 33894 is now 29224.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 29224 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 29224.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 29224.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 29224. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 29224 is now 62485.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 62485 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 62485.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 62485.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 62485. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 62485 is now 4602.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 4602 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 4602.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 4602.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 4602. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 4602 is now 31387.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 31387 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 31387.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 31387.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 31387. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 31387 is now 12697.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 12697 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 12697.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 12697.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 12697. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 12697 is now 31670.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 31670 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 31670.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 31670.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 31670. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 31670 is now 46953.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 46953 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 46953.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 46953.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 46953. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 46953 is now 20989.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 20989 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 20989.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 20989.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 20989. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 20989 is now 7968.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 7968 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 7968.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 7968.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 7968. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 7968 is now 13160.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 13160 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 13160.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 13160.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 13160. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 13160 is now 19126.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 19126 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 19126.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 19126.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 19126. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 19126 is now 46864.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 46864 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 46864.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 46864.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 46864. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 46864 is now 56446.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 56446 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 56446.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 56446.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 56446. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 56446 is now 28338.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 28338 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 28338.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 28338.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 28338. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 28338 is now 9719.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 9719 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 9719.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 9719.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 9719. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 9719 is now 48267.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 48267 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 48267.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 48267.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 48267. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 48267 is now 50902.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 50902 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 50902.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 50902.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 50902. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 50902 is now 50290.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 50290 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 50290.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 50290.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 50290. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 50290 is now 374.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 374 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 374.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 374.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 374. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 374 is now 33389.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 33389 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 33389.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 33389.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 33389. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 33389 is now 60705.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 60705 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 60705.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 60705.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 60705. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 60705 is now 56697.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 56697 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 56697.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 56697.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 56697. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 56697 is now 2956.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Cache miss for fpc IN MX
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 2956 for <fpc IN MX> scope dns on */*.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Using feature level UDP+EDNS0 for transaction 2956.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending query packet with id 2956.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Processing incoming packet on transaction 2956. (rcode=SUCCESS)
Dez 06 09:27:39 fpc systemd-resolved[4616]: Server feature level is now lower than when we began our transaction. Restarting with new ID.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 2956 is now 41689.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Transaction 41689 for <fpc IN MX> on scope dns on */* now complete with <attempts-max-reached> from network (unsigned).
Dez 06 09:27:39 fpc systemd-resolved[4616]: Sending response packet with id 27785 on interface 1/AF_INET.
Dez 06 09:27:39 fpc systemd-resolved[4616]: Freeing transaction 41689.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1853669

Title:
  systemd resolves own hostname to link local ipv6 address

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  I've got an ethernet-device that only has a configured ipv4 address,
  and some auto-generated link-local (aka "scope link") ipv6 address.

  Any tool doing a DNS query (and /lib/systemd/systemd-resolved is the
  DNS-server listening on 127.0.0.53) for this host's hostname gets back
  two addresses: the correct ipv4 address, and a broken ipv6 address.

  Unlike on ipv4,  it is possible for the same ipv6-address to be
  assigned to multiple devices, and therefore the address is only valid
  in the context of the eth-device.

  Now, if "ifconfig" shows "inet6 fe80::4687:fcff:fe9e:4ac7  prefixlen 64  scopeid 0x20<link>"
  then "fe80::4687:fcff:fe9e:4ac7" is NOT a connectable address, and syscall connect() typically fails with EINVAL.

  To make it a valid address, it needs to be suffixed with a "%" and the device name, like:
  fe80::4687:fcff:fe9e:4ac7%enp4s0

  Either the resolver can return the link name attached to the address
  separated with a "%" char, or it needs to ignore link-local inet6
  addresses.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1853669/+subscriptions



More information about the foundations-bugs mailing list