Re: Cable Internet DNS Problem

2003-06-22 Thread linux_il
On Sunday 22 June 2003 16:41, Shaul Karl wrote: > I am not aware of any limitation for editing it as far as policy is > concerned. On the contrary. The fact that it is under /etc might policy or no policy - the bottom line is that when you upgrade the package it will (or supposed to) notice that

Re: Cable Internet DNS Problem

2003-06-22 Thread Shaul Karl
On Sun, Jun 22, 2003 at 01:48:54PM +0300, Tzafrir Cohen wrote: > > in /etc/dhcp3/dhclient-script the function make_resolv_conf indeed seems > quite hardwierd. However editing this file is easy (simply override this > function). > > Though according to the dhcp distro (and maybe also the debian po

Re: Cable Internet DNS Problem

2003-06-22 Thread Tzafrir Cohen
On Sun, Jun 22, 2003 at 10:07:08AM +0300, Shachar Shemesh wrote: > Mix Sella wrote: > > >Again. There are precisely two places that deal with resolv.conf: > > > >1) Your dhcpcd that periodically renews leases. Yes, it's stupid. As I > >told before, I use -R command line option to prevent dhcpcd f

Re: Cable Internet DNS Problem

2003-06-22 Thread Mix Sella
On Sunday 22 June 2003 10:07, Shachar Shemesh wrote: > Mix Sella wrote: > >Again. There are precisely two places that deal with resolv.conf: > > > >1) Your dhcpcd that periodically renews leases. Yes, it's stupid. As I > > told before, I use -R command line option to prevent dhcpcd from > > overwri

Re: Cable Internet DNS Problem

2003-06-22 Thread Shachar Shemesh
Mix Sella wrote: Again. There are precisely two places that deal with resolv.conf: 1) Your dhcpcd that periodically renews leases. Yes, it's stupid. As I told before, I use -R command line option to prevent dhcpcd from overwriting /etc/resolv.conf The problem is that I'm not using dhcpcd. I'm

Re: Cable Internet DNS Problem

2003-06-21 Thread Mix Sella
On Saturday 21 June 2003 21:14, Shachar Shemesh wrote: > Guy Cohen wrote: > >On Sat, Jun 21, 2003 at 07:58:26PM +0300, Amichai Rotman wrote: > >>How can I find out what causes this overwrite? I looked at the logs, > > > >Use common sense... If that happen *after* you run a script... What > >can cau

Re: Cable Internet DNS Problem

2003-06-21 Thread Mix Sella
On Saturday 21 June 2003 19:58, Amichai Rotman wrote: > Hi Clan, > > I have moved to MDK 9.1 and since then I have a weird DNS problem: > > Every time I restart the network or connect to the Net (using NetVision's > cablestart script) the /etc/resolv.conf file gets overwritten with the > following

Re: Cable Internet DNS Problem

2003-06-21 Thread Guy Teverovsky
As I have a local caching DNS server which uses my ISP DNS servers as forwarders and I do not want the resolve.conf (which points to my DNS) to be overwritten, I just did: chattr +i /etc/resolve.conf Guy On Sat, 2003-06-21 at 23:36, Boaz Rymland wrote: > > Except that it is an ugly patch. You d

Re: Cable Internet DNS Problem

2003-06-21 Thread Boaz Rymland
> Except that it is an ugly patch. You did find the core of the problem, > however. Ugly indeed, I must agree. Linux gives you the power to find and correct the problem, not so with the time nessecarry to do so... . > So now we only get to the solution - is there any way to configure DHCP > clie

Re: Cable Internet DNS Problem

2003-06-21 Thread Shachar Shemesh
Boaz Rymland wrote: I have a similar symptom on my machine. Debian, Cables (actcom) (forgot anythign important?). On my machine, after a connection is made, /etc/resolve.conf is being written nicely and all a-o.k. . BUT, after I've some time, when connection time exceedded ~12h, I have noticed

Re: Cable Internet DNS Problem

2003-06-21 Thread Shachar Shemesh
Boaz Rymland wrote: I have a similar symptom on my machine. Debian, Cables (actcom) (forgot anythign important?). On my machine, after a connection is made, /etc/resolve.conf is being written nicely and all a-o.k. . BUT, after I've some time, when connection time exceedded ~12h, I have noticed

Re: Cable Internet DNS Problem

2003-06-21 Thread Boaz Rymland
I have a similar symptom on my machine. Debian, Cables (actcom) (forgot anythign important?). On my machine, after a connection is made, /etc/resolve.conf is being written nicely and all a-o.k. . BUT, after I've some time, when connection time exceedded ~12h, I have noticed it have "fallen". A m

Re: Cable Internet DNS Problem

2003-06-21 Thread Lior Kesos
Amichai Rotman wrote: Hi Clan, I have moved to MDK 9.1 and since then I have a weird DNS problem: Every time I restart the network or connect to the Net (using NetVision's cablestart script) the /etc/resolv.conf file gets overwritten with the following contents: Hello Amichai you're problem

Re: Cable Internet DNS Problem

2003-06-21 Thread Gilboa Davara
Simple. Does any one of your network cards uses DHCP to get its IP address? If it does, then the DHCP server may also change the DNS settings, hence, the resolv.conf changes. (My Internet connection script, also restores the old resolv.conf after I connect to the ISP) -- Take care, Gilboa Davara

Re: Cable Internet DNS Problem

2003-06-21 Thread Shachar Shemesh
Guy Cohen wrote: On Sat, Jun 21, 2003 at 07:58:26PM +0300, Amichai Rotman wrote: How can I find out what causes this overwrite? I looked at the logs, Use common sense... If that happen *after* you run a script... What can cause that.. hmm Not a very good lead, in this case. The script

Re: Cable Internet DNS Problem

2003-06-21 Thread Shachar Shemesh
Amichai Rotman wrote: Hi Clan, I have moved to MDK 9.1 and since then I have a weird DNS problem: Every time I restart the network or connect to the Net (using NetVision's cablestart script) the /etc/resolv.conf file gets overwritten with the following contents: # cat /etc/resolv.conf namese

Re: Cable Internet DNS Problem

2003-06-21 Thread Guy Cohen
On Sat, Jun 21, 2003 at 07:58:26PM +0300, Amichai Rotman wrote: > How can I find out what causes this overwrite? I looked at the logs, Use common sense... If that happen *after* you run a script... What can cause that.. hmm > > Thanks, > > Amichai. > >