Hi there,
I am using redhat 7.2 with a dialup connection. my resolv.conf looks like this... when i set it.
nameserver 202.54.1.30 nameserver 202.54.1.18 search .
however sometime after getting connected the addresses of the name serververs change to
nameserver 203.197.12.30 nameserver 202.54.1.72 search .
why is this .. arnt the original servers working ? and i have a problem with some websites while connected to VSNL generall in the past few days !
also what does the "." mean , the one after search ?
Thanks
-regards rahul
--- Rahul Saxena rahul.saxena@SoftHome.net wrote:
Hi there, I am using redhat 7.2 with a dialup connection. my resolv.conf looks like this... when i set it.
[snip] The reason that these entries change is cause.........probably you are making use of "kppp" or some other GUI dialer which automatically make temp /etc/resolv.conf entries.
This is standard with numerous of the available GUI dialers. The reason is so that when you connect to diff ISP's you don't have to make the apropriate entries into your resolv.conf.
The best solution out here is to try dialing out using "wvdial".
bash# man wvdial bash# man wvdial.conf
Trevor
nameserver 202.54.1.30 nameserver 202.54.1.18 search .
however sometime after getting connected the addresses of the name serververs change to
nameserver 203.197.12.30 nameserver 202.54.1.72 search .
why is this .. arnt the original servers working ? and i have a problem with some websites while connected to VSNL generall in the past few days !
also what does the "." mean , the one after search ?
Thanks
-regards rahul
===== ( >- GNU/LINUX, It's all about CHOICE -< ) /~\ __ http://www.qmailtheeasyway.com __ /~\ | ) / mailto: trevor.w@media.mit.edu \ (/ | |_|_ \ Research Asst, MediaLab / _|_| ___________________________________/
__________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
On Tue, 1 Oct 2002, Trevor Warren wrote:
This is standard with numerous of the available GUI dialers. The reason is so that when you connect to diff ISP's you don't have to make the apropriate entries into your resolv.conf.
i use wvdial but i use the same resolv.conf for both MTNL and VSNL (the nameservers are *only* of VSNL)
The best solution out here is to try dialing out using "wvdial".
how about making the reslov.conf write protected ?
P.S.
is there some file or something where all the (canonical?) domain-names and their corresponding ip-addresses are present ? then we can just insert that file in the /etc/hosts and there will b no need of DNS !!! Also the speed of surfing will enhance right ?
-- Nikhil Joshi
On Wed, 2 Oct 2002, Nikhil Joshi wrote:
is there some file or something where all the (canonical?) domain-names and their corresponding ip-addresses are present ? then we can just insert that file in the /etc/hosts and there will b no need of DNS !!! Also the speed of surfing will enhance right ?
And how do you plan to keep this file up-to-date? As you know, Domain names and associated IP addrs tends to change by the minutes :-) That is why need for DNS to avoid central repository and making it a distributed DB. Pls have look at DNS HOWTO for need and working of DNS.
-- Nikhil Joshi
HTH With regards,
On 02/10/02 11:02 +0530, Nikhil Joshi wrote:
is there some file or something where all the (canonical?) domain-names and their corresponding ip-addresses are present ? then we can just insert that file in the /etc/hosts and there will b no need of DNS !!! Also the speed of surfing will enhance right ?
DNS was created because /etc/hosts got too big, as well as the fact that maintainance became a hassle when the number of hosts increased. /etc/hosts is a flat file and having too many entries there will slow you down. You could just run a nameserver for yourself.
Devdas Bhagat
On 01/10/02 19:56 +0530, Rahul Saxena wrote:
Hi there,
I am using redhat 7.2 with a dialup connection. my resolv.conf looks like this... when i set it.
nameserver 202.54.1.30 nameserver 202.54.1.18 search .
You are trying to use authoritative nameservers here.
however sometime after getting connected the addresses of the name serververs change to
nameserver 203.197.12.30 nameserver 202.54.1.72 search .
This is what was sent by your ISP, since your connecting utility enables the use of the usepeerdns option to pppd.
why is this .. arnt the original servers working ? and i have a problem with some websites while connected to VSNL generall in the past few days !
Load balancing, VSNL wants users not to use its authoritative nameservers for recursive queries.
also what does the "." mean , the one after search ?
The term after the search is the default domain to search for partial names. A partial name is one that does not end with a . Philip had posted a mail on this a few days earlier.
If you had given search com. in /etc/resolv.conf, typing hotmail in the browser would enable a lookup of hotmail. followed by hotmail.com. search vsnl.com means that if you type www.hotmail.com in the browser, it will look for www.hotmail.com.vsnl.com also. OTOH, www.hotmail.com. is an absolute lookup
Devdas Bhagat