Local Network DNS and dialup Internet problems

Local Network DNS and dialup Internet problems

Post by Francis Walling » Sat, 13 May 1995 04:00:00

(If this should posted/crossposted somewhere else please tell me
and I will do so)

We are running happily our own domain internally (sdm.co.uk) with
a dialup connection to our local Internet Provider. Problem is
that we have to use ifconfig up/down when we want to connect because named
seems to automatically bring up the connection.

We want to be able to leave ppp0 up so that named/routed only causes a dial
up when external access is really needed (sendmail processes the queue or
someone wants to connect to an external service).

Below you will find out named.boot and relevant entries from named.host.

We have tried using 2 nameserver lines in resolv.conf: problem is that
if our local named is first externals don't get resolved, and if the
internet named is first all local attempts to resolv go to the internet first
and then get resolved locally (i.e. dial up occurs for local resolving).

We have tried using forwarders in the named.boot (as we currently do) which
seems to cause our named to cache entries from the internet - great - but
as soon as we ifconfig up (and add the default route) the line comes up,
the only thing that could be bringing it up is named.

Main Question:
Can we configure named/routed so that named provides local and cached entries
without needing to go off-site ?

FYI Our only well known name is sdmuk.demon.co.uk (we do not yet have netwide
    access - we can't until this problem is resolved - excuse the pun)
    Our local domain is sdm.co.uk, all mail is routed through sendmail
    on zeus.sdm.co.uk, and the from address is changed ro sdmuk.demon.co.uk
    The named.boot is shown here, and a small part of named.hosts.
=======START of named.boot======

directory       /usr/lib/named
cache           .                       root.cache
; following line taken out as DNS now not working (FW 8/1/95)
; domain                sdm.co.uk
primary         sdm.co.uk               named.hosts
primary         21.195.193.in-addr.arpa named.rev
primary         0.0.127.in-addr.arpa    named.local
; This is our local providers NS
======END of named.boot=======
And from out named.host.....

localhost            IN   A
zeus                 IN   A
                     IN   HINFO Intel/486x66 SCO/ODT3
sdmuk.demon.co.uk.   IN   MX    10 zeus
hera                 IN   A
                     IN   MX    10 zeus
                     IN   HINFO Intel/Pentium/90 SCO/ODT3
sdm.co.uk.           IN   MX    10 zeus
sdm.co.uk.           IN   A

Francis Wallinger                    Tel +44(0)181 232 8383
Strategic Data Management            Fax +44(0)181 568 3339
Old Isleworth, TW7 6RJ                 Mob +44(0)370 306782


1. Problem with network(connecting to internet via local network)

I have LinuxPPC on a old Power Curve.
The goal is to setup a linux server to IP masq the connection from Road

But before I do this, I want to set it up to run through my currect
server until I get all the details on how to get IPX and Apple talk, or
netatalk running before I replace my current setup.
The Server is connected to the Road Runner modem, and masqerades the IP
to a second net work card, which is 10/100 8 port hub to all my systems.

The server is
DNS should be forwarded through the server to RR.
The server has DHCP setup this way, and both my other Mac, and my PC
correctly get IP addresses and can access the internet without problem.

Linux on the other hand, does not.  It indicates that it can not lookup
IP by DNS.  At this point, I'm not sure what to do.  I can get to a web
site by typing in the IP address directly... so I know I'm good for
everything else.  But the address resolution just won't work.

I configured the resolv.conf

What else do I need to do?


3. local network no Internet PC firewall go to Internet

4. Is there PC based Xterminal software available

5. help PC dhcp Internet ok but local network no Internet

6. Netscape 'cannot allocate...'

7. Dialup access to local LAN but not Internet ??

8. I'm looking for RH 6 iso cd image for Sparc ... where ?

9. automatic DNS server detction when connecting to the internet via dialup

10. DNS gateway problem in my local network using natd

11. Newbie: Networking, internet, DNS problems

12. local dns and internet access

13. PPP-dialup access over local network