[systemd-devel] Nonstandard port for systemd-resolved DNS forwarded queries

Lennart Poettering lennart at poettering.net
Wed Jul 10 08:19:58 UTC 2019


On Do, 04.07.19 01:04, jimc (jimc at jfcarter.net) wrote:

>
> What I would really like to see, which I'm going to implement in my
> kludge, is syntax in /etc/systemd/resolved.conf where you could say
> something like
>     DNS=192.9.200.193#53 (192.9.200.194#4253 192.9.200.195#4253)
> meaning: Try the master, but if it's down use whichever slave is
> responding.  And speculatively retry the master occasionally, reverting
> to it when it's up again.  For me it's important to go through the
> master's dnsmasq on port 53, to get hosts which have names but which
> have non-fixed IPs from the DhCP pool or RFC 4862 addresses.  But of
> course the slaves have no dnsmasq (I wish that were possible).

This is currently not supported. Please file an RFE issue on github,
or even a PR implementing this. (That said, the ':' separator for
ports seems to be more standard, instead of '#')

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list