cant find systemd resolved in opensuse

i used to setup my own nextdns
and now i cant do it as i cant find etc/systemd/resolved.conf i find systemd was installed

 rpm -qa | grep systemd 
lib**systemd**0-251.8-1.1.x86_64 
**systemd**-rpm-macros-17-1.1.noarch 
**systemd**-presets-common-SUSE-15-24.2.noarch 
**systemd**-default-settings-branding-openSUSE-0.7-2.5.noarch 
**systemd**-default-settings-0.7-2.5.noarch 
**systemd**-presets-branding-openSUSE-12.2-20.2.noarch 
grub2-**systemd**-sleep-plugin-2.06-30.1.noarch 
**systemd**-251.8-1.1.x86_64 
util-linux-**systemd**-2.37.4-4.3.x86_64 
**systemd**-doc-251.8-1.1.x86_64

can anyone lookinto i was using ubuntu before and fedora also but never find this
i dont know much about systemd can anyone help here
in fedora i know it was systemd-resolved but here i cant find this package.

i want to have a dns over tls woth systemd-resolved.

stephan@linux64:~> LANG=C zypper search --provides --match-exact /etc/systemd/resolved.conf
Loading repository data...
Reading installed packages...

S | Name            | Summary                                              | Type
--+-----------------+------------------------------------------------------+--------
  | systemd-network | systemd network and Network Name Resolution managers | package
stephan@linux64:~> 

LANG=C is only needed when using another language and not English.

Repository 'openSUSE:Tumbleweed' is out-of-date. You can run 'zypper refresh' as root to update it. 
Repository 'packman' is out-of-date. You can run 'zypper refresh' as root to update it. 
Repository 'snappy' is out-of-date. You can run 'zypper refresh' as root to update it. 
Loading repository data... 
Reading installed packages... 

S | Name            | Summary                                              | Type 
--+-----------------+------------------------------------------------------+-------- 
  | systemd-network | systemd network and Network Name Resolution managers | package


yes now how can i setup it i cant find that file etc/systemd/resolved.conf

:/etc/systemd> ls -l
total 28
-rw-r--r-- 1 root root 1282 Nov  8 22:00 journald.conf
-rw-r--r-- 1 root root 1510 Nov 10 19:22 logind.conf
drwxr-xr-x 1 root root    0 Nov 10 19:32 network
-rw-r--r-- 1 root root  670 Nov  8 22:00 pstore.conf
-rw-r--r-- 1 root root  931 Nov  8 22:00 sleep.conf
drwxr-xr-x 1 root root  910 Nov 15 17:24 system
-rw-r--r-- 1 root root 2053 Nov 10 19:22 system.conf
-rw-r--r-- 1 root root  844 Nov 10 19:23 timesyncd.conf
drwxr-xr-x 1 root root  222 Nov 15 17:22 user
-rw-r--r-- 1 root root 1394 Nov 10 19:22 user.conf

on the network dir it is empty

Please use Code-Tags:
https://forums.opensuse.org/showthread.php/536143-Using-Code-Tags-Around-Your-Paste

Install it, its not installed…

S | Name | Summary | Type
–±----------------±-----------------------------------------------------±-------
| systemd-network | systemd network and Network Name Resolution managers | package

in fedora or ubuntu it have that by default
sudo zypper install systemd-network
[sudo] password for root:
Loading repository data…
Reading installed packages…
Resolving package dependencies…

Problem: nothing provides ‘this-is-only-for-build-envs’ needed by the to be installed systemd-mini-252.1-6.1.x
86_64
Solution 1: Following actions will be done:
install systemd-252.1-6.1.x86_64 from vendor obs://build.opensuse.org/Base:System
replacing systemd-252.1-1.1.x86_64 from vendor openSUSE
install udev-252.1-6.1.x86_64 from vendor obs://build.opensuse.org/Base:System
replacing udev-252.1-1.1.x86_64 from vendor openSUSE
Solution 2: do not install systemd-network-252.1-6.1.x86_64
Solution 3: break systemd-mini-252.1-6.1.x86_64 by ignoring some of its dependencies

