Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 1999 08:40:32 +0200
From:      Gunnar Flygt <gunnar@pluto.sr.se>
To:        Rami Soudah <rsodah@index.com.jo>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: nslookup (it was ping delay)
Message-ID:  <19990628084032.A19008@sr.se>
In-Reply-To: <37766763.11EEBFBB@index.com.jo>; from Rami Soudah on Sun, Jun 27, 1999 at 11:03:16AM -0700
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990628084032.A19008>