On Sat, 6 Sep 2003 17:30:50 +0900
"Rommel B. Ikeda" <[EMAIL PROTECTED]> wrote:
> 
> ----- Original Message ----- 
> From: "horio shoichi" <[EMAIL PROTECTED]>
> To: "Rommel B. Ikeda" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, September 05, 2003 9:01 PM
> Subject: Re: host and hostname
> 
> 
> > On Fri, 5 Sep 2003 10:46:25 +0900
> > "Rommel B. Ikeda" <[EMAIL PROTECTED]> wrote:
> > > Thanks very much for the reply, my apologies for not replying so
> soon....
> > >
> > > Actually, I posted my question on "host and hostname", because, I have
> been
> > > trying to find out if my Internet Settings is correct or not...I am
> having
> > > problems with cvsup for a very long long time now...
> > >
> > > Actually, I did tried:
> > > # host freebsd.org
> > > Host not found, Try again
> > >
> > > I know that their is something wrong with our internet connection in our
> > > company...but, I do not think that the person in-charge of our Computer
> Room
> > > can help me...Unfortunately, Although we are an NGO, Nobody knows about
> > > FreeBSD yet in our Organization...
> > >
> > > Anyways, about my comments on "Can someone point me to some information
> > > about it aside from the man
> > > pages...", I do read the man pages, everytime, but on the time that I
> was
> > > reading about the "host and hostname", I was a little in a hurry and
> those
> > > technical terms just made my head ached so, I though maybe I would ask
> > > everybody, just for this time...My head was really full with the
> problems I
> > > have with cvsup...
> > >
> > > Thanks anyway...
> > >
> > > Rommel B. Ikeda
> > > OISCA-International
> > > http://www.oisca.org/
> >
> > Looks like you don't have /etc/resolv.conf file.
> >
> >
> > The content would be like this, assuming your site has no other name
> servers:
> >
> > domain oisca.org
> > nameserver 164.46.1.1
> > nameserver 211.10.162.68
> >
> >
> > BTW, the nameservers are taken from whois database for oisca.org.
> >
> >    NS1.FIRSTSERVER.NE.JP        164.46.1.1
> >    NS2.FIRSTSERVER.NE.JP        211.10.162.68
> >
> >
> > horio shoichi
> 
> Thank you very much for the reply and also for looking up our nameserver...I
> tried to find out  this numbers but I was told that our ISP dynamically
> provides us this numbers...So, if I will be using the nameserver that can be
> found in our Server Machine...when it disconnects...it will use a new
> nameserver dynamically provided by our ISP...That is what I was told...
> 
You are probably told about the nameservers given by DHCP reply packets.
O.k., they should work, too.

> I just received an Email from the Mailing List advicing me to create a
> /etc/resolv.conf...
> He was also kind enough to provide me our DNS...
> domain oisca.org
> nameserver 164.46.1.1
> nameserver 211.10.162.68
> 
> I created a /etc/resolv.conf with this one as what you have suggested
> When my system starts:
> The booting process halts for a few minutes saying
> "continuing vi sessions:"
> and then boots and starts gdm...
> after gdm starts, I can log in but I can use my built-in mouse...
> after logging in...it halts for a few minutes before I can use my built-in
> mouse...

I think I forgot to tell you adding, deleting, changing /etc/resolv.conf
don't need reinitializing anything other than the file itself so you
don't have to reboot...

> when i invoked this command:
> # host freebsd.org
> halts for a few minutes to read and then...
> #host not found, try again
> 
> Any suggestions on what happened...

Either you can't reach the nameservers or the servers refuse to answer.
The resolver (a library function that contacts name servers and maps
between domain names and ip addresses) thinks name services are unavailable.

Following tests are irrelevant to /etc/resolv.conf file, unless specifically
referenced.

1. servers really suck ?

   host freebsd.org 164.46.1.1
   host freebsd.org 211.10.162.68

   ask the servers directly. Worked for me, like:

        % host freebsd.org 164.46.1.1
        Using domain server 164.46.1.1:

        freebsd.org has address 216.136.204.21
        freebsd.org mail is handled (pri=10) by mx1.freebsd.org
        % host freebsd.org 211.10.162.68
        Using domain server 211.10.162.68:

        freebsd.org has address 216.136.204.21
        freebsd.org mail is handled (pri=10) by mx1.freebsd.org
        %

   Try them, and against the servers you are told.

   If they work as my example shows, then /etc/resolv.conf is wrong
   (not too sure, but the domain name may have to match the one from
   DHCP server).

2. talking to servers ?

   ping 164.46.1.1
   traceroute 164.46.1.1

   Two prime candidate reasons you have to come here are:

   o You don't have default route,
   o Firewall blocks direct outgoing,

   Anyway traceroute will tell you where you can get responces up to.


horio shoichi

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to