**Choose from above solutions by number or cancel [1/2/3/c/d/?] (c):

what i need to do here**

Why do you think you need additional Repos such as:

obs://build.opensuse.org/Base:System

And once more:
Please use Code-Tags.

in fedora or ubuntu it have that by default

In openSUSE not. Thats the difference.

how to solve it can you help with proper commends

Show in Code-Tags:

zypper lr -d

zypper lr -d

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI

                                  | Service 

—±-------------------------------------±---------------------------±--------±----------±--------±---------±-------±-------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------±-------
1 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/
|
2 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/
|
3 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/
|
5 | https-download.opensuse.org-9dc22630 | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/
|
4 | https-download.opensuse.org-68f0ccc8 | Base:System | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/Base:/System/openSUSE_Tumbleweed/
|
6 | openSUSE-20221113-0 | openSUSE-20221113-0 | No | ---- | ---- | 99 | rpm-md | hd:/?device=/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_04018137bc54db03ef7502a38d121cd36fb5ffe3f3b08ad06a8eca832a0731e642c6000000000000000000009abd8
97e00087b1881558107532a84db-0:0-part2 |
7 | packman | packman | Yes | (r ) Yes | Yes | 90 | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/
|
8 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/tumbleweed/repo/oss/
|
9 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/tumbleweed/repo/oss/
|
10 | snappy | snappy | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed


sorry i am new here

I would do:
Delete this 2 Repos:

5 | https-download.opensuse.org-9dc22630 | openSUSE:Tumbleweed        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                                                                        
                                      |  
 4 | https-download.opensuse.org-68f0ccc8 | Base:System                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/Base:/System/openSUSE_Tumbleweed/     

Repo No. 5 is the same as the OSS Repo, also double.

I would than:

zypper dup --allow-vendor-change --allow-downgrade

to get a fresh system.
After that I would switch to the Packman Versions of installed packages:

zypper dup --allow-vendor-change --from https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/

Are you sure? Every openSUSE installation I have that is current, which is several tens, not only has systemd-network installed, but has systemd-networkd enabled, systemd-resolved disabled, and wicked masked. I have no recollection (not a good indicator of something happening or not) of ever having to specifically select to add systemd-network during- or post-installation. I mostly only do NET installs, with recommends disabled, using static IP and with NetworkMangler explicitly tabooed, so possibly those could make a difference.

Yes, I am. Since systemd-network was split off systemd package. Nothing requires or recommends systemd-network.

thanks it solved my issues but i think systemd-network should be installed by default like ubuntu fedora and centos
can you loookinto and make sure that this package stay installed in in all installations. thanks

It took a lot of work trying to find out when this happened, with TW’s filtering against the package’s rpm changelog bewildering. According to changelogs, the split occurred in TW 2019-09-18, and in Leap, 2020-05-29. The version the date represents for TW I didn’t find, but for Leap it appears to have been done in 15.1 updates 234-lp151.26.19.1 just a few weeks before release of 15.2, for which it appeared in 234-lp152.31.4.1 in August 2020. It’s not on release DVD for 15.2 or 15.1. As a split from a bigger package I guess is why it was so extensively installed here when I began switching to it from Wicked. With most of my Leaps existing as upgrades from prior releases, most would have had it installed as consequence of the split-off, creating the impression of its being part of a default installation.

it should be installed by default

For me, not…

Why? … Because you need it?

obviously
and all major distros i have used have this like rhel alma rocky ubuntu arch garuda fedora kubuntu elementary os zorin os kde neon and debian kali popos! manjaro also
as you can see most distros major ones that i have tested and have been runnung in a droplate or a desktop i find it is always present now it is totally onto suse team if they want to go with all distros or make or not
i think having it help to setup own dns over tls as all linux distros does not offer a GUI like android to set that up and as per my thinking having a good encrypted dns is more useful as dns is the most insecure part in internet in modern times.