[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

nslookup but no ping?



hello:

i am having trouble getting my "complete" network access set up. i have a os/2 warp server connected to
the internet, with a linux client. the files that are relevant (i think???) on the linux machine have the
settings listed below. as can be seen, i can do nslookup's but not ping (nor get mail, ftp, telnet, etc).

/etc/hosts
127.0.0.1	localhost
192.168.10.1	archeozoic.mydomain.org	archeozoic #nameserver

/etc/dhcpc/ntp.conf
/etc/dhcpc/ntp.confserver 192.168.10.1

/etc/dhcpc/resolv.conf
domain mydomain.org
nameserver 192.168.10.1

/etc/host.conf
order bind,hosts
multi on

/etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4="yes"
HOSTNAME="jackfork.mydomain.org"
NISDOMAIN="mydomain.org"
IPX="no"
IPXINTERNALNETNUM="0"
IPXINTERNALNODENUM="0"
IPXAUTOPRIMARY="on"
IPXAUTOFRAME="off"
GATEWAYDEV=""
GATEWAY="192.168.10.1"


if i do a nslookup on some arbitrary domain, say mit.edu, i get the following results:

nslookup mit.edu
Server:  archeozoic.mydomain.org
Address:  192.168.10.1

Non-authoritative answer:
Name:    mit.edu
Address:  18.72.0.100

on the other hand, if i try to ping the same domain, event though it figures out it's address, it will
not successfully return a reply:

ping mit.edu
PING mit.edu (18.72.0.100): 56 data bytes

--- mit.edu ping statistics ---
9 packets transmitted, 0 packets received, 100% packet loss

as way of example, i do the same thing for one of the machines on my local network (i don't have to put
the fully qualified host name for this to work!):

nslookup crystalmtn.mydomain.org
Server:  archeozoic.mydomain.org
Address:  192.168.10.1

Name:    crystalmtn.mydomain.org
Address:  192.168.10.2

ditto for a ping of the same machine (i don't have to put the fully qualified host name for this to
work!)

PING crystalmtn.mydomain.org (192.168.10.2): 56 data bytes
64 bytes from 192.168.10.2: icmp_seq=0 ttl=255 time=0.5 ms
64 bytes from 192.168.10.2: icmp_seq=1 ttl=255 time=0.5 ms
64 bytes from 192.168.10.2: icmp_seq=2 ttl=255 time=0.5 ms

--- crystalmtn.mydomain.org ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.5/0.5/0.5 ms

if i do a list records request to nslookup for my domain, i get the following:

nslookup -d mydomain.org
*** No address (A) records available for mydomain.org
;; res_mkquery(0, 1.10.168.192.in-addr.arpa, 1, 12)
------------
Got answer:
    HEADER:
	opcode = QUERY, id = 4097, rcode = NOERROR
	header flags:  response, auth. answer, want recursion, recursion avail.
	questions = 1,  answers = 1,  authority records = 1,  additional = 1

    QUESTIONS:
	1.10.168.192.in-addr.arpa, type = PTR, class = IN
    ANSWERS:
    ->  1.10.168.192.in-addr.arpa
	name = archeozoic.mydomain.org
	ttl = 7200 (2 hours)
    AUTHORITY RECORDS:
    ->  10.168.192.in-addr.arpa
	nameserver = ns-updates.mydomain.org
	ttl = 7200 (2 hours)
    ADDITIONAL RECORDS:
    ->  ns-updates.mydomain.org
	internet address = 192.168.10.1
	ttl = 7200 (2 hours)

------------
Server:  archeozoic.mydomain.org
Address:  192.168.10.1

;; res_mkquery(0, mydomain.org, 1, 1)
------------
Got answer:
    HEADER:
	opcode = QUERY, id = 4098, rcode = NOERROR
	header flags:  response, auth. answer, want recursion, recursion avail.
	questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
	mydomain.org, type = A, class = IN

------------
;; res_mkquery(0, mydomain.org.mydomain.org, 1, 1)
------------
Got answer:
    HEADER:
	opcode = QUERY, id = 4099, rcode = NXDOMAIN
	header flags:  response, auth. answer, want recursion, recursion avail.
	questions = 1,  answers = 0,  authority records = 1,  additional = 0

    QUESTIONS:
	mydomain.org.mydomain.org, type = A, class = IN
    AUTHORITY RECORDS:
    ->  mydomain.org
	ttl = 7200 (2 hours)
	origin = ns-updates.mydomain.org
	mail addr = ns-updates.mydomain.org
	serial = 55
	refresh = 7200 (2 hours)
	retry   = 300 (5 mins)
	expire  = 7200 (2 hours)
	minimum ttl = 7200 (2 hours)

------------

another example is:

nslookup

Default Server:  archeozoic.mydomain.org
Address:  192.168.10.1

ls -d mydomain.org
[archeozoic.mydomain.org]
 mydomain.org.                     NS    ns-udpates.mydomain.org          
 mydomain.org.                     KEY  
 crystalmtn                     HINFO 200Mhz MMX Pentium  Warp OS/2 4.0
 crystalmtn.mydomain.org.          SIG  
 crystalmtn.mydomain.org.          KEY  
 crystalmtn.mydomain.org.          SIG  
 crystalmtn.mydomain.org.          A     192.168.10.2
 jackfork.mydomain.org.            HINFO 166 Pentium  Red Hat Linux 5.1
 jackfork.mydomain.org.            TXT  "Location: In the Middle"
 jackfork.mydomain.org.            A     192.168.10.3
 localhost.mydomain.org.           A     127.0.0.1
 www.mydomain.org.                 CNAME ns-updates.mydomain.org
 archeozoic.mydomain.org.          CNAME ns-updates.mydomain.org
 ns-updates.mydomain.org.          HINFO 200Mhz MMX Pentium  Warp Server 5.0
 ns-updates.mydomain.org.          A     192.168.10.1
> *** Can't list domain mydomain.org: Unspecified error
> 

any ideas would be most appreciated. (pardon my long windedness: i new at this networking task; i am not
sure what would help elucidate the problem.

by the way, pinging from archeozoic (nameserver, machine with direct connect) has no problem.

regards,


allen at atoka
reply to > allen_at_atoka<linux NatoOka-sSoftPwaAre coMm>
after removing NOSPAM



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]