Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2001 19:25:03 -0700 (PDT)
From:      Tony <tony@idk.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to specifiy nameserver
Message-ID:  <200109020225.TAA02470@idk.com>
In-Reply-To: <20010901181228.B13165@hades.hell.gr> from "Giorgos Keramidas" at Sep 01, 2001 06:12:28 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> From: Tony <tony@idk.com>
> Subject: Re: how to specifiy nameserver
> Date: Fri, Aug 31, 2001 at 09:27:22PM -0700
> 
> > Yes it was meant to be DNS, my typing is not so good anymore. Sorry.
> > 
> > Why I asked, because:
> > 
> > 1) I was interested in how to do this, I could not find it in the FreeBsd
> > book or any other book I have.
> 
> Depends on what books you look at.  The authoritative reference about
> DNS has always been for me "DNS & Bind" by O' Reilly & Associates.
> 

You missed it, I said "any other book I have". Unlike some people who can
afford to run out and spend $50 (or whatever) or a book, read it, find all
the answers; I cannot do that.

> > 2) I found various references, including the file, but nothing about format
> > of the file that I could find.

I was not asking anything except where is the file format.

> 
> In FreeBSD you can always try 'man -k' when all else fails.  For the
> file in question (resolv.conf) this yields:
> 
>     % man -k resolve
>     dnsquery(1)              - query domain name servers using resolver
>     hesiod(3), hesiod_init(3), hesiod_resolve(3), ...
>     realpath(1)              - return resolved physical path
>     res_query(3), res_search(3), res_mkquery(3), ...
>     resolver(5)              - resolver configuration file
>     XtResolvePathname(3)     - search for a file using ...
> 
> It's a bit unfortunate that the resolv.conf manpage shows up as
> resolver(5), but knowning that you are looking for a 'file format' and
> that such manpages are in section 5, you'd probably have guessed.
> 
> > 3) I was also interested in what sort of impact moving the name server back
> > to the ISP may have.
> 

Right now I run my own name server locally, the only thing I use my ISP is
for incomming mail backup when my DSL line has problems.

None of the above 3 items needed any sort of reply, they to many people who
do not seem to understand what and why I was asking things, after all isn't
that what this list is abount.

And, the answer below if what my experiments would have shown and finding
out for oneselve is sometimes much better.

Tony




> Having a caching name server for your local network, which hosts the
> data for all the local network addresses, means that you won't send a
> query to your ISP's nameservers for each resolve request that a local
> machine does.  It also means that you have, well, caching.  If the
> local nameserver can answer a request because it was in the cache,
> you'll save some bandwidth.
> 
> Ciao,
> 
> -giorgos
> 
> 


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?200109020225.TAA02470>