How do i start named (for a caching only name server )?

How do i start named (for a caching only name server )?

Post by Patrick La » Tue, 04 Jan 2000 04:00:00



Hi all:

I am trying to setup a caching only name server from my COL 2.3 box
(with kernel 2.2.13)?  I have followed the DNS HOW-TO to a point that I
should start named from the command prompt.  According to the How-to,  I
oonly have to type:

/usr/sbin/ndc start

at the command prompt.  However, when I did that, I got

bash: /usr/sbin/ndc: No such file or directory

.  I tried to search the file ndc, and found that it actually does not
exist in the system!

Is this the way to start named?  Or is there any other ways?  If so,
what is it?

Thanks a bunch in advance.

Patrick.

 
 
 

How do i start named (for a caching only name server )?

Post by Rod Smi » Tue, 04 Jan 2000 04:00:00


[Posted and mailed]



Quote:> Hi all:

> I am trying to setup a caching only name server from my COL 2.3 box
> (with kernel 2.2.13)?  I have followed the DNS HOW-TO to a point that I
> should start named from the command prompt.  According to the How-to,  I
> oonly have to type:

> /usr/sbin/ndc start

On a Caldera system, try:

/etc/rc.d/init.d/named start

Then check the end of /var/log/messages for error messages; your first
time doing it, you'll probably find some.

If there's no /etc/rc.d/init.d/named file, you need to install the bind
package from your Caldera CD (on my system, it's bind-8.2.2p4-1.

--

http://members.bellatlantic.net/~smithrod
Author of books on Linux networking & WordPerfect for Linux

 
 
 

How do i start named (for a caching only name server )?

Post by Rodne » Tue, 04 Jan 2000 04:00:00


Check to see if you have the daemon exec /usr/sbin/named or maybe some
other places. Just search around. If not you prob. need to install bind
package. I think the v4x of bind package did not have ndc.

Note if you do have Bind 4xx it also uses different config file
/etc/named.boot not /etc/named.conf. At least this was true when I
switched to Bind 8xx a few years back.


> Hi all:

> I am trying to setup a caching only name server from my COL 2.3 box
> (with kernel 2.2.13)?  I have followed the DNS HOW-TO to a point that I
> should start named from the command prompt.  According to the How-to,  I
> oonly have to type:

> /usr/sbin/ndc start

> at the command prompt.  However, when I did that, I got

> bash: /usr/sbin/ndc: No such file or directory

> .  I tried to search the file ndc, and found that it actually does not
> exist in the system!

> Is this the way to start named?  Or is there any other ways?  If so,
> what is it?

> Thanks a bunch in advance.

> Patrick.

=========================================================================
=========================================================================
        Rodney Mosley
        Systems Administration
        1215 South Beach Blvd. Suite 407
        Anaheim, CA 92804

========================================================================
        Check out http://www.setfree.org It can change your life.
========================================================================

 
 
 

How do i start named (for a caching only name server )?

Post by Patrick La » Tue, 04 Jan 2000 04:00:00



> Hi all:

> I am trying to setup a caching only name server from my COL 2.3 box
> (with kernel 2.2.13)?  I have followed the DNS HOW-TO to a point that I
> should start named from the command prompt.  According to the How-to,  I
> oonly have to type:

> /usr/sbin/ndc start

> at the command prompt.  However, when I did that, I got

> bash: /usr/sbin/ndc: No such file or directory

> .  I tried to search the file ndc, and found that it actually does not
> exist in the system!

> Is this the way to start named?  Or is there any other ways?  If so,
> what is it?

> Thanks a bunch in advance.

> Patrick.

Thanks so very much for all the answers here.  You guys are just so
incredible helpful.  I have solved all the DNS problems in one day.  There
is no way to make it without this ng!!

Thanks so very much.

Patrick.

 
 
 

1. caching-only name server not caching.

        I have tried to set up a Solaris 2.3 machine to be a caching-only
Name Server.  Here is named.boot:

directory /etc/named

cache           .                       named.ca
primary         0.0.127.in-addr.arpa    named.local

The /etc/named/named.ca is from NIC.DDN.MIL.  The /etc/named/named.local
looks like:

                        1       ; Serial
                        36000   ; Refresh every 100 hours
                        3600    ; Retry after 1 hour
                        3600000 ; Expire after 1000 hours
                        36000 ) ; default ttl is 100 hours
        IN      NS      awesome.coronacorp.com.
1       IN      PTR     localhost.

/usr/sbin/in.named is running.  After several connections to far-away
hosts, I did a "kill -INT `cat /etc/named.pid`" and looked at
/var/tmp/named_dump.db.  There's nothing there but the root server
(and my host) information.  It appears that nothing is in fact getting
cached.  Can someone help me understand why nothing appears to be
cached?  Is there something else I need to do?  Thanks in advance to
all who reply.  Please send email to the address below.

Ric Steinberger
Software Engineer

"We figured it 17 different ways, and every way we figured it, somebody
 didn't like the way we figured it!"   Buddy Hackett
                                       It's a Mad Mad Mad Mad World

2. Any DNS Software for Linux?

3. Setting up a caching DNS server in Linux - can't find server name

4. via686a sensors support

5. Host name, primary name, domain name...?

6. adding new SCSI disk -- SRM options?

7. How to start named using user named (not root) and SRC?

8. I need help setting up XWindows that comes with Red Hat Linux 4.2

9. Which named ?...Solaris 2.5 in.named or Berkley named ?

10. Server Domain name & Host name

11. Name server's fine, but annot lookup host name with some program

12. Can I add multiple Domain.Names to one Name server.

13. named server cannot poll its own named service