First usage of BIND9

/dev/rob0 rob0 at gmx.co.uk
Sat Nov 24 18:44:16 UTC 2012


On Sat, Nov 24, 2012 at 12:09:47PM -0600, Lyle Giese wrote:
> On 11/24/12 11:39, Daniele Imbrogino wrote:
> >I'd like to use BIND9 in the simplest way possible: I just want
> >to install it and use it for name resolution of Internet hosts.
> >So, on Ubuntu 12.04, I run "sudo apt-get install bind9 bind9utils
> >bind9-doc" and then "dig @127.0.0.1 <http://127.0.0.1>
> >www.amazon.com <http://www.amazon.com>" (for example), but I

http:// ?? :)

> >ALWAYS obtain a SERVFAIL.
> >Why? Is it necessary a configuration for this minimal use, too?
> >
> >
> Yes, it's necessary to have a named.conf in the proper location and
> you have to start named.  Is named even running?

The SERVFAIL response does indeed indicate that named is running.

> See the ARM for a sample for a caching-only name server, which is
> what you are asking for.

Most "caching-only" servers are in fact "caching-mainly". You might 
want a zone "localhost", and empty-zones-enable. My blank named.conf 
example does work, but is probably too minimal for most needs.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:



More information about the bind-users mailing list