DNS routing and the luv.asn.au domain
Russell Coker via luv-main <luv-main-mJLk/csuh/[email protected]> Thu, 02 Jul 2026 13:39:31 +1000
| Newsgroups | gmane.org.user-groups.linux.luv.general,gmane.linux.australia |
|---|---|
| Message-ID | <2664037.jZfb76A358@dojacat> |
DNS=144.76.186.21
Domains=luv.asn.au
If you add the above 2 lines to the end of /etc/systemd/resolved.conf (or put
them in a separate file in the /etc/systemd/resolved.conf.d/ directory) and
run "sudo systemctl restart systemd-resolved.service" you will have a separate
DNS configuration for the luv.asn.au domain.
Note that you can't have multiple separate DNS servers for different domains
using the above, so this won't give what you want if you already have a
private DNS server.
After setting up the domain the command resolvectl should give output like the
following:
Global
Protocols: +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
DNS Servers: 144.76.186.21
DNS Domain: luv.asn.au
Link 2 (mb)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/
unsupported
Default Route: no
Link 3 (wifi)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/
unsupported
DNS Servers: 8.8.8.8
DNS Domain: coker.com.au
Default Route: yes
This shows that the "Default Route" for DNS is 8.8.8.8 while the route for
luv.asn.au is 144.76.186.21
This will allow it to keep working for you until we get the domain renewed.
NB Make sure you remove this after the renewal.
The resolvectl command is supposed to be able to set this and I have done it
in the past, but I can't work it out from the man page and the google hits
haven't turned up anything useful. Anyone know how to use resolvectl to do
this? Before anyone says "read the source", I have read quite a bit of
systemd source and it is not easy for outsiders to understand.
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
_______________________________________________
luv-main mailing list -- luv-main-mJLk/csuh/[email protected]
To unsubscribe send an email to luv-main-leave-mJLk/csuh/[email protected]