Take a look at diald's standard.filters file. Near the bottom you'll see that there are default options to bring up the dial-up link for (I think, I'm at the office and not at home where my Linux machine is...) 2 minutes when there are any DNS requests from the localhost or any client machines that connect to the net through your Linux box. To prevent Netscape, or any other app from bringing up the link for a simple dns request only, just comment out the configuration lines for this in standard.filters, and restart the diald daemon. You may get an error message in your application that it can't resolve the hostname of a remote system while it is starting, that should be ok since an actual request to connect to a remote system, be that by http, ftp, telnet, nntp, etc will bring up the link, and the dns resolution will take place again at that time. I had similar problems with some daemons bringing up the link every 10 minutes. It would drop after 2 minutes of no additional activity, then 8 minutes later would connect again. It later turned out to be my efforts to configure a caching-only nameserver that wanted to contact the up-stream dns server every ten minutes to confirm that it was still alive, but until I fixed that problem, this diald solution kept my sanity. I continued to use diald this way anyway, just to prevent random, stray dial-ups caused by any messing around with things on my local LAN. Don Dietz, N3KFH -----Original Message----- From: Petre Rodan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09, 2000 12:32 PM To: Phil Salkie; [EMAIL PROTECTED] Subject: Re: nestcape is starting my connection at startup Hi ! Phil Salkie wrote: > > Hey, Peter, > > > > > Any ideea why does Netscape (4.72) starts a dns querry when it starts? > > It may be looking for your news server, or may be looking for your machine. > It makes sense to put your own machine's name in /etc/hosts, and you might > have to put an entry for the NNTP server there as well. It seems that ethereal is not able to read from ppp0 after it was rerouted from a tap device ... I've listened to the tap0 then and this is what I've got: source 192.168.1.5 (my tap0 device) destination 193.231.208.1 (my ISP's DNS) protocol DNS info: standard query A news.localdomain > If tcpdump's too gobble-de-gookey for you, you can download "etherial", the > world's coolest packet sniffer, from www.zing.org ;-) thanx > Once you see what's causing the link-up, put the corresponding entry into > /etc/hosts, and make sure /etc/host.conf has "order hosts, bind" in it. my hosts: 127.0.0.1 localhost.localdomain localhost 192.168.0.4 localhost.localdomain 192.168.0.4 news.localdomain my host.conf order hosts,bind multi on my resolv.conf search localdomain nameserver 127.0.0.1 nameserver 193.231.208.1 I also have 'dnsserver -s 193.231.208.1' from squid. I have no news server configured and if I try to delete it from netscape it reapears. All this, but netscape still pops up the connection. Please, what else should I do? I've attached etherial's output. Thanks, Peter - To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]
