Re: dns
Вопрос снимается, отключил днс резолф на роутере, и дшсп перестал
затирать мой /etc/resolv.conf ура, теперь есть инет без /etc/hosts!!!
В Сбт, 20/12/2008 в 13:40 +0300, Solovev Alexander пишет:
> В общем вопрос превратился в "как в дебиан задать dns сервер, чтобы
> всегда через него имена определял, а то неопредиляет нормально, т.к.
> маршрутизатор глючит"
> В Сбт, 20/12/2008 в 13:17 +0300, Solovev Alexander пишет:
> > Точнее не так
> > файл /etc/resolv.conf не сохраняется, т.к. после добавления ip адресов
> > DNS, в этом файле появляются записи, а после перезагрузки исчезают, так
> > и должно быть?
> > В Птн, 19/12/2008 в 21:35 -0500, Nicholas пишет:
> > > Solovev Alexander wrote:
> > > > Как сохранить прописанные мною настройки днс?
> > >
> > > /etc/hosts
> > >
> > > http://tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap9sec95.html
> > >
> > > 9.7. The /etc/hosts file
> > >
> > > As your machine gets started, it will need to know the mapping of some
> > > hostnames to IP addresses before DNS can be referenced. This mapping is
> > > kept in the /etc/hosts file. In the absence of a name server, any
> > > network program on your system consults this file to determine the IP
> > > address that corresponds to a host name.
> > >
> > > Following is a sample /etc/hosts file:
> > >
> > > IPAddress Hostname Alias
> > > 127.0.0.1 localhost deep.openna.com
> > > 208.164.186.1 deep.openna.com deep
> > > 208.164.186.2 mail.openna.com mail
> > > 208.164.186.3 web.openna.com web
> > >
> > >
> > >
> > >
> > > --
> > > Sincerely,
> > > Nicholas
> > >
> > >
> >
> >
>
>
Reply to:
- Follow-Ups:
- Re: dns
- From: Stanislav Maslovski <stanislav.maslovski@gmail.com>
- References:
- dns
- From: Solovev Alexander <debiu@yandex.ru>
- Re: dns
- From: Nicholas <spam@networkgate.us>
- Re: dns
- From: Solovev Alexander <debiu@yandex.ru>
- Re: dns
- From: Solovev Alexander <debiu@yandex.ru>