🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ustawianie dns bez resolv.conf

#895614
From: Adam Klobukowski
Date: Sun, 14 Feb 2016 11:00
17 lines
1793 bytes
W dniu sobota, 13 lutego 2016 12:19:50 UTC+1 użytkownik bniedz...@gmail.com napisał:
> Witam
> 
> Uruchamiam sobie siec w ten sposob:
> 
> #ifconfig eth0 up XXX.XXX.XXX.XXX
> #route add default gw XXX.XXX.XXX.XXX
> 
> i aby dzialaly strony www musze stworzyc i wyedytowac plik /etc/resolv.conf w taki sposob;
> 
> #echo "nameserver 8.8.8.8"  > /etc resolv.conf
> 
> Czy jest jakis sposobb aby podac adres DNS do komendy ifconfig albo route? Czy plik resolv.conf jest konieczny?

Jest konieczny.

AdamK
Technical Details
Message-ID: <8c8a48bd-b69d-400e-971d-310d53cc9ce9@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.man.lodz.pl!newsfeed.pionier.net.pl!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!ok5no1579477igc.0!news-out.google.com!l1ni13117igd.0!nntp.google.com!hb3no4493388igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <e49f6194-2ce4-4a87-b895-f408f72e5894@googlegroups.com>

Show Full Headers
Complete Article Headers
X-Received: by 10.182.24.41 with SMTP id r9mr10825915obf.25.1455447647318;        Sun, 14 Feb 2016 03:00:47 -0800 (PST)
X-Received: by 10.50.25.196 with SMTP id e4mr81478igg.8.1455447647297; Sun, 14 Feb 2016 03:00:47 -0800 (PST)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.man.lodz.pl!newsfeed.pionier.net.pl!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!ok5no1579477igc.0!news-out.google.com!l1ni13117igd.0!nntp.google.com!hb3no4493388igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.os.linux
Date: Sun, 14 Feb 2016 03:00:46 -0800 (PST)
In-Reply-To: <e49f6194-2ce4-4a87-b895-f408f72e5894@googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.71.69.201; posting-account=mvBzhgoAAADiziO82aLj4VEpjexQv3Cn
NNTP-Posting-Host: 89.71.69.201
References: <e49f6194-2ce4-4a87-b895-f408f72e5894@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8c8a48bd-b69d-400e-971d-310d53cc9ce9@googlegroups.com>
Subject: Re: ustawianie dns bez resolv.conf
From: Adam Klobukowski <adamklobukowski@gmail.com>
Injection-Date: Sun, 14 Feb 2016 11:00:47 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit