Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How come named works so slow ?

0 views
Skip to first unread message

M.C. Wong

unread,
Feb 28, 1994, 6:35:34 AM2/28/94
to
Hi,
I am running FreeBSD-1.0.2, I want to use named instead of /etc/hosts for
names lookup. In /etc/netstart I have uncomment the line name_server=YES,
and in /etc/named.boot linked to /etc/named/named.boot, but when I boot up,
it hangs during loading of mountd, sendmail, tsapd (ISODE) for 2 to 3 minutes,
the same happen when I do telnet, rlogin, ftp, ping, arp, netstat etc.
I wonder have I done anything wrong ? I am conneted to my dept. LAN using
SLIP, and I got /etc/resolv.conf file. What basically I want to do is to
assign my own machine (slip33.lat.oz.au) as the DNS master for myself, and
I will also want to make use of other DNS server in my dept. LAN over slip.

These are my settings for various files :

## /etc/resolve.conf
domain lat.oz.au
nameserver 131.172.42.233 # this is my IP address

## /etc/named.boot (linked to /etc/namedb/named.boot)
sortlist 131.172.0.0
; sortlist 128.3.0.0

directory /etc/namedb

; type domain source host/file backup file

cache . root.cache
primary 131.172.42.233 localhost.rev

## /etc/namedb/localhost.rev
slip33.lat.oz.au. IN SOA slip33.lat.oz.au. root.slip33.lat.oz.au. (
1.4 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
3600 ) ; Minimum
slip33.lat.oz.au IN NS slip33.lat.oz.au.
slip33.lat.oz.au IN A 172.131.42.233

## /etc/namedb/root.cache
. IN NS SLIP33.LAT.OZ.AU.

; Prep the cache (hotwire the addresses). Order does not matter.
SLIP33.LAT.OZ.AU IN A 131.172.42.233

Have I done anything wrong in the initial setting of assigning my system
to be the DNS server for itself regardless other machines ? What need to be
changed to make named work faster ? What happen if I am to use the nameserver
in my dept. machine called latcs1.lat.oz.au ? Do I need to modify
/etc/resolv.conf ? I suppose I can add it as secondary server in my
named.boot file , can't I ?

Many thanks in advance, and email replies please.

- wo...@latcs1.lat.oz.au (M.C Wong)
--
- wo...@latcs1.lat.oz.au

Paul Sander

unread,
Feb 28, 1994, 5:00:22 PM2/28/94
to
In article <CLxMv...@latcs1.lat.oz.au>,

M.C. Wong <wo...@latcs1.lat.oz.au> wrote:
>Hi,
> I am running FreeBSD-1.0.2, I want to use named instead of /etc/hosts for
>names lookup. In /etc/netstart I have uncomment the line name_server=YES,
>and in /etc/named.boot linked to /etc/named/named.boot, but when I boot up,
>it hangs during loading of mountd, sendmail, tsapd (ISODE) for 2 to 3 minutes,
>the same happen when I do telnet, rlogin, ftp, ping, arp, netstat etc.
>I wonder have I done anything wrong ? I am conneted to my dept. LAN using
>SLIP, and I got /etc/resolv.conf file. What basically I want to do is to
>assign my own machine (slip33.lat.oz.au) as the DNS master for myself, and
>I will also want to make use of other DNS server in my dept. LAN over slip.

[ contents of DNS configuration files omitted ]

I assume that this site is not connected to the Internet. I had a similar
problem and tracked it down to not having configured DNS to correctly serve
the root domain. Perhaps someone out there can explain how to correctly
configure DNS to serve the root domain for isLANds. I'd sure like to know
how but all of my attempts to do so caused named to loop indefinitely when
looking up anything not in my local domain.

I finally solved the problem by getting an Internet feed and deferring to
one of the well-known root servers, but that may not be an option for you.
--
Paul M. Sander (408) 379-7000 | "You are in a maze of twisty little
HaL Computer Systems, Inc. | methods, all just a little different."
1315 Dell Avenue |
Campbell, CA 95008 USA |

Message has been deleted
0 new messages