local dns and internet access

local dns and internet access

Post by Thomas Zenke » Tue, 10 Feb 1998 04:00:00



Hi,

fist of all thanks a lot to all how helped me till now with starting a
my little network.
Now I have my two pc's connected via eth0 and it worked fine till now. I
can mount remote fs's and so on. Yesterday I tried to install mamed. It
seems working more or less but I can't connect to Internet anymore.
I have a PPP account with dynamically assigned IP address with my ISP,
an ISDN connection over a Zyxel 2684I.
Dialing is ok, but then it tells me that sioccaddr is unreachable.
I guess that's because I tried with my 'old' ppp-on script, which
assigns a default gateway using the ISP's ip.
Well then, what can I do to use my pc as nameserver for my local
'minilan' and the ISP's nameserver for every request that can't be
resolved?
I have some idea that I have to use 'forwarders' and that stuff, but
that isn't explained in the 'Linux networking administrators guide'.

Please help
thom

--
Nenn mich wie Du willst,            || The Hardware is owned by UBS,
Gib mir Deinen Namen,               || but this mail is mine.
Ich bin so wie alle sind,           || -----------------------------
Ich hab' Euch nichts zu sagen. (bo) || The butler is the *er!

 
 
 

local dns and internet access

Post by Lorenzo Cavallar » Fri, 27 Feb 1998 04:00:00


: Hi,

:*of all thanks a lot to all how helped me till now with starting a
: my little network.
: Now I have my two pc's connected via eth0 and it worked fine till now. I
: can mount remote fs's and so on. Yesterday I tried to install mamed. It
: seems working more or less but I can't connect to Internet anymore.
: I have a PPP account with dynamically assigned IP address with my ISP,
: an ISDN connection over a Zyxel 2684I.
: Dialing is ok, but then it tells me that sioccaddr is unreachable.
: I guess that's because I tried with my 'old' ppp-on script, which
: assigns a default gateway using the ISP's ip.

Sounds strange .. try to look at the routing table while your doing this
netstat -nr should work good .....

Have you put the defautroute option in your pppd options file ??

: Well then, what can I do to use my pc as nameserver for my local
: 'minilan' and the ISP's nameserver for every request that can't be
: resolved?

I guess that you have to configure your /etc/resolv.conf file like this:

#/etc/resolv.conf
search your_minilan_domain      your_ISP_domain       #I dont remember if this two info must be se
                                                      #parated by a TAB a comma or a space :) sorry
nameserver IP_of_your_nameserver_minilan
nameserver IP_of_your_ISP_nameserver    #primary
nameserver IP_of_your_ISP_nameserver    #secondary .. if it exist ...

I guess you can have a mximum of three nameserver entry in /etc/resolv.conf

: I have some idea that I have to use 'forwarders' and that stuff, but
: that isn't explained in the 'Linux networking administrators guide'.

: Please help
: thom

: --
: Nenn mich wie Du willst,          || The Hardware is owned by UBS,
: Gib mir Deinen Namen,             || but this mail is mine.
: Ich bin so wie alle sind,         || -----------------------------
: Ich hab' Euch nichts zu sagen. (bo) || The butler is the *er!

--

Bye bye

I hope to helped ya :)

Lorenzo

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3ia

mQBNAzTJpwUAAAECAJj0mFdOFqU9d8/Pqk1PJ4x6g8+emNBTG0J6zIWvLYDqhYEd
l5YAQIQ3JiSfArA1cWFMti4g0lT/yxfWFv/2lNEABRG0L0xvcmVuem8gQ2F2YWxs
YXJvIDxsYzUyOTg2M0BzaWxhYi5kc2kudW5pbWkuaXQ+iQBVAwUQNMmnB8sX1hb/
9pTRAQHpoQH9G1lE4YrYdhqtRVJFVPHvvh6pB8VEbmT6n2sDE3IhFCWeQecwvYkj
4tAUygc7MeYS6YloTonBcPpGQazMCQyqzg==
=aceZ
-----END PGP PUBLIC KEY BLOCK-----