On Thu, May 13, 1999 at 01:06:51AM +0200, Nicolai Rasmussen wrote:
> Hi Guys!
>
> And thanX for the great help so far!!!
>
> As the subject says I have a static IP at my ISP. And have regged a domain
> to that IP. My DNS server is set for this domain and a couple of subdomains.
>
> Is it posible to avoid, that the link comes up, when local machines try to
> access the domain or the subdomains ? -So when a local machine want's to
> access my webserver at one of my subdomains(from my Internet Domain) diald
> won't establish the link.
>
> Maybe I could give a device the IP that I get at my ISP ... I don't know..
> That's why I'm asking.
I suspect what you need to do is make your local DNS server a real secondary
server for your hosts (as opposed to a caching server which just remembers
hostnames after they've been queried once). Then go to each of your other
hosts, and change their /etc/resolv.conf files (or equivalent for Windows
machines) to point to your DNS server as the first entry. Also modify your
dhcp file if you have a dhcp server to give out that DNS server.
Failing that, you can fully populate /etc/hosts with all of your hostnames
(both fully qualified and without domain name). Then make sure
/etc/nsswitch.conf lists 'files' ahead of 'dns' for 'hosts'. I do this myself,
and it doesn't cause diald to dial (except when I forgot to add a hostname
without the .cygnus.com added, so it dialed to set up the dns when I used the
short name).
--
Michael Meissner, Cygnus Solutions
PMB 198, 174 Littleton Road #3
Westford, Massachusetts 01886
email: [EMAIL PROTECTED] fax: 978-692-4482
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]