From: Eugene Prokopiev <enp@itx.ru> To: shaba@altlinux.ru, ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] systemd and dns Date: Wed, 4 Mar 2015 07:58:03 +0300 Message-ID: <CANM4Rui8_6_qvCqjKfi9=5h_FLdb5YcuCVtHdRzswS_ZW_=TaQ@mail.gmail.com> (raw) In-Reply-To: <CAEdvWkTahkQ+ydi2-wxq3P09P8-W7bzJOi43uPauh_U7gKvqhw@mail.gmail.com> >> # cat /etc/systemd/network/static.network >> [Match] >> Name=enp0s3 >> >> [Network] >> DNS=10.0.0.1 >> Address=10.0.0.10/24 >> Gateway=10.0.0.1 >> Куда еще смотреть? > > Тоже не заработало. > В первую очередь смотреть в /run/systemd/resolve/resolv.conf. Ага, там появляется. И там же написано, что /etc/resolv.conf должен быть симлинком на /run/systemd/resolve/resolv.conf. > После прописывания в /etc/systemd/resolved.conf работает, но мне > кажется это не очень правильным. А вот от редактирования этого файла я никакого эффекта не ощутил. На всякий случай о версиях: $ rpm -qa | grep systemd systemd-services-219-alt1 systemd-219-alt1 systemd-timesyncd-219-alt1 libsystemd-219-alt1 pam_systemd-219-alt1 systemd-utils-219-alt1 systemd-sysvinit-219-alt1 systemd-networkd-219-alt1 systemd-analyze-219-alt1 -- WBR, Eugene Prokopiev
next prev parent reply other threads:[~2015-03-04 4:58 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-03 13:37 Eugene Prokopiev 2015-03-03 14:14 ` Alexey Shabalin 2015-03-04 4:58 ` Eugene Prokopiev [this message] 2015-03-04 7:39 ` Alexey Shabalin 2015-03-04 9:53 ` Eugene Prokopiev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CANM4Rui8_6_qvCqjKfi9=5h_FLdb5YcuCVtHdRzswS_ZW_=TaQ@mail.gmail.com' \ --to=enp@itx.ru \ --cc=shaba@altlinux.ru \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git