The 03.10.04 at 13:06, Bernd Koepsell wrote: [dns]
Actually, dns wasn't working after fresh system install with default modem string. When I changed the init string it began working. I tested this out a couple of times. I'm almost afraid of my modem now.
It wasn't the resolve file itself, its' location, or permissions. I looked at it in several ways before I dumped the system, then again when dns wasn't working, after I reinstalled. It was the modem init string. Strange but true!
Unbelievable! But I'll trust you. X'-)
I prefer to use a local dns server configured as a cache - there is a default config in the suse packages for this. It makes for some faster connections over a modem.
Where and how?
Let me see... my setup is a bit more complicated, but I installed it for a friend in minutes (like twenty). Ok, install bind. The default /etc/named.conf is directly set up for cache, if my memory serves me right (it varies depending on the sue version) -- or it is so on a sample file with the docs. You need to change some lines, though: #forwarders { 10.11.12.13; 10.11.12.14; }; #forward first; Enable, and enter your ISP dns servers. Of course, they must be fixed, these can not be entered automatically. You may use the same one that you get on the wvdial console, or read them from the /etc/resolv.conf while connected. Possibly, setup this: #listen-on port 53 { 127.0.0.1; }; to your local IPs, not the internet IP -- which is dynamic, anyway: you do not need to answer queries from the internet. Then, you need to start up bind: "rcnamed start". Look up on /var/log/messages for possible errors. Then edit /etc/resolv.conf, something similar to this (use 127.0.0.1 instead, I think): nameserver 192.168.100.2 search valinor And test it - without connecting: nimrodel:~ # host localhost localhost.valinor has address 127.0.0.1 Perhaps you need to issue a "rcnetwork restart" first. Then, you need to change your configuration (ARGH! ;-) ) so that the resolv.conf file is not touched during connection. This was done changing a variable somewhere, but I don't remember... ah, found it (etc/ppp/ip-up): | If you do not want the pppd to change your nameserver settings | set MODIFYDNS=no in the config file for this provider in | /etc/sysconfig/network/providers/ and ensure that the option | usepeerdns is not set in /etc/ppp/options. Mmm, that's not where I did it :-? I need some investigating done. It is something I don't touch much since suse 7.1 or roundabouts, and this is sue 8.2 ;-) -- Cheers, Carlos Robinson