Questions tagged [systemd-resolved]

3 questions
1
vote
1 answer

resolvectl is failing to add DNS with no error message

I'm trying to add split DNS to a wireguard tunnel (not really a wireguard question). I have a PostUp command: resolvectl dns %i 10.160.20.15 Which translates to: resolvectl dns wg0 10.160.20.15 and it does not work. When I just run that command as…
ericx
  • 496
0
votes
0 answers

Confused with resolve.conf for dns

For my Ubuntu 22.04 server, after following https://serverok.in/systemd-resolved I created my /etc/systemd/resolved.conf.d/dns_servers.conf which only contains: [Resolve] DNS=192.168.0.254 9.9.9.9 8.8.4.4 So I am obtaining: joseccz@wvmus2204:~$…
0
votes
0 answers

Checking current hostname (just systemd, no avahi)

I have configured systemd-netword to enable mDNS. My hostname is configured to "myhost". But in the network there is another host with the same name, so the systemd mDNS system assign to my host a suffix to make it unique "myhost" (and this is…