From owner-freebsd-questions Sun Jun 27 23:40:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dart.sr.se (dart.SR.SE [193.12.91.98]) by hub.freebsd.org (Postfix) with ESMTP id 9D21E15461 for ; Sun, 27 Jun 1999 23:40:43 -0700 (PDT) (envelope-from gunnar@pluto.sr.se) Received: from honken.sr.se ([134.25.128.27]) by dart.sr.se (8.9.3/8.9.3) with ESMTP id IAA06921; Mon, 28 Jun 1999 08:40:33 +0200 (MET DST) Received: from pluto.sr.se (pluto.SR.SE [134.25.193.91]) by honken.sr.se (8.7.5/8.7.3) with ESMTP id IAA10819; Mon, 28 Jun 1999 08:40:32 +0200 (MET DST) Received: (from gunnar@localhost) by pluto.sr.se (8.9.3/8.9.1) id IAA19035; Mon, 28 Jun 1999 08:40:32 +0200 (CEST) (envelope-from gunnar) Date: Mon, 28 Jun 1999 08:40:32 +0200 From: Gunnar Flygt To: Rami Soudah Cc: FreeBSD Questions Subject: Re: nslookup (it was ping delay) Message-ID: <19990628084032.A19008@sr.se> Reply-To: Gunnar Flygt References: <37754FB7.4BD6844@index.com.jo> <3774D8C4.FC3864C6@tdx.co.uk> <37755F32.2565824A@index.com.jo> <19990626180714.B12656@sr.se> <37766763.11EEBFBB@index.com.jo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <37766763.11EEBFBB@index.com.jo>; from Rami Soudah on Sun, Jun 27, 1999 at 11:03:16AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jun 27, 1999 at 11:03:16AM -0700, Rami Soudah wrote: > > > Gunnar Flygt wrote: > > > > Karl Pielorz wrote: > > > > > > > Rami Soudah wrote: > > > > > > > > > > Greetings, > > > > > > > > > > At my home network, i can ping the domain but i cant resolve it > > > > > I keep getting 'No response from server'? > > > > > What could be wrong? > > > > > > > > Your nameserver is not setup correctly, or not running... Do you list 'earth' > > > > in /etc/hosts at all? - are you sure earth.home.net has a nameserver behind > > > > it? What does /etc/resolv.conf say? (i.e. which nameserver is your machine > > > > pointing at?) > > > > > > > > > > /etc/resolv.conf nothing .. empty > > > > The you should fill it with something meaningful! :) > > > > domain my.domain > > nameserver 10.0.0.1 > > nameserver 10.0.0.2 > > > > or whatever your nameservers IP-address is. > > > > Greetings, > > its working now, i added the ips in /etc/resolv.conf > /etc/resolv.conf > domain home.net > nameserver 192.168.0.1 > > i can ping win and bsd box without troubles :) > at the moment, i am trying use bsd box (as Gateway) to connect to my > isp using dyn.ip and on the same time from win box through bsd. > ISP ---modem---bsd------------win98 > 192.168.0.1 192.168.0.2 > > > bash-2.02$ netstat -rn > Routing tables > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.0.1 UGSc 4 1342 ed1 > 127.0.0.1 127.0.0.1 UH 0 6 lo0 > 192.168 link#1 UC 0 0 ed1 > 192.168.0.1 0:c0:df:e6:7b:51 UHLW 3 22019 lo0 > 192.168.0.2 0:0:e8:61:2:39 UHLW 2 582 ed1 1195 > > /etc/hosts > 127.0.0.1 localhost localhost.home.net home.net > 192.168.0.2 metro metro.home.net > 192.168.0.1 earth earth.home.net > > /etc/ppp/ppp.conf > default: > set log Phase Chat LCP IPCP CCP tun command > set device /dev/cuaa0 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK > \\dATDT\\T TIMEOUT 40 > CONNECT" > > index: > set phone 5515123 > set login > set authname sodah > set authkey ram227 > set timeout 120 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR > enable dns > alias enable yes > > Always post to the list, since the persons answering you might be just ordinary users, as I am, who knows one specific item. If you then put more questions, do it to the list so you'll more likely get answers. > My Queustions: > 1. what shall i write inside /etc/resolv.conf additional to the local domain > to give me the ability to resolve my domain? > > 2. Is there something else should i care for it? > > 3. why i keep ;getting this msg > bash-2.02$ nslookup metro > *** Can't find server name for address 192.168.0.1: No response from server > *** Default servers are not available > bash-2.02$ nslookup earth > *** Can't find server name for address 192.168.0.1: No response from server > *** Default servers are not available > bash-2.02$ > > Thanks in advance. > -pons > -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message