On 4/24/25 5:27 AM, François Patte wrote:
I am a little bit confused about the dns : I have systemd-resolved installed and when I list the content of the package (rpm -ql), I can read on the first line:

/etc/systemd/resolved.conf

But there is no /etc/systemd/resolved.conf

It's a ghost file.  If it exists, it's owned by the package.

There is a /usr/lib/systemd/resolved.conf but it is a file the lines of whitch are all commented...

That's the system default config which doesn't override any of the program defaults.

There is a /usr/sbin/resolvconf and a man for this, so I tried to use this resolvconf and read the man... Under the OPTIONS :

"       -i INTERFACE, --interface=INTERFACE
           Specifies the network interface to execute the query on. This may either be specified as numeric interface index or as network interface string (e.g.
            "en0")"

So, I tried resolvconf -i eno1 and...

Switch -i not supported

lol!

I can see that /usr/sbin/resolvconf is a symbolic link to ../bin/resolvectl

Yes, if you notice, the man page is actually for "resolvectl" and if you read to the bottom, you will get an answer to your "lol".

Trying to use resolvectl I get:

Global
          Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
   resolv.conf mode: stub

Link 2 (eno1)
     Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
         Protocols: +DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.1.1
        DNS Servers: 80.67.169.12 80.67.169.40 192.168.1.1
         DNS Domain: home

Link 3 (wlp6s0)
     Current Scopes: none
         Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported

Well! But where is the config file where all this is defined? That's a mystery!

It's using the defaults. Presumably your DHCP server is providing that info or you've configured it in the network config.

It seems that (at least) two systems are install for the dns but is there a way to see what is the one in use and how can I -- safely -- configure the dns system on my machine to use DNSOverTLS?

What two systems?

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to