🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux
Article #895618

Re: ustawianie dns bez resolv.conf

#895618
From: Jakub "mick3y" Mikusek
Date: Sun, 14 Feb 2016 18:42
20 lines
1609 bytes
On 2016-02-13, bniedzwiecka@gmail.com <bniedzwiecka@gmail.com> wrote:

> Uruchamiam sobie siec w ten sposob:
>
> #ifconfig eth0 up XXX.XXX.XXX.XXX
> #route add default gw XXX.XXX.XXX.XXX

Jerzu świetny - a co to jest - Linux from scratch ? :-D
Jak już chcesz koniecznie z palca uruchamiać sieć, to powinno wystarczyć
"ifup eth0".
W Debianie/Łubuntu jest coś jak /etc/network/interfaces i tam sobie
możesz IP, bramę i adresy serwerów DNS skonfigurować.
man 5 interfaces

/etc/resolv.conf nie jest konieczny w teorii, w praktyce już częściej.
W skrócie - możesz polegać wyłącznie na wpisach w /etc/hosts.
man 5 nsswitch.conf


J.
Technical Details
Message-ID: <slrnnc1ik6.qts.root@local.mikusek.org>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin3!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <e49f6194-2ce4-4a87-b895-f408f72e5894@googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin3!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Newsgroups: pl.comp.os.linux
From: "Jakub \"mick3y\" Mikusek" <root@REMOVE-ONLY-THIS.local.mikusek.org>
Subject: Re: ustawianie dns bez resolv.conf
References: <e49f6194-2ce4-4a87-b895-f408f72e5894@googlegroups.com>
Mail-Copies-To: nobody
User-Agent: slrn/1.0.1 (Linux)
Mime-Version: 1.0
Message-ID: <slrnnc1ik6.qts.root@local.mikusek.org>
Cancel-Lock: sha1:3/UFTW2KDsPSG9yNWEk1f1FgM40=
Date: 14 Feb 2016 18:42:22 GMT
Lines: 21
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 83.24.109.77
X-Trace: 1455475342 unt-rea-a-01.news.neostrada.pl 694 83.24.109.77:26808
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit