Bind9 - problem to create new zone

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Nov 4 22:04:46 UTC 2003


> Mr Mojo Risin' <mojo.risin at club-internet.freu> wrote:
> > Hi,
> 
> > I latest install Bind9 (chroot in /home/named/), It work perfectly to resol
> v
> > extern name (www.google.com for exemple), but it doesn't works when I want
> > resolve computer's name of my private domain (maison.micro)
> 
> > For, "ping www.google.fr" send me the right ip, but "ping morpheus" give
> > "ping: unknown host morpheus"
> 
> > Have I forgotten something, or do i made a mistake on my config files?
> 
> 
> > - I however have make the statement of zone in "named.conf"
> > (/etc/named.conf - chroot /home/named/etc/named.conf)
> 
> 
> > zone "100.168.192.in.addr.arpa" in {
> >       notify no;
> >       type master;
> >       file "/var/db.192.168.100";
> 
> 
> > - after, I made "maison.micro" file on /var (chroot "/home/named/var")
> 
> > @      IN    SOA bond.maison.micro. postmaster.bond.maison.micro.(
> >               2000101500 ; numéro de série
> >               14400 ; nouvel essai toutes les 4 heures
> >               28800 ; rafraichissement toutes les 8 heures
> >               604800 ; expiration dans 7 jours
> >               86400 ) ; temps de vie minimal 24 heures
> 
> > ; serveur de nom
> >           IN NS   bond.maison.micro.
> 
> > ;adresses IP des machines
> > localhost             IN A       127.0.0.1
> > bond                   IN A       192.168.100.10
> > morpheus            IN A       192.168.100.1
> > bob                     IN A       192.168.100.20
> > ;Alias
> > appollo          IN CNAME         morpheus
> > ftp                 IN CNAME         morpheus
> You need a statement :
> zone "maison.micro" in {
> 	file "var/maison.micro";
> 	type master;
> };
> 
> in your named.conf
> 
> You also probably need to ping "morpheus.maison.micro"
> 
> 
> > - To finish, I created "db.192.168.100" file always on "/var" (chroot
> > "/home/named/var"):
> 
> > @      IN    SOA bond.maison.micro. postmaster.bond.maison.micro.(
> >                     2000101500 ; numéro de série
> >                     14400 ; nouvel essai toutes les 4 heures
> >                     28800 ; rafraichissement totues les 8 heures
> >                     604800 ; expiration dans 7 jours
> >                     86400 ) ; temps de vie minimal 24 heures
> 
> > ; serveur de nom
> >           IN NS   bond.maison.micro.
> 
> > ; adresses IP inverses
> > 1          IN PTR    morpheus.maison.micro.
> > 10         IN PTR    bond.maison.micro.
> > 20         IN PTR    bob.maison.micro.
> 
> 
> > Thanx a lot  to those which will have had courage to read all this post! :)
> > and thanx a lot for your help
> 
> > Mr Mojo
> 
> Regards
> 
> 
> 
> -- 
> Peter Håkanson         
>         IPSec  Sverige      ( At Gothenburg Riverside )
>            Sorry about my e-mail address, but i'm trying to keep spam out,
> 	   remove "icke-reklam" if you feel for mailing me. Thanx.
> 
	Also you need to look at /etc/resolv.conf to ensure that it is
	using only your server(s) and that the search list is setup
	appropriately.
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list