Hi,

    I am running a DNS server on a local network. Here is the output
from nslookup :

[root@zaphod /root]# nslookup
Default Server:  localhost
Address:  127.0.0.1

> ls -d megadodo.umb
[localhost]
$ORIGIN megadodo.umb.
@                       1D IN SOA       zaphod ford (
                                        1998111801      ; serial
                                        8H              ; refresh
                                        2H              ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

                        1D IN NS        zaphod
                        1D IN TXT       "The Hitch-hikers Guide to the
Galaxy"
                        1D IN MX        10 zaphod
ftp                     1D IN CNAME     marvin
marvin                  1D IN MX        10 zaphod
                        1D IN HINFO     "Intel 586, 200MHz MMX" "Linux
2.0.36"
                        1D IN A         192.168.0.1
zaphod                  1D IN MX        10 zaphod
                        1D IN HINFO     "Intel 386, 33MHz" "Linux
2.0.30"
                        1D IN A         192.168.0.2
localhost               1D IN A         127.0.0.1
@                       1D IN SOA       zaphod ford (
                                        1998111801      ; serial
                                        8H              ; refresh
                                        2H              ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

>

'zaphod' is the host running the nameserver. If, however, I connect to
the internet via a dialup link and do 'nslookup' on 'marvin' I get :

pgmr$nslookup
*** Can't find server name for address 192.168.0.2: Non-existent
host/domain
Default Server:  ns01.ny.us.ibm.net
Address:  165.87.194.244

>

Why does it say this? I can ping, and telnet to 'zaphod' from marvin
even though the /etc/hosts file does not contain an entry for 'zaphod'
- which indicates to me that the address resolution is being done by
the nameserver.

Kenneth

--
There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to