NAMEDBG(8N) COMMAND REFERENCE NAMEDBG(8N)
NAME
namedbg - nameserver debugger
SYNOPSIS
/etc/namedbg [ -d ] [ -f hostname ] [ -a address ]
DESCRIPTION
Namedbg is a program for testing the nameserver(8n). The
debugger allows testing, inspecting or modifying the
hostname tables inside the nameserver. It communicates with
the nameserver over a Unix domain socket. Namedbg has two
operational modes, interactive and non-interactive. The
latter is initiated by specifying a command line argument to
namedbg . For interactive mode the following commands are
supported:
COMMANDS
help
Give short help list
quit
Leave the debugger.
dump
Print the nameserver's database with use counts. The B
flag means this entry will be broadcast to other hosts
which ask about it. The P flag means this entry is
permanent.
add host addr
Add a new host entry (see CAVEATS).
delete name
Delete the all entries for name.
find name
Find the entry a hostname.
OPTIONS
-d Dump the entire nameserver database.
-f hostname
Call upon the nameserver to find the address of
hostname.
-a address
Call upon the nameserver to find the host name
corresponding to address. The address is specified in
internet format, each byte converted to decimal and
separated by '.' (e.g. 6.128.0.3).
Printed 10/17/86 1
NAMEDBG(8N) COMMAND REFERENCE NAMEDBG(8N)
DIAGNOSTICS
Most command errors generate the simple error message:
syntax error. Type the command help for a list of commands.
RETURN VALUE
[NO_ERRS] Command completed without error.
[1] Some unrecoverable error.
CAVEATS
Changes to the hostname database are not permanent, change
/etc/hosts if the change is permanent.
SEE ALSO
nameserver(8n).
Printed 10/17/86 2
%%index%%
na:72,65;
sy:137,252;
de:389,1463;
op:1852,512;
di:2508,251;
rv:2759,180;
ca:2939,175;
se:3114,133;
%%index%%000000000